joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460068
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x498be8]
cmp dword [eax + 0x30], 0
je 0x460112
cmp dword [ebx + 0x94], 0
jne 0x46010c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fff8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46010c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4600d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46010c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415880
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4600e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460c70
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x460ca5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047ac
jmp 0x460cb2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404710
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461e64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461ea5
mov eax, esi
call fcn.00447ebc
test al, al
je 0x461ea5
mov eax, dword [ebx + 0x84]
call fcn.00447bb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461ea5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447bb8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46aef8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46af00
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46b0f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46b108
mov eax, esi
call fcn.00468c88
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404710
lea ecx, [ebp - 0x10]
mov edx, 0x46b11c
mov eax, esi
call fcn.00468c88
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404710
lea ecx, [ebp - 0x14]
mov edx, 0x46b134
mov eax, esi
call fcn.00468c88
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404710
lea ecx, [ebp - 0x18]
mov edx, 0x46b150
mov eax, esi
call fcn.00468c88
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404710
lea ecx, [ebp - 0x1c]
mov edx, 0x46b16c
mov eax, esi
call fcn.00468c88
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404710
lea ecx, [ebp - 0x24]
mov edx, 0x46b184
mov eax, esi
call fcn.00468c88
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004088dc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408cd0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46b19c
mov eax, esi
call fcn.00468c88
mov eax, dword [ebp - 0x28]
call fcn.00467da0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46b1ac
mov eax, esi
call fcn.00468c88
mov eax, dword [ebp - 0x2c]
call fcn.00467da0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46b1c4
mov eax, esi
call fcn.00468c88
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408cd0
inc eax
je 0x46b095
lea ecx, [ebp - 0x34]
mov edx, 0x46b1c4
mov eax, esi
call fcn.00468c88
mov eax, dword [ebp - 0x34]
call fcn.00408c94
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a8a0
fstp qword [ebp - 0x3c]
wait
call fcn.0040acc0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46b0b0
lea ecx, [ebp - 0x40]
mov edx, 0x46b1c4
mov eax, esi
call fcn.00468c88
mov eax, dword [ebp - 0x40]
call fcn.00467da0
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46b1d4
mov eax, esi
call fcn.00468c88
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b0f9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004046e0
ret
Function at 0x477390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4773ea
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00477380
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004669b0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004665b0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4773f1
lea eax, [ebp - 4]
call fcn.004046bc
ret

Function at 0x47cc78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47cde9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47cdc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004048a4
lea eax, [ebp - 0x118]
mov edx, 0x47ce00
call fcn.00404984
mov eax, dword [ebp - 0x118]
call fcn.00404b7c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x47cd36
lea eax, [ebp - 0x111]
call fcn.0040986c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004047ac
jmp 0x47cd3d
mov eax, esi
call fcn.004046bc
cmp bl, 0x61
jae 0x47cd5e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d9c0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404710
jmp 0x47cd78
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d934
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404710
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x47ce0c
call fcn.00409f8c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cdcb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x482178
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x4821d6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00482254
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4821be
lea eax, [ebp - 4]
call fcn.00482254
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4821c0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4821dd
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x4821e4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x482248
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.00482254
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409a74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48224f
lea eax, [ebp - 4]
call fcn.004046bc
ret

Function at 0x482848
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x482941
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00481f14
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409670
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00483234
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409554
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004832a8
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482948
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e0
ret
Function at 0x482950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x482a59
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00481f14
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x482a1f
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409670
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00483234
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409554
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004832a8
jmp 0x482a31
xor edx, edx
mov eax, ebx
call fcn.00483234
xor edx, edx
mov eax, ebx
call fcn.004832a8
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482a60
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e0
ret

Function at 0x4893ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.004895e0
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.004895e0
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x489420
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x489445
inc esi
mov eax, edi
call fcn.00489404
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004893ac
inc ebx
dec esi
jne 0x48942f
pop edi
pop esi
pop ebx
ret
Function at 0x4894d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x489549
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0048944c
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.00489404
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004893ac
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x489514
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489550
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x48a10c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a2f0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x48a2ac
mov eax, dword [ebp - 4]
call fcn.0048ba68
cmp ebx, eax
jge 0x48a2ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004807ec
mov edx, dword [0x4822e8]
call fcn.00403a68
mov esi, eax
mov eax, esi
call fcn.004831c8
test al, al
je 0x48a2a2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x48a296
xor eax, eax
push ebp
push 0x48a28f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048a6c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041801c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404d08
mov eax, dword [ebp - 8]
call fcn.00404bd4
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048a488
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a2da
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x48a28e
mov eax, dword [ebp - 4]
call fcn.0048a748
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409a74
jmp 0x48a2da
mov eax, dword [ebp - 8]
call fcn.004046bc
jmp 0x48a2da
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00408f8c
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x412fa0]
call fcn.0040cb58
call fcn.0040404c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a2f7
lea eax, [ebp - 0x54]
call fcn.004046bc
ret
Function at 0x48f27c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x48f31f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43090c]
call fcn.004309bc
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x48f338
mov edx, 0x48f348
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
cmp dword [ebp - 8], 0
je 0x48f2f3
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404b7c
push eax
push 0x48f350
mov eax, esi
call fcn.00447bb8
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.004038ac
mov eax, dword [ebp - 4]
call fcn.00409420
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f326
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e0
ret

Function at 0x48f358
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
mov eax, dword [ebp - 8]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x48f3f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b7c
mov ebx, eax
push ebx
call sub.wininet.dll_DeleteUrlCacheEntry
mov eax, dword [ebp - 8]
call fcn.00404b7c
mov esi, eax
push esi
call sub.wininet.dll_DeleteUrlCacheEntry
mov eax, dword [0x498fe4]
test eax, eax
je 0x48f3b0
sub eax, 0xfffffff8
push eax
push 0
push esi
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
jne 0x48f3d4
mov eax, dword [ebp - 8]
call fcn.00409124
test al, al
je 0x48f3d0
mov bl, 1
jmp 0x48f3d6
xor ebx, ebx
jmp 0x48f3d6
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f3f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e0
ret

Function at 0x48f9b0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x48fa4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x2000000
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00404b7c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48fa37
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.0040abe8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fa54
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x48fc28
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x48fda1
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0047a990
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48fd74
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 8]
call fcn.0047a9b0
mov ebx, eax
jmp 0x48fd55
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.0040492c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004088dc
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408664
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.004088dc
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408664
mov edx, dword [ebp - 0x140]
pop eax
call fcn.00404ac8
jne 0x48fd45
mov esi, dword [ebp - 0x128]
call sub.kernel32.dll_GetCurrentProcess
mov edx, 0x48fdb0
call fcn.0048fbac
push esi
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 1
push edi
call sub.kernel32.dll_TerminateProcess
test eax, eax
jmp 0x48fd5d
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 8]
call fcn.0047a9d0
mov ebx, eax
test ebx, ebx
jne 0x48fca9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fd7b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x4088f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x491e7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00486ac8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408972
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004849a2
mov eax, dword [eax]
push 0x1c68c74
push eax
call fcn.00476b54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00486d53
test bl, bl
je 0x408972
push 0x1c68c74
lea ecx, [esp + 0xc]
call fcn.004870e3
push 0x1c68c80
lea ecx, [esp + 0xc]
call fcn.004870e3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4089ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00486d53
jmp 0x408a79
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x408a32
lea edx, [esp + 0x7c]
push 0x1c68c7c
push edx
call fcn.00476b54
add esp, 8
test eax, eax
je 0x408a32
lea eax, [esp + 0x7c]
push 0x1c68c78
push eax
call fcn.00476b54
add esp, 8
test eax, eax
je 0x408a32
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4089c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00486d53
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409280
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4092e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc