joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490078
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x490150
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x561d0c], 0
jne 0x490134
lea eax, [ebp - 4]
mov edx, 0x490168
call fcn.00404678
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a90
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x490134
mov eax, ebx
call fcn.004027f0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49012d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x490117
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x490178
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x490117
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x561d0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490134
mov eax, dword [ebp - 0xc]
call fcn.00402810
ret
mov ebx, dword [0x561d0c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490157
lea eax, [ebp - 4]
call fcn.004045e0
ret

Function at 0x4a2a83
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x55efca
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a2adb
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x55efeb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a2ad1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4a2adf
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4bc854
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x5609ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jne 0x4bc883
push 0
push 0
call fcn.0045d530
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_OpenClipboard
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [esp]
call fcn.0041b3c0
mov dword [esp + 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [esp + 8]
inc eax
push eax
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
xor ebx, ebx
jmp 0x4bc8fc
mov edx, dword [esp + 8]
sub edx, ebx
mov eax, 0x8000
call fcn.004bc838
push eax
mov edx, edi
mov eax, ebx
call fcn.004bc840
mov edx, eax
mov eax, dword [esp + 4]
pop ecx
mov esi, dword [eax]
call dword [esi + 8]
mov esi, eax
movzx eax, si
add ebx, eax
push edi
call sub.kernel32.dll_GlobalUnlock
test si, si
je 0x4bc905
lea eax, [ebx + 1]
cmp eax, dword [esp + 8]
jl 0x4bc8c4
mov edx, edi
mov eax, ebx
call fcn.004bc840
mov byte [eax], 0
push edi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_EmptyClipboard
push edi
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov eax, dword [0x5609ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0xc]
je 0x4bc945
mov eax, dword [esp + 0xc]
call fcn.0045d544
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4bc94c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, edx
mov dword [esp], eax
mov eax, dword [0x5609ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x4bc97a
push 0
push 0
call fcn.0045d530
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_OpenClipboard
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov esi, dword [eax]
call dword [esi + 0x10]
push ebx
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
call sub.kernel32.dll_GlobalSize
mov esi, eax
xor ebx, ebx
jmp 0x4bc9e0
mov edx, esi
sub edx, ebx
dec edx
mov eax, 0x8000
call fcn.004bc838
push eax
mov edx, edi
mov eax, ebx
call fcn.004bc840
mov edx, eax
mov eax, dword [esp + 4]
pop ecx
mov ebp, dword [eax]
call dword [ebp + 0xc]
mov edx, esi
sub edx, ebx
dec edx
mov eax, 0x8000
call fcn.004bc838
add ebx, eax
push edi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebx + 1]
cmp esi, eax
jg 0x4bc9a4
call sub.user32.dll_CloseClipboard
mov eax, dword [0x5609ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 4]
je 0x4bca05
mov eax, dword [esp + 4]
call fcn.0045d544
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c872c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x196], 0
jne 0x4c8824
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4c8824
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x190]
test ebx, ebx
je 0x4c876c
cmp byte [ebx + 0x61], 0
jne 0x4c8824
mov eax, dword [ebp - 4]
cmp byte [eax + 0x178], 0
jne 0x4c878d
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b8], 2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
xor edx, edx
push ebp
push 0x4c881d
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0x14
jge 0x4c87b4
cmp ebx, eax
jle 0x4c87a2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x168], 0
jne 0x4c87cc
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.004039d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8824
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x168], 0
jne 0x4c87fc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4c881c
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x178]
xor dl, 1
mov eax, dword [ebp - 4]
call fcn.004c8960
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.004039d0
ret
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4d1c50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4d1ca1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4d1c88
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4d1c78
jmp 0x4d1ca1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4d1c89
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4df160
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00419194
mov esi, eax
xor eax, eax
push ebp
push 0x4df1da
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x4df1be
mov edx, ebx
mov eax, esi
call fcn.00418dcc
test byte [eax + 0x48], 1
je 0x4df1b8
push 0
mov edx, ebx
mov eax, esi
call fcn.00418dcc
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.00418cbc
dec ebx
cmp ebx, 0xffffffff
jne 0x4df18c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df1e1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.004191f8
ret
Function at 0x4e2440
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4e246e
mov eax, ebx
call fcn.004e2ef8
cmp dword [ebx + 0x3c], 0
je 0x4e2467
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4e24df
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4e24d1
cmp dword [ebx + 8], 0
je 0x4e2490
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4e24a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e24d1
cmp dword [ebx + 8], 0
je 0x4e2483
cmp eax, 3
je 0x4e24b5
dec eax
jne 0x4e2483
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e2483
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4e2483
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4e24fd
cmp dword [ebx + 0x10], 0xcc
je 0x4e24fd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e2508
pop ebx
ret

Function at 0x515cb8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x515cfc
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.004097b0
add esp, 0x200
pop ebx
ret
Function at 0x533ca8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x533d47
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x533d5c
call fcn.00404678
mov eax, dword [0x560cb8]
mov edx, 0x533dc4
call fcn.00404634
mov eax, dword [0x560cb8]
add eax, 4
mov edx, 0x533dd4
call fcn.00404634
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0055b0ec
test al, al
je 0x533d31
mov edx, dword [0x5607cc]
mov edx, dword [edx]
mov eax, dword [ebx + 0x33c]
call fcn.004461f8
mov edx, dword [0x5607cc]
mov edx, dword [edx + 4]
mov eax, dword [ebx + 0x34c]
call fcn.004461f8
mov eax, dword [ebx + 0x300]
mov edx, dword [eax]
call dword [edx + 0xc0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533d4e
lea eax, [ebp - 4]
call fcn.004045e0
ret
Function at 0x53ee0c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x53eeab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x53eec0
call fcn.00404678
mov eax, dword [0x560cb8]
mov edx, 0x53ef28
call fcn.00404634
mov eax, dword [0x560cb8]
add eax, 4
mov edx, 0x53ef38
call fcn.00404634
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0055b0ec
test al, al
je 0x53ee95
mov edx, dword [0x5607cc]
mov edx, dword [edx]
mov eax, dword [ebx + 0x314]
call fcn.004461f8
mov edx, dword [0x5607cc]
mov edx, dword [edx + 4]
mov eax, dword [ebx + 0x318]
call fcn.004461f8
mov eax, dword [ebx + 0x31c]
mov edx, dword [eax]
call dword [edx + 0xc0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53eeb2
lea eax, [ebp - 4]
call fcn.004045e0
ret
Function at 0x55416c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x554284
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x314]
mov eax, dword [eax + 0x228]
dec eax
je 0x554199
dec eax
je 0x5541fd
jmp 0x55426e
lea eax, [ebp - 4]
mov edx, 0x554298
call fcn.00404678
mov eax, dword [0x560cb8]
mov edx, 0x5542f0
call fcn.00404634
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0055b0ec
test al, al
je 0x55426e
mov edx, dword [0x5607cc]
mov edx, dword [edx]
push edx
mov eax, dword [ebx + 0x314]
mov ecx, dword [eax + 0x22c]
mov edx, dword [eax + 0x228]
call fcn.004bc73c
mov eax, dword [ebx + 0x314]
mov edx, dword [eax + 0x228]
inc edx
call fcn.004ba180
jmp 0x55426e
lea eax, [ebp - 4]
mov edx, 0x554300
call fcn.00404678
mov eax, dword [0x560cb8]
mov edx, 0x554520
call fcn.00404634
mov eax, dword [0x560cb8]
add eax, 4
mov edx, 0x554530
call fcn.00404634
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0055b0ec
test al, al
je 0x55426e
mov edx, dword [0x5607cc]
mov edx, dword [edx + 4]
push edx
mov eax, dword [ebx + 0x314]
mov ecx, dword [eax + 0x22c]
mov edx, dword [eax + 0x228]
call fcn.004bc73c
mov eax, dword [ebx + 0x314]
mov edx, dword [eax + 0x228]
inc edx
call fcn.004ba180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55428b
lea eax, [ebp - 4]
call fcn.004045e0
ret
Function at 0x55a6e4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x55a939
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x560c9c]
mov eax, dword [eax]
xor edx, edx
call fcn.00463e74
mov eax, dword [eax + 8]
mov edx, 0x55a950
call fcn.004049dc
jne 0x55a72c
mov eax, 0x55a964
call fcn.0055b3bc
jmp 0x55a916
push 0x55a984
mov eax, dword [0x560c9c]
mov eax, dword [eax]
xor edx, edx
call fcn.00463e74
lea edx, [ebp - 0xc]
call fcn.004461c8
push dword [ebp - 0xc]
push 0x55a990
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404958
mov eax, dword [ebp - 8]
call fcn.0055b44c
test al, al
je 0x55a916
lea eax, [ebp - 4]
mov edx, 0x55a9b4
call fcn.00404678
mov eax, dword [0x560a18]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00480ef0
mov eax, dword [ebx + 0x248]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x55a9f8
mov eax, ebx
call fcn.004b22f8
mov edx, dword [esi + 0x3d0]
call fcn.004802fc
mov eax, dword [0x560c9c]
mov eax, dword [eax]
xor edx, edx
call fcn.00463e74
mov eax, dword [eax + 8]
push eax
mov edx, 0x55aa04
mov eax, ebx
call fcn.004b22f8
pop edx
call fcn.004802fc
mov eax, ebx
call fcn.00480ee4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x55a7f7
mov eax, 0x55aa14
call fcn.0055b3bc
jmp 0x55a916
mov edx, 0x55aa44
mov eax, ebx
call fcn.00481ef8
mov edx, dword [eax]
call dword [edx + 0x58]
mov edi, eax
xor eax, eax
push ebp
push 0x55a8f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x560a18]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004aaa64
lea eax, [ebp - 4]
mov edx, 0x55aa50
call fcn.00404678
mov eax, dword [0x560a18]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, dword [ebx + 0x248]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x55a9f8
mov eax, ebx
call fcn.004b22f8
mov edx, dword [esi + 0x3d0]
call fcn.004802fc
mov edx, 0x55aa44
mov eax, ebx
call fcn.004b22f8
mov edx, edi
call fcn.004801cc
mov eax, ebx
call fcn.004b23f8
lea eax, [ebp - 4]
mov edx, 0x55aa88
call fcn.00404678
mov eax, dword [0x560a18]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, dword [ebx + 0x248]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x55a9f8
mov eax, ebx
call fcn.004b22f8
mov edx, dword [esi + 0x3d0]
call fcn.004802fc
mov edx, 0x55aa44
mov eax, ebx
call fcn.004b22f8
mov edx, edi
call fcn.004801cc
mov eax, ebx
call fcn.004b23f8
mov eax, dword [0x560a18]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.004a9c34
mov eax, esi
call fcn.00557898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55a916
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a940
lea eax, [ebp - 0xc]
call fcn.004045e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404604
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418008]
jne 0x40100a
repz ret
jmp fcn.0040191a

Function at 0x404dba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403307
and dword [ebp - 4], 0
cmp dword [0x419e50], 0
mov ebx, eax
jne 0x404e6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404f1c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404f1c
push eax
call fcn.00403295
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x419e50], eax
call esi
push eax
call fcn.00403295
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x419e54], eax
call esi
push eax
call fcn.00403295
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x419e58], eax
call esi
push eax
call fcn.00403295
pop ecx
mov dword [0x419e60], eax
test eax, eax
je 0x404e6b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403295
pop ecx
mov dword [0x419e5c], eax
mov eax, dword [0x419e5c]
cmp eax, ebx
je 0x404ec3
cmp dword [0x419e60], ebx
je 0x404ec3
push eax
call fcn.00403310
push dword [0x419e60]
mov esi, eax
call fcn.00403310
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404ec3
test edi, edi
je 0x404ec3
call esi
test eax, eax
je 0x404eba
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404eba
test byte [ebp - 0xc], 1
jne 0x404ec3
or dword [ebp + 0x10], 0x200000
jmp 0x404efc
mov eax, dword [0x419e54]
cmp eax, ebx
je 0x404efc
push eax
call fcn.00403310
pop ecx
test eax, eax
je 0x404efc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404efc
mov eax, dword [0x419e58]
cmp eax, ebx
je 0x404efc
push eax
call fcn.00403310
pop ecx
test eax, eax
je 0x404efc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419e50]
call fcn.00403310
pop ecx
test eax, eax
je 0x404f1c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404f1e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x415380
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x418008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x50fa3c]
push ebx
push esi
mov esi, dword [0x50f884]
mov ebx, eax
cmp eax, 0x5dd
jne 0x4153ba
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x418c50]
call fcn.00415290
cmp dword [0x50fa3c], 0x2f
jne 0x4153d5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.004152d0
add esp, 4
cmp dword [0x50fa3c], 0x568
pop esi
pop ebx
jne 0x415403
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x407be0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x488b1b
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.0047b6fa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407c62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00478fa3
mov eax, dword [eax]
push 0x4a9ca4
push eax
call fcn.0046b6b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047b985
test bl, bl
je 0x407c62
push 0x4a9ca4
lea ecx, [esp + 0xc]
call fcn.0047bd61
push 0x4a9cb0
lea ecx, [esp + 0xc]
call fcn.0047bd61
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 0x407c9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047b985
jmp 0x407d69
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 0x407d22
lea edx, [esp + 0x7c]
push 0x4a9cac
push edx
call fcn.0046b6b4
add esp, 8
test eax, eax
je 0x407d22
lea eax, [esp + 0x7c]
push 0x4a9ca8
push eax
call fcn.0046b6b4
add esp, 8
test eax, eax
je 0x407d22
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 0x407cb2
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.0047b985
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 0x408560
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 0x4085c2
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
Function at 0x4085d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x488b9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b4260]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x408708
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408636
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047b985
xor eax, eax
jmp 0x40877f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047bb0e
push esi
lea ecx, [esp + 0xc]
call fcn.0047bd9d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a9ce4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40875d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00408560
test eax, eax
jne 0x40875d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00408560
test eax, eax
jne 0x40875d
lea eax, [esp + 0x14]
push 0x4a9cc0
push eax
call fcn.0046c7d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40873c
lea ecx, [esp + 0x14]
push 0x4a9cbc
push ecx
call fcn.0046c750
mov esi, eax
add esp, 8
test esi, esi
jne 0x40873c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40873f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047babe
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40864e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047b985
xor eax, eax
jmp 0x40877f
mov byte [esi], 0
push 0x4a9cb8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047b985
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4