joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48728c
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 0x487437
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x487418
mov dl, 1
mov eax, dword [0x4185f8]
call fcn.00403868
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046ac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x487407
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.00474b20
test al, al
je 0x4873fa
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, 0x487448
lea eax, [ebp - 0x254]
call fcn.0040a2ec
push eax
push reloc.shell32.dll_SHChangeNotifyRegister
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4873fa
xor eax, eax
push ebp
push 0x4873f3
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 0x487480
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4873dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040491c
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 0x4873dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040491c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4873fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4872fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d41c
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 0x48743e
lea eax, [ebp - 0x260]
call fcn.004046ac
ret

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

Disassembly:
push ecx
mov eax, dword [0x50abf4]
cmp byte [eax + 0xa5], 0
jne 0x487ddd
cmp dword [0x50ac0c], 0
jne 0x487d9e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x487d28
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x50ac0c], eax
cmp dword [0x50ac08], 0
jne 0x487db9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x50ac08], eax
cmp dword [0x50ac10], 0
jne 0x487ddd
push esp
push 0
push 0
push 0x487ccc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x50ac10], eax
pop edx
ret
Function at 0x487ed4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x487eeb
add esp, 0xfffffff0
call fcn.00403bfc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423af8
mov eax, dword [0x509424]
cmp word [eax + 2], 0
jne 0x487f13
mov eax, dword [0x509424]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00489654
mov eax, dword [0x509520]
cmp word [eax + 2], 0
jne 0x487f2d
mov eax, dword [0x509520]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048984c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417f94]
call fcn.00403868
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417f94]
call fcn.00403868
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 [0x4261b4]
call fcn.0042e5ac
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4880b4
mov eax, dword [0x509304]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e97c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x489dfc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x509304]
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.0040dfcc
test eax, eax
je 0x488022
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ca0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dff4
test eax, eax
je 0x488036
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.0040491c
mov eax, dword [0x509148]
cmp byte [eax], 0
jne 0x48806a
mov eax, ebx
call fcn.004881dc
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.00489fd8
mov eax, ebx
call fcn.0048a99c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4880aa
call fcn.00403c54
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48845c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x50abf4]
cmp dword [eax + 0x30], 0
je 0x488506
cmp dword [ebx + 0x94], 0
jne 0x488500
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4883ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x488500
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 0x4884c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x488500
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.0041a858
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4884d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x489068
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 0x48909d
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.0040479c
jmp 0x4890aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404700
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48a1b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48a1f5
mov eax, esi
call fcn.004700a4
test al, al
je 0x48a1f5
mov eax, dword [ebx + 0x84]
call fcn.0046fda0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48a1f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046fda0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4904b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x490714
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x490517
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048ff7c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040db08
cmp al, 1
jne 0x490517
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00490294
test al, al
je 0x4906a3
cmp dword [ebp - 8], 0
jge 0x490535
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048ff7c
mov eax, dword [ebp - 0x210]
call fcn.0040496c
cmp ebx, eax
jge 0x49057f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048ff7c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x509708]
and eax, 0xff
bt dword [edx], eax
jae 0x49057f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x490593
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00490490
cmp ebx, dword [ebp - 8]
je 0x490695
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4905bf
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a94
and eax, 0x7f
movzx eax, word [eax*2 + 0x508578]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x490682
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a94
and eax, 0x7f
movzx eax, word [eax*2 + 0x508578]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046fda0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a94
and eax, 0x7f
movzx eax, word [eax*2 + 0x508578]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046fda0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490689
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4906f6
cmp dword [ebp - 8], 0
jge 0x4906ae
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048ff7c
mov eax, dword [ebp - 0x218]
call fcn.0040496c
cmp eax, dword [ebp - 8]
jg 0x4906e8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048ff7c
mov eax, dword [ebp - 0x21c]
call fcn.0040496c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00490490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49071b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004046d0
ret
Function at 0x49b754
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 0x49b875
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x5095b4]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5095b4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x49b88c
call fcn.0040a36c
mov eax, dword [ebp - 4]
call fcn.004af4dc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x50930c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x509568]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x49b8a8
call fcn.0040a36c
mov eax, dword [ebp - 0x10]
call fcn.004af4dc
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x49b420
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, 0x49b8c8
call fcn.0040a36c
mov eax, dword [ebp - 0x24]
call fcn.004af4dc
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, 0x49b8e0
call fcn.0040a36c
mov eax, dword [ebp - 0x28]
call fcn.004af4dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b87c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004046d0
lea eax, [ebp - 0x10]
call fcn.004046ac
lea eax, [ebp - 4]
call fcn.004046ac
ret

Function at 0x4a1ab8
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 0x4a1b06
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x138], 0
je 0x4a1b06
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x138]
mov eax, dword [eax + 0x14]
jmp 0x4a1b16
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x134]
test edx, edx
je 0x4a1b16
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4a1b2f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0049f9a4
jmp 0x4a1b72
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.0042847c
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.00427800
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xa4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.00427508
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.00428044
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.00427508
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4a685c
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.0048072c
mov ebx, eax
mov dx, word [edi + 4]
mov eax, ebp
call fcn.004a6708
mov esi, eax
test esi, esi
je 0x4a68a9
mov al, byte [0x4a68bc]
cmp al, bl
jne 0x4a68a9
mov edx, esi
mov eax, ebp
call fcn.004a66b0
mov dword [edi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4a68b1
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 0x4a9854
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.00409e7c
add esp, 0x3ec
pop ebx
ret

Function at 0x4aac78
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 + 0xe8]
mov eax, dword [eax + 0x34]
call fcn.0047b778
mov edi, eax
dec edi
test edi, edi
jl 0x4aad2b
inc edi
xor esi, esi
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047b788
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4aacc2
je 0x4aace3
dec eax
je 0x4aad04
jmp 0x4aad23
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047b788
cmp byte [ebx + 0x158], 0
setne dl
call fcn.0047b6a4
jmp 0x4aad23
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047b788
cmp byte [ebx + 0x158], 1
setne dl
call fcn.0047b6a4
jmp 0x4aad23
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047b788
cmp byte [ebx + 0x158], 2
setne dl
call fcn.0047b6a4
inc esi
dec edi
jne 0x4aaca3
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x4aad50
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4aadb1
jmp 0x4aad54
pop edx
pop eax
jge 0x4aadb1
mov esi, 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x12c]
test byte [eax + 0x50], 2
je 0x4aad8d
cmp byte [ebx + 0x155], 2
je 0x4aad8d
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xe8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4aadcd
push 0
mov eax, dword [ebx + 0x120]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0xf8]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4aadcd
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00438014
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x120]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b3920
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 0x4b3a5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x84], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b3a43
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.00409e7c
mov dl, 1
mov eax, dword [0x48df50]
call fcn.0048dfa8
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4188e8]
call fcn.00403868
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.0048e024
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b3a40
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 + 0x7c]
mov edx, 0x4b3a74
call fcn.0048e370
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004049b8
xor eax, eax
push ebp
push 0x4b3a39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.0041dc2c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b3a7c
mov eax, dword [ebp - 0xc]
call fcn.00409928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3a40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.00403898
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403898
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3a65
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046d0
ret
Function at 0x4b500c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417504]
call fcn.004050ec
xor eax, eax
push ebp
push 0x4b5150
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5085a8], 0
jne 0x4b505f
mov ecx, dword [0x509164]
mov dl, 1
mov eax, dword [0x407e40]
call fcn.0040d1c0
call fcn.00404064
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403104
mov eax, ebx
call fcn.00404f3c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4b5160
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406200
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f4c
test eax, eax
jle 0x4b50f7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4b50f0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404934
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040491c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408cec
test eax, eax
jne 0x4b50f0
mov ebx, 0x15
jmp 0x4b50fc
mov ebx, 0x10
jmp 0x4b50fc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5085a8]
call fcn.004b4f64
mov eax, dword [ebp - 8]
call fcn.004b4f64
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5157
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046d0
lea eax, [ebp - 0x10]
mov edx, dword [0x417504]
call fcn.004051bc
ret
Function at 0x4bdfec
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 0x4be03d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4be024
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4be014
jmp 0x4be03d
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 0x4be025
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cb50c
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.0041af8c
mov esi, eax
xor eax, eax
push ebp
push 0x4cb586
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x4cb56a
mov edx, ebx
mov eax, esi
call fcn.0041a858
test byte [eax + 0x58], 1
je 0x4cb564
push 0
mov edx, ebx
mov eax, esi
call fcn.0041a858
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.0041a748
dec ebx
cmp ebx, 0xffffffff
jne 0x4cb538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb58d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0041aff0
ret

Function at 0x4ce630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ce6a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5087a4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4ce68b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004ce620
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4cbbdc]
call fcn.004cf4f0
mov dword [0x50880c], eax
mov eax, dword [ebp - 4]
call fcn.004ce4ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce6a8
lea eax, [ebp - 8]
call fcn.00406200
ret

Function at 0x4ce740
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x4ce753
or esi, 2
test dl, dl
je 0x4ce75c
or esi, 0
jmp 0x4ce75f
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret