joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447c2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5117e4
cmp dword [edi], 0
jne 0x447ca8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5117e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x508a24
mov ecx, 2
call fcn.00402858
mov edx, 0x447c04
lea eax, [esi + 5]
call fcn.00447c24
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00447c24
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x447c7d
mov dword [0x5117e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x447dcc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447e1c]
test si, 4
je 0x447de0
or bl, 1
test si, 8
je 0x447dea
or bl, 4
test si, 1
je 0x447df4
or bl, 8
test si, 2
je 0x447dfe
or bl, 0x10
test si, 0x10
je 0x447e08
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447e17
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x447e20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447e58]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447e39
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447e48
or bl, 4
test esi, 0x20000000
je 0x447e53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44e544
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 0x44e6e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x410928]
call fcn.00402ec4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b74
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e6bf
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.0043e1ec
test al, al
je 0x44e6b2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x44e6f8
lea eax, [ebp - 0x254]
call fcn.0040a718
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e6b2
xor eax, eax
push ebp
push 0x44e6ab
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 0x44e730
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e694
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403da0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44e694
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403da0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e6b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e5b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004143e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e6f0
lea eax, [ebp - 0x260]
call fcn.00403b74
ret

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

Disassembly:
push ecx
mov eax, dword [0x5117b4]
cmp byte [eax + 0x8d], 0
jne 0x44ef45
cmp dword [0x5117f0], 0
jne 0x44ef06
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ee90
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5117f0], eax
cmp dword [0x5117ec], 0
jne 0x44ef21
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5117ec], eax
cmp dword [0x5117f4], 0
jne 0x44ef45
push esp
push 0
push 0
push 0x44ee34
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5117f4], eax
pop edx
ret
Function at 0x44f03c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44f053
add esp, 0xfffffff0
call fcn.00403220
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418c7c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x4104ac]
call fcn.00402ec4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4104ac]
call fcn.00402ec4
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x41aa78]
call fcn.004221d4
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x44f1c4
mov eax, dword [0x50fcb8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422578
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x450b00
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x50fcb8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040d7f4
test eax, eax
je 0x44f143
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409fc4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d81c
test eax, eax
je 0x44f157
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403da0
mov eax, dword [0x50faf4]
cmp byte [eax], 0
jne 0x44f188
mov eax, ebx
call fcn.0044f2b0
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f1ba
call fcn.00403278
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f50c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5117b4]
cmp dword [eax + 0x24], 0
je 0x44f59c
cmp dword [ebx + 0x7c], 0
jne 0x44f599
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f4a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x44f599
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 0x44f568
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f599
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00411ef4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f574
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44feec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44ff21
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c58
jmp 0x44ff2b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403c0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450e30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x450e68
mov eax, esi
call fcn.00439f2c
test al, al
je 0x450e68
mov eax, dword [ebx + 0x6c]
call fcn.00439b04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450e68
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00439b04
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452750
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4528b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c0c
mov eax, dword [ebp - 0x10]
call fcn.004523cc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4527a2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404034
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00452c94
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x452877
xor eax, eax
push ebp
push 0x452870
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00452534
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004528c8
test al, al
je 0x45284e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c58
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45284e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fb4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x452848
mov eax, dword [ebp - 0x14]
call fcn.00403fb4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d28
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00452750
dec ebx
cmp ebx, 0xffffffff
jne 0x452801
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452877
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00452534
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403fb4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00452520
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4528c0
lea eax, [ebp - 0x3c]
call fcn.00403b74
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403b98
ret
Function at 0x4528c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402bf4
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x5100dc]
cmp byte [edx + 8], 0
je 0x45292c
mov edx, dword [0x5100d0]
cmp dword [edx], 2
jne 0x45292c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x452b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x452bc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.004523e0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403fb4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x452bab
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x50fe08]
call fcn.004060f8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x45222c]
call fcn.0040cbc8
call fcn.004035cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452bc8
lea eax, [ebp - 0x10]
call fcn.00403b74
ret

Function at 0x452bd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x452c6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403fb4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x452c49
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x5100e8]
call fcn.004060f8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x45222c]
call fcn.0040cbc8
call fcn.004035cc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00452410
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452c76
lea eax, [ebp - 0x10]
call fcn.00403b74
ret

Function at 0x45cb20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45cb39
test al, 0x10
jne 0x45cb3d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x45d9c4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 1
jne 0x45d9ec
cmp dword [esp + 4], 4
jne 0x45d9ec
cmp dword [esp + 8], 0xa
je 0x45d9f0
xor eax, eax
jmp 0x45d9f2
mov al, 1
add esp, 0x94
ret

Function at 0x45da94
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x45dabc
cmp dword [esp + 4], 5
jne 0x45dabc
cmp dword [esp + 8], 1
jb 0x45dac0
xor eax, eax
jmp 0x45dac2
mov al, 1
add esp, 0x94
ret

Function at 0x45dacc
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x45daf4
cmp dword [esp + 4], 5
jb 0x45daf4
cmp dword [esp + 8], 1
jae 0x45daf8
xor eax, eax
jmp 0x45dafa
mov al, 1
add esp, 0x94
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
test ebx, ebx
jbe 0x45db6d
test dl, dl
je 0x45db67
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0xbf
call sub.kernel32.dll_GetTickCount
mov edx, esi
sub edx, eax
add edx, ebx
push edx
push 0xffffffffffffffff
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x45db41
sub eax, 0x101
je 0x45db6d
jmp 0x45db58
mov eax, dword [0x50febc]
mov eax, dword [eax]
call fcn.004501fc
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp ebx, eax
jbe 0x45db6d
mov eax, dword [0x50febc]
mov eax, dword [eax]
test byte [eax + 0x20], 8
je 0x45db17
jmp 0x45db6d
push ebx
call sub.kernel32.dll_Sleep
pop esi
pop ebx
ret
Function at 0x45e120
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
push 0x5118fc
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x45e240
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45e221
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0045e0fc
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x45e1fd
xor edi, edi
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
test ebx, ebx
jle 0x45e1ee
mov eax, dword [ebp + 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call dword [0x5118cc]
push eax
mov edx, ebx
mov eax, dword [ebp - 8]
call dword [0x5118cc]
push eax
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0xc]
add eax, edx
push eax
mov eax, dword [esi]
mov edx, edi
imul edx, dword [ebp - 8]
add eax, edx
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
sub ebx, dword [ebp - 8]
inc edi
test ebx, ebx
jg 0x45e1a0
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x10], 0
jg 0x45e195
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e228
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteDC
ret
Function at 0x463b48
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 0x463c20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x511928], 0
jne 0x463c04
lea eax, [ebp - 4]
mov edx, 0x463c38
call fcn.00403c0c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403fb4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x463c04
mov eax, ebx
call fcn.00402734
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x463bfd
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 0x463be7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x463c48
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x463be7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x511928], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c04
mov eax, dword [ebp - 0xc]
call fcn.0040274c
ret
mov ebx, dword [0x511928]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c27
lea eax, [ebp - 4]
call fcn.00403b74
ret

Function at 0x470abc
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x3c], 0
je 0x470acd
mov eax, ebx
call fcn.00470be4
cmp dword [ebx + 0x24], 0
je 0x470b92
test byte [ebx + 0x20], 0x10
jne 0x470b92
push 0
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov esi, eax
mov dword [ebx + 0x34], esi
test esi, esi
jne 0x470b0b
mov ecx, 0x470ba0
mov dl, 1
mov eax, dword [0x408380]
call fcn.0040cb8c
call fcn.004035cc
push 0xffffffffffffffff
mov eax, dword [ebx + 0x34]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, 0x118
call fcn.00402734
mov esi, eax
mov dword [ebx + 0x30], esi
mov eax, dword [ebx + 0x2c]
mov dword [esi], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x110], eax
mov al, byte [ebx + 0x38]
mov byte [esi + 0x114], al
mov eax, dword [ebx + 0x24]
call fcn.00403fb4
mov edx, eax
lea eax, [esi + 8]
call fcn.00409fc4
lea eax, [ebx + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x30]
push eax
push 0x4709fc
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x470b8b
mov ecx, 0x470bc4
mov dl, 1
mov eax, dword [0x408380]
call fcn.0040cb8c
call fcn.004035cc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
pop esi
pop ebx
ret
Function at 0x4717c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], 0x509094
xor edx, edx
push ebp
push 0x471844
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x47183a
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, dword [0x511974]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
jne 0x47182b
mov al, byte [ebp - 0xd]
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47185b
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x511970]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47184e
inc byte [ebp - 0xd]
add dword [ebp - 0x14], 4
cmp byte [ebp - 0xd], 0x1c
jne 0x4717df
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471868
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov eax, ebx
call fcn.00403b74
push esp
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4718a9
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4718a9
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00403da0
add esp, 0x10c
pop ebx
ret

Function at 0x471fa8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x472069
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push dword [ebx + 0x78]
push dword [ebx + 0x74]
push 0
lea eax, [ebp - 4]
mov ecx, 0x472080
mov edx, dword [ebx + 8]
call fcn.00403e3c
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov dx, word [ebx + 0x54]
mov eax, dword [ebx + 0x24]
call fcn.004450e4
mov esi, eax
mov dl, byte [ebx + 0x3c]
mov eax, esi
call fcn.00443094
mov dl, byte [ebx + 0x2c]
mov eax, esi
call fcn.0044311c
mov dl, byte [ebx + 0x2e]
mov eax, esi
call fcn.00443374
mov dl, byte [ebx + 0x2d]
mov eax, esi
call fcn.00443170
mov dl, byte [ebx + 0x31]
mov eax, esi
call fcn.004431e8
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x48], eax
mov dl, byte [ebx + 0x2f]
mov eax, esi
call fcn.0044384c
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov dl, byte [ebx + 0x30]
mov eax, esi
call fcn.0044328c
mov edx, dword [ebx + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebx + 0x34]
mov eax, esi
call fcn.004432a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472070
lea eax, [ebp - 4]
call fcn.00403b74
ret