joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443a54
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4794b8]
cmp byte [eax + 0xc], 0
je 0x443bc1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443bba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47ab98], 0
jne 0x443aa8
push 0x443bc8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443bd0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab98], eax
cmp dword [0x478bf4], 0
jne 0x443ba3
push 0x443be0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x478bf4], eax
cmp dword [0x478bf4], 0
je 0x443ba3
push 0x443bec
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47ab9c], eax
push 0x443bfc
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba0], eax
push 0x443c10
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba4], eax
push 0x443c28
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47aba8], eax
push 0x443c40
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abac], eax
push 0x443c54
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb0], eax
push 0x443c6c
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb4], eax
push 0x443c84
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abb8], eax
push 0x443ca0
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abbc], eax
push 0x443cac
mov eax, dword [0x478bf4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47abc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443bc1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447c48
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403e64
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447c97
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f3f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f440]
test si, 4
je 0x44f404
or bl, 1
test si, 8
je 0x44f40e
or bl, 4
test si, 1
je 0x44f418
or bl, 8
test si, 2
je 0x44f422
or bl, 0x10
test si, 0x10
je 0x44f42c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f43b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f444
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f47c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f45d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f46c
or bl, 4
test esi, 0x20000000
je 0x44f477
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455b24
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455b36
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004199c8
mov eax, dword [0x479140]
mov dword [eax + 4], ebx
mov dword [eax], 0x455ec8
mov eax, dword [0x47914c]
mov dword [eax + 4], ebx
mov dword [eax], 0x455ed4
mov eax, ebx
call fcn.00455ee0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4522fc
push eax
push 0
push 0
mov eax, dword [0x4792a8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b44c]
call fcn.0041cbc0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b44c]
call fcn.0041cbc0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b44c]
call fcn.0041cbc0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456300
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4561dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4561dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4561dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455c73
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455fc0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45616b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45614c
mov dl, 1
mov eax, dword [0x412014]
call fcn.004030e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45613b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00443db4
test al, al
je 0x45612e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45617c
lea eax, [ebp - 0x254]
call fcn.00408b08
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45612e
xor eax, eax
push ebp
push 0x456127
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4561b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456110
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x456110
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45612e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456031
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415b64
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456172
lea eax, [ebp - 0x260]
call fcn.00403e64
ret

Function at 0x456aa0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47abe4]
cmp byte [eax + 0xa5], 0
jne 0x456b11
cmp dword [0x47abfc], 0
jne 0x456ad2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456a5c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47abfc], eax
cmp dword [0x47abf8], 0
jne 0x456aed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47abf8], eax
cmp dword [0x47ac00], 0
jne 0x456b11
push esp
push 0
push 0
push 0x456a00
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47ac00], eax
pop edx
ret
Function at 0x456c08
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456c1f
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004199c8
mov eax, dword [0x47928c]
cmp word [eax + 2], 0
jne 0x456c47
mov eax, dword [0x47928c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004582e0
mov eax, dword [0x479350]
cmp word [eax + 2], 0
jne 0x456c61
mov eax, dword [0x479350]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004584d8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411bf8]
call fcn.004030e4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bf2c]
call fcn.004236fc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456de8
mov eax, dword [0x4791a8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423acc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458a78
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4791a8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c1d8
test eax, eax
je 0x456d56
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004084e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c200
test eax, eax
je 0x456d6a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040d4
mov eax, dword [0x479084]
cmp byte [eax], 0
jne 0x456d9e
mov eax, ebx
call fcn.00456f10
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00458c54
mov eax, ebx
call fcn.00459618
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456dde
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457190
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47abe4]
cmp dword [eax + 0x30], 0
je 0x45723a
cmp dword [ebx + 0x94], 0
jne 0x457234
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457120
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457234
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 0x4571fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457234
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.00413f60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457209
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457d9c
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 0x457dd1
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.00403f54
jmp 0x457dde
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458e30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458e71
mov eax, esi
call fcn.0043f358
test al, al
je 0x458e71
mov eax, dword [ebx + 0x84]
call fcn.0043f054
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458e71
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f054
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45bcf4
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45be15
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4793ac]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4793ac]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45be2c
call fcn.00408b88
mov eax, dword [ebp - 4]
call fcn.00470b78
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4791b0]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x479380]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x45be48
call fcn.00408b88
mov eax, dword [ebp - 0x10]
call fcn.00470b78
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x45ba1c
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45be68
call fcn.00408b88
mov eax, dword [ebp - 0x24]
call fcn.00470b78
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45be80
call fcn.00408b88
mov eax, dword [ebp - 0x28]
call fcn.00470b78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45be1c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403e88
lea eax, [ebp - 0x10]
call fcn.00403e64
lea eax, [ebp - 4]
call fcn.00403e64
ret

Function at 0x462d14
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x462d62
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x140], 0
je 0x462d62
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x140]
mov eax, dword [eax + 0x14]
jmp 0x462d72
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x13c]
test edx, edx
je 0x462d72
mov eax, dword [edx + 0x14]
test eax, eax
je 0x462d8b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0046070c
jmp 0x462dce
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.0041dd5c
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.0041d558
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xa8]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.0041d280
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.0041daa8
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.0041d280
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x467c08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0044f480
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.00467ab4
mov esi, eax
test esi, esi
je 0x467c55
mov al, byte [0x467c68]
cmp al, bl
jne 0x467c55
mov edx, esi
mov eax, ebp
call fcn.00467a5c
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x467c5d
mov edx, edi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46acf8
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408698
add esp, 0x3ec
pop ebx
ret

Function at 0x46c0d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
call fcn.0044a5b4
mov edi, eax
dec edi
test edi, edi
jl 0x46c18b
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044a5c4
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x46c122
je 0x46c143
dec eax
je 0x46c164
jmp 0x46c183
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044a5c4
cmp byte [ebx + 0x164], 0
setne dl
call fcn.0044a4e0
jmp 0x46c183
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044a5c4
cmp byte [ebx + 0x164], 1
setne dl
call fcn.0044a4e0
jmp 0x46c183
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0044a5c4
cmp byte [ebx + 0x164], 2
setne dl
call fcn.0044a4e0
inc esi
dec edi
jne 0x46c103
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x46c1b0
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46c211
jmp 0x46c1b4
pop edx
pop eax
jge 0x46c211
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x50], 2
je 0x46c1ed
cmp byte [ebx + 0x161], 2
je 0x46c1ed
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x46c236
push 0
mov eax, dword [ebx + 0x12c]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x104]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x46c236
cmp dword [ebx + 0x11c], 0
je 0x46c236
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00429b88
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x475484
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4755f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x88], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4755da
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408698
mov dl, 1
mov eax, dword [0x45a034]
call fcn.0045a08c
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov dl, 1
mov eax, dword [0x412304]
call fcn.004030e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0045a108
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4755d7
mov dl, 1
mov eax, dword [0x45aad4]
call fcn.0045ab3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, 0x47560c
call fcn.0045a454
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404170
xor eax, eax
push ebp
push 0x4755d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0045ae3c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00475614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4755d7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.00403114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00403114
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4755fc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403e88
ret
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401078
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40106a
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40107d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40107d
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4025b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4096dc
push 0x402c48
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x2000000
call fcn.00404810
pop ecx
mov dword [0x40b508], eax
call fcn.00402ee0
test eax, eax
jne 0x4025f7
push 1
call fcn.00402fd0
pop ecx
call fcn.00402fe0
test eax, eax
jne 0x402608
push 1
call fcn.00402fd0
pop ecx
mov dword [ebp - 4], 0
call fcn.00403230
call fcn.004032a0
call fcn.004032f0
call fcn.00403710
call fcn.004037b0
mov ebx, 0x40ab30
jmp 0x402634
call dword [ebx]
add ebx, 4
cmp ebx, 0x40ab30
jb 0x40262f
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
call fcn.00403870
test byte [ebp - 0x34], 1
je 0x402668
movzx edx, word [ebp - 0x30]
jmp 0x40266d
mov edx, 0xa
push edx
push eax
push 0
push ebx
call fcn.00402130
mov ebx, eax
mov esi, 0x40ab30
jmp 0x402685
call dword [esi]
add esi, 4
cmp esi, 0x40ab30
jb 0x402680
push ebx
call fcn.004038b0
pop ecx
jmp 0x4026be
or dword [ebp - 4], 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x403710
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x403742
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00403580
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00404f30
pop ecx
mov esi, eax
test esi, esi
jne 0x403775
push 1
call fcn.00402fd0
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00403580
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x40b4f0], eax
mov dword [0x40b4f4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret