joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4512dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x451328
mov eax, esi
call fcn.00467d30
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x451328
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x451328
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x451467
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x451368
cmp eax, 0x108
ja 0x451368
mov eax, esi
call fcn.00467d30
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45145e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x451467
jmp 0x45145e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x451447
cmp eax, 0x20a
ja 0x451447
test byte [esi + 0x50], 0x80
jne 0x45139a
sub eax, 0x203
je 0x451397
sub eax, 3
je 0x451397
sub eax, 3
jne 0x45139a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4513ae
dec eax
je 0x4513c3
dec eax
je 0x4513e0
dec eax
je 0x4513c3
jmp 0x4513e7
mov ecx, ebx
mov eax, dword [0x57ebe0]
mov eax, dword [eax]
mov edx, esi
call fcn.00471b14
jmp 0x45145e
cmp byte [esi + 0x5d], 1
jne 0x4513d9
mov eax, esi
mov si, 0xffed
call fcn.004040a8
jmp 0x451467
or word [esi + 0x54], 1
jmp 0x45145e
and word [esi + 0x54], 0xfffe
jmp 0x45145e
mov eax, dword [0x57fb44]
cmp byte [eax + 0x20], 0
je 0x45145e
mov eax, dword [0x57fb44]
cmp dword [eax + 0x1c], 0
je 0x45145e
mov eax, dword [ebx]
mov edx, dword [0x57fb44]
cmp eax, dword [edx + 0x1c]
jne 0x45145e
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00467c74
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004040a8
jmp 0x451467
cmp eax, 0xb00b
jne 0x45145e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044fbe4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454a34
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x454a50
cmp dword [esi + 4], 0
je 0x454a7d
test byte [ebx + 0x55], 1
jne 0x454a6f
mov eax, ebx
call fcn.00453574
test eax, eax
jne 0x454a6f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x454b8d
mov edx, esi
mov eax, ebx
call fcn.004544f8
jmp 0x454b8d
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x454b86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00451210
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00454a34
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454b8d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b2c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x57ee64]
cmp byte [eax + 0xc], 0
je 0x45b431
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b42a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.0057fb98], 0
jne 0x45b318
push 0x45b438
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov ebx, eax
push 0x45b440
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [fcn.0057fb98], eax
cmp dword [0x57a030], 0
jne 0x45b413
push 0x45b450
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x57a030], eax
cmp dword [0x57a030], 0
je 0x45b413
push 0x45b45c
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fb9c], eax
push 0x45b46c
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fba0], eax
push 0x45b480
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fba4], eax
push 0x45b498
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fba8], eax
push 0x45b4b0
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fbac], eax
push 0x45b4c4
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fbb0], eax
push 0x45b4dc
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fbb4], eax
push 0x45b4f4
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fbb8], eax
push 0x45b510
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [fcn.0057fbbc], eax
push 0x45b51c
mov eax, dword [0x57a030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x57fbc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b431
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45f830
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.00404cb0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45f87f
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.00404f20
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x467be4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x467c34]
test si, 4
je 0x467bf8
or bl, 1
test si, 8
je 0x467c02
or bl, 4
test si, 1
je 0x467c0c
or bl, 8
test si, 2
je 0x467c16
or bl, 0x10
test si, 0x10
je 0x467c20
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x467c2f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x467c38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x467c70]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x467c51
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x467c60
or bl, 4
test esi, 0x20000000
je 0x467c6b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46e654
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46e666
add esp, 0xfffffff0
call fcn.004041d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042331c
mov eax, dword [0x57e8e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x46e9f8
mov eax, dword [0x57e8f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ea04
mov eax, ebx
call fcn.0046ea10
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a080]
call fcn.00403e70
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a080]
call fcn.00403e70
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a080]
call fcn.00403e70
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a080]
call fcn.00403e70
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a080]
call fcn.00403e70
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, 0x46ae28
push eax
push 0
push 0
mov eax, dword [0x57eaf8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424de0]
call fcn.004265e8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424de0]
call fcn.004265e8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424de0]
call fcn.004265e8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046ef5c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46eddc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46eddc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46eddc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46e7a3
call fcn.00404230
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46ebc0
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 0x46ed6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46ed4c
mov dl, 1
mov eax, dword [0x41a628]
call fcn.00403e70
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404cb0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46ed3b
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.0045b624
test al, al
je 0x46ed2e
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, 0x46ed7c
lea eax, [ebp - 0x254]
call fcn.0040abf8
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA_1
test eax, eax
jne 0x46ed2e
xor eax, eax
push ebp
push 0x46ed27
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 0x46edb4
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA_1
test eax, eax
jne 0x46ed10
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f20
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 0x46ed10
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ed2e
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46ec31
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041edbc
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 0x46ed72
lea eax, [ebp - 0x260]
call fcn.00404cb0
ret

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

Disassembly:
push ecx
mov eax, dword [0x57fbe4]
cmp byte [eax + 0xa5], 0
jne 0x46f76d
cmp dword [0x57fbfc], 0
jne 0x46f72e
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46f6b8
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x57fbfc], eax
cmp dword [0x57fbf8], 0
jne 0x46f749
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x57fbf8], eax
cmp dword [0x57fc00], 0
jne 0x46f76d
push esp
push 0
push 0
push 0x46f65c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x57fc00], eax
pop edx
ret
Function at 0x46fe30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x57fbe4]
cmp dword [eax + 0x30], 0
je 0x46feda
cmp dword [ebx + 0x94], 0
jne 0x46fed4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46fdc0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46fed4
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 0x46fe9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46fed4
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.0041c6fc
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46fea9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x470a50
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 0x470a85
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.00404da0
jmp 0x470a92
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d04
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x471c5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x471c9d
mov eax, esi
call fcn.00456ba8
test al, al
je 0x471c9d
mov eax, dword [ebx + 0x84]
call fcn.004568a4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x471c9d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004568a4
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x4728c0
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.ADVAPI32.DLL_GetUserNameA
test eax, eax
je 0x4728f1
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.00404f20
jmp 0x4728f8
mov eax, ebx
call fcn.00404cb0
add esp, 0x108
pop ebx
ret
Function at 0x472900
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x47299b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x57a270]
mov dword [ebp - 6], eax
mov ax, word [0x57a274]
mov word [ebp - 2], ax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 6]
push eax
call sub.ADVAPI32.DLL_AllocateAndInitializeSid
test eax, eax
jne 0x47295d
call fcn.0040f990
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.ADVAPI32.DLL_CheckTokenMembership
test eax, eax
jne 0x472975
call fcn.0040f990
pop dword fs:[0]
add esp, 8
push 0x4729a2
cmp dword [ebp - 0xc], 0
je 0x472993
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_FreeSid
cmp dword [ebp - 0x10], 1
sbb eax, eax
inc eax
ret

Function at 0x4739ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473a6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404cb0
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, 0xaa
mov eax, dword [ebp - 4]
call fcn.00404f70
test eax, eax
jle 0x473a34
mov dword [ebp - 0xc], eax
mov esi, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
add dword [ebp - 8], eax
mov eax, ebx
mov edx, dword [ebp - 4]
xor al, byte [edx + esi - 1]
and eax, 0xff
lea ecx, [ebp - 0x10]
mov edx, 2
call fcn.00409b64
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00404f78
add bl, 0x11
xor eax, eax
mov al, bl
mov ebx, eax
inc esi
dec dword [ebp - 0xc]
jne 0x4739f5
lea ecx, [ebp - 0x14]
mov edx, 4
mov eax, dword [ebp - 8]
call fcn.00409b64
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi]
mov eax, edi
call fcn.00404fbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a72
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404cd4
ret
Function at 0x474fb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x475135
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00405170
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x47511a
mov eax, dword [ebp - 8]
call fcn.00409388
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x475113
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x4750fd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x475148
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x47504c
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00474eec
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47514c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x475089
mov eax, dword [ebp - 0x10]
add eax, 2
movzx eax, word [eax]
mov edx, dword [ebp - 0x10]
movzx edx, word [edx]
shl edx, 0x10
or eax, edx
lea ecx, [ebp - 0x14]
mov edx, 8
call fcn.00409b64
jmp 0x475096
lea eax, [ebp - 0x14]
mov edx, 0x47516c
call fcn.00404d48
xor esi, esi
mov ebx, 0x57a298
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x475180
call fcn.0040ac90
mov eax, dword [ebp - 0x18]
call fcn.00405170
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4750f0
lea eax, [edi + esi*4 + 4]
mov edx, dword [ebp - 0x10]
call fcn.00404ea8
inc esi
add ebx, 4
cmp esi, 0xa
jne 0x47509d
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47511a
mov eax, dword [ebp - 0xc]
call fcn.00402b3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47513c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404cd4
ret

Function at 0x47531c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, eax
mov eax, esi
call fcn.00404f70
mov edx, eax
dec edx
mov eax, ebp
call fcn.004052fc
mov eax, esi
call fcn.00404f70
mov edi, eax
sub edi, 2
jl 0x475363
inc edi
mov ebx, 2
mov eax, ebp
call fcn.004051c8
mov edx, ebx
add dl, byte [esi]
sub dl, 2
xor dl, byte [esi + ebx - 1]
mov byte [eax + ebx - 2], dl
inc ebx
dec edi
jne 0x475349
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4755e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47562f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, ebx
call fcn.00405170
push eax
push 0x475644
mov eax, dword [0x57ebe0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.SHELL32.DLL_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47563b
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x475ae8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x475b01
add esp, 0xfffffff0
call fcn.004041d8
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x475b48
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.KERNEL32.DLL_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404ea8
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, esi
call fcn.00475a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475b4f
lea eax, [ebp - 8]
call fcn.00404cb0
ret