joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479510
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479751
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.00478a00
xor eax, eax
push ebp
push 0x479727
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00478d9c
test al, al
je 0x47970b
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049dc
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x47970b
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404dac
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegEnumKeyExA
test eax, eax
jne 0x4796ff
mov eax, dword [ebp - 0x14]
call fcn.00404dac
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404ae4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004791c4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4796ff
xor eax, eax
push ebp
push 0x4796f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00478a00
xor eax, eax
push ebp
push 0x4796da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00404dac
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00404ae4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00478a04
mov eax, dword [ebp - 0x14]
call fcn.00404dac
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00404ae4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004791c4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4796b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004793e8
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00479510
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4796be
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x47959b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47972e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00478a00
ret
Function at 0x4a1cec
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0042c3b8
mov eax, dword [ebp - 4]
call fcn.00451204
cmp eax, dword [ebp - 0x10]
jge 0x4a1d23
mov eax, dword [ebp - 4]
call fcn.00451204
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00458188
push eax
call sub.USER32.dll_ValidateRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0042be78
xor edx, edx
push ebp
push 0x4a1eb2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a1e48
push 0
call sub.USER32.dll_GetDC
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push edi
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
push edi
push 0
call sub.USER32.dll_ReleaseDC
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
mov edx, ebx
call fcn.0042c45c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0042c3dc
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov dword [esi + 4], ebx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004a1cec
xor eax, eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x130]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
xor edx, edx
call fcn.0042c45c
push 0xcc0020
mov edi, dword [ebp - 0x18]
push edi
mov esi, dword [ebp - 0x1c]
push esi
push ebx
mov eax, dword [ebp - 0x10]
sub eax, edi
push eax
mov eax, dword [ebp - 0x14]
sub eax, esi
push eax
push edi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0042c3dc
push eax
call sub.GDI32.dll_BitBlt
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.dll_DeleteObject
push ebx
call sub.GDI32.dll_DeleteDC
jmp 0x4a1e96
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0042c45c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004948dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x130]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
xor edx, edx
call fcn.0042c45c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1eb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
call fcn.0042c2b0
ret
Function at 0x4a49bc
Capabilities:
Log keystrokes via application hook

Disassembly:
mov dword [0x5a6c48], eax
push 0
mov eax, dword [0x5a6668]
push eax
mov eax, 0x4a1410
push eax
push 2
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x5a6c44], eax
ret
Function at 0x4a921c
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 [0x41b61c]
call fcn.00405390
xor eax, eax
push ebp
push 0x4a9360
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x59f578], 0
jne 0x4a926f
mov ecx, dword [0x5a4a48]
mov dl, 1
mov eax, dword [0x408608]
call fcn.0040da54
call fcn.0040425c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403388
mov eax, ebx
call fcn.00405194
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a9370
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.004067b0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051a4
test eax, eax
jle 0x4a9307
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 0x4a9300
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b74
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b5c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094ec
test eax, eax
jne 0x4a9300
mov ebx, 0x15
jmp 0x4a930c
mov ebx, 0x10
jmp 0x4a930c
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 [0x59f578]
call fcn.004a9094
mov eax, dword [ebp - 8]
call fcn.004a9094
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004067c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9367
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404910
lea eax, [ebp - 0x10]
mov edx, dword [0x41b61c]
call fcn.00405460
ret
Function at 0x4ba0a8
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 0x4ba308
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ba10b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004b9b70
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e3a4
cmp al, 1
jne 0x4ba10b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004b9e88
test al, al
je 0x4ba297
cmp dword [ebp - 8], 0
jge 0x4ba129
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.004b9b70
mov eax, dword [ebp - 0x210]
call fcn.00404bac
cmp ebx, eax
jge 0x4ba173
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004b9b70
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5a515c]
and eax, 0xff
bt dword [edx], eax
jae 0x4ba173
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4ba187
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ba084
cmp ebx, dword [ebp - 8]
je 0x4ba289
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 0x4ba1b3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c84
and eax, 0x7f
movzx eax, word [eax*2 + 0x59f894]
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 0x4ba276
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c84
and eax, 0x7f
movzx eax, word [eax*2 + 0x59f894]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00458188
push eax
call sub.USER32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c84
and eax, 0x7f
movzx eax, word [eax*2 + 0x59f894]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00458188
push eax
call sub.USER32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba27d
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 0x4ba2ea
cmp dword [ebp - 8], 0
jge 0x4ba2a2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004b9b70
mov eax, dword [ebp - 0x218]
call fcn.00404bac
cmp eax, dword [ebp - 8]
jg 0x4ba2dc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004b9b70
mov eax, dword [ebp - 0x21c]
call fcn.00404bac
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ba084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba30f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404910
ret
Function at 0x4c3ca0
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 0x4c3dc1
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.dll_GetVersion_1
mov edx, dword [0x5a4fd0]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5a4fd0]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4c3dd8
call fcn.0040a918
mov eax, dword [ebp - 4]
call fcn.004da7ec
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5a4c50]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x5a4f74]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4c3df4
call fcn.0040a918
mov eax, dword [ebp - 0x10]
call fcn.004da7ec
call sub.KERNEL32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x4c38bc
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, 0x4c3e14
call fcn.0040a918
mov eax, dword [ebp - 0x24]
call fcn.004da7ec
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, 0x4c3e2c
call fcn.0040a918
mov eax, dword [ebp - 0x28]
call fcn.004da7ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3dc8
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404910
lea eax, [ebp - 0x10]
call fcn.004048ec
lea eax, [ebp - 4]
call fcn.004048ec
ret

Function at 0x4cd5fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00458188
push eax
call sub.USER32.dll_ShowWindow
mov byte [ebx + 0x264], 0
pop ebx
ret
Function at 0x4d4564
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d461e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404ff8
mov eax, dword [0x5a4b24]
cmp byte [eax], 0
je 0x4d45d3
push esi
call sub.USER32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405328
mov eax, dword [ebx]
call fcn.004051a4
push eax
mov eax, dword [ebx]
call fcn.00405194
push eax
push esi
call sub.USER32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004051a4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405328
jmp 0x4d4605
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.USER32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a400
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405184
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4625
lea eax, [ebp - 0x3f0]
call fcn.004048ec
ret

Function at 0x4d462c
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.0040a400
add esp, 0x3ec
pop ebx
ret
Function at 0x4d5ab0
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 + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.00463c80
mov edi, eax
dec edi
test edi, edi
jl 0x4d5b63
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00463c90
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4d5afa
je 0x4d5b1b
dec eax
je 0x4d5b3c
jmp 0x4d5b5b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00463c90
cmp byte [ebx + 0x168], 0
setne dl
call fcn.00463bac
jmp 0x4d5b5b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00463c90
cmp byte [ebx + 0x168], 1
setne dl
call fcn.00463bac
jmp 0x4d5b5b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00463c90
cmp byte [ebx + 0x168], 2
setne dl
call fcn.00463bac
inc esi
dec edi
jne 0x4d5adb
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 0x4d5b88
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4d5bf7
jmp 0x4d5b8c
pop edx
pop eax
jge 0x4d5bf7
mov eax, dword [0x5a5088]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.KERNEL32.dll_GetTickCount_1
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x4d5bd3
cmp byte [ebx + 0x165], 2
je 0x4d5bd3
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4d5c1c
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.USER32.dll_TrackPopupMenu
jmp 0x4d5c1c
cmp dword [ebx + 0x120], 0
je 0x4d5c1c
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004464b0
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.USER32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4df9c4
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 0x4dfb35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4dfb1a
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.0040a400
mov dl, 1
mov eax, dword [0x4b7954]
call fcn.004b79ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ca10]
call fcn.00403a4c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004b7a28
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4dfb17
mov dl, 1
mov eax, dword [0x4b8424]
call fcn.004b848c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x4dfb4c
call fcn.004b7d74
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404bf8
xor eax, eax
push ebp
push 0x4dfb10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004b878c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004dfb54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dfb17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403a7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403a7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403a7c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dfb3c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404910
ret

Function at 0x4fb390
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 0x4fb3e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4fb3c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4fb3b8
jmp 0x4fb3e1
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 0x4fb3c9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x508ad0
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.0041f0bc
mov esi, eax
xor eax, eax
push ebp
push 0x508b4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x508b2e
mov edx, ebx
mov eax, esi
call fcn.0041ea08
test byte [eax + 0x58], 1
je 0x508b28
push 0
mov edx, ebx
mov eax, esi
call fcn.0041ea08
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.0041e88c
dec ebx
cmp ebx, 0xffffffff
jne 0x508afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508b51
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0041f120
ret

Function at 0x50bd60
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x50bd8e
mov eax, ebx
call fcn.0050c814
cmp dword [ebx + 0x40], 0
je 0x50bd87
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x50bdff
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x50bdf1
cmp dword [ebx + 8], 0
je 0x50bdb0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x50bdc2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50bdf1
cmp dword [ebx + 8], 0
je 0x50bda3
cmp eax, 3
je 0x50bdd5
dec eax
jne 0x50bda3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50bda3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x50bda3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x50be1d
cmp dword [ebx + 0x14], 0xcc
je 0x50be1d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0050be28
pop ebx
ret

Function at 0x52f73c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52f7bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.dll_GlobalMemoryStatus
mov esi, dword [ebp - 0x14]
shr esi, 0xa
push 0x52f7d4
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00409804
push dword [ebp - 0x28]
push 0x52f7ec
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c6c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x300]
call fcn.004517ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f7c6
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404910
ret