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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d4248]
cmp byte [eax + 0xc], 0
je 0x456019
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456012
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d9c9c], 0
jne 0x455f00
push 0x456020
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x456028
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9c9c], eax
cmp dword [0x4ce708], 0
jne 0x455ffb
push 0x456038
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ce708], eax
cmp dword [0x4ce708], 0
je 0x455ffb
push 0x456044
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9ca0], eax
push 0x456054
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9ca4], eax
push 0x456068
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9ca8], eax
push 0x456080
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cac], eax
push 0x456098
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cb0], eax
push 0x4560ac
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cb4], eax
push 0x4560c4
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cb8], eax
push 0x4560dc
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cbc], eax
push 0x4560f8
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cc0], eax
push 0x456104
mov eax, dword [0x4ce708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9cc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456019
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b9a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x4d9cd4]
cmp esi, dword [eax + 0x30]
jne 0x45b9cb
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x45b9fa
mov eax, dword [0x4d9cd4]
cmp esi, dword [eax + 0x30]
jne 0x45b9f6
mov eax, dword [0x4d9cd4]
cmp byte [eax + 0x5b], 0
jne 0x45b9fa
xor eax, eax
jmp 0x45b9fc
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x45ba11
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x45ba28
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45ba37
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x45ba46
test bl, bl
je 0x45ba5c
test bl, bl
je 0x45ba54
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x45ba5c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45bd00
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x45bd26
mov eax, esp
push eax
push 0x45bcc8
call sub.user32.dll_EnumWindows
jmp 0x45bd39
mov eax, esp
push eax
push 0x45bca8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x45bdc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45be18]
test si, 4
je 0x45bdd9
or bl, 1
test si, 8
je 0x45bde3
or bl, 4
test si, 1
je 0x45bded
or bl, 8
test si, 2
je 0x45bdf7
or bl, 0x10
test si, 0x10
je 0x45be01
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45be10
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45be1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45be58]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45be36
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45be45
or bl, 4
test esi, 0x20000000
je 0x45be50
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x463e00
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463e12
add esp, 0xfffffff0
call fcn.00404588
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004216b0
mov eax, dword [0x4d3a24]
mov dword [eax + 4], ebx
mov dword [eax], 0x4641a4
mov eax, dword [0x4d3a44]
mov dword [eax + 4], ebx
mov dword [eax], 0x4641b0
mov eax, ebx
call fcn.004641bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
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, 0x45f790
push eax
push 0
push 0
mov eax, dword [0x4d3da4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427690]
call fcn.00428ee4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427690]
call fcn.00428ee4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427690]
call fcn.00428ee4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046467c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464504
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464504
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464504
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463f4f
call fcn.004045e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4642e8
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 0x464493
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x464474
mov dl, 1
mov eax, dword [0x4183ac]
call fcn.00404234
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405180
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x464463
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.00456208
test al, al
je 0x464456
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, 0x4644a4
lea eax, [ebp - 0x254]
call fcn.0040b0ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x464456
xor eax, eax
push ebp
push 0x46444f
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 0x4644dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464438
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053f0
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 0x464438
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464456
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x464359
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041cd48
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 0x46449a
lea eax, [ebp - 0x260]
call fcn.00405180
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d9cd4]
cmp byte [eax + 0xad], 0
jne 0x464f8d
cmp dword [0x4d9cf0], 0
jne 0x464f4e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464ed8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d9cf0], eax
cmp dword [0x4d9cec], 0
jne 0x464f69
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d9cec], eax
cmp dword [0x4d9cf4], 0
jne 0x464f8d
push esp
push 0
push 0
push 0x464e7c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d9cf4], eax
pop edx
ret
Function at 0x465160
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x465177
add esp, 0xfffffff0
call fcn.00404588
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004216b0
mov eax, dword [0x4d3d6c]
cmp word [eax + 2], 0
jne 0x46519f
mov eax, dword [0x4d3d6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466d78
mov eax, dword [0x4d3f18]
cmp word [eax + 2], 0
jne 0x4651b9
mov eax, dword [0x4d3f18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466f84
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417d20]
call fcn.00404234
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4281a0]
call fcn.0042ff64
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x465370
mov eax, dword [0x4d3b48]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430338
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467648
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d3b48]
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.0040eff0
test eax, eax
je 0x4652c0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a6f4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f024
test eax, eax
je 0x4652d4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004053f0
mov byte [ebx + 0xd4], 0
push ebx
push 0x466888
call fcn.0042282c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d37ec]
cmp byte [eax], 0
jne 0x465325
mov eax, ebx
call fcn.004654b4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00467820
mov eax, ebx
call fcn.00468384
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465365
call fcn.004045e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465734
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4657d3
cmp dword [ebx + 0x94], 0
jne 0x4657cd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4656bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4657cd
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 0x465793
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4657cd
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.0041a410
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4657a2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4659ec
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d9cd4]
cmp dword [eax + 0x30], 0
je 0x465b49
test bl, bl
jne 0x465a9a
cmp dword [esi + 0x9c], 0
jne 0x465a8f
mov eax, esi
call fcn.00468200
push eax
push 0x465918
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x465a60
mov eax, dword [0x4d9cd4]
call fcn.004688e0
test al, al
je 0x465a60
mov eax, dword [0x4d9cf8]
call fcn.004064e0
mov edi, eax
cmp edi, 0
jl 0x465a60
push 0
mov eax, dword [0x4d9cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x465a4a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465a8f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a410
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465a6f
inc dword [esi + 0x9c]
jmp 0x465b49
cmp dword [esi + 0x9c], 0
jle 0x465b49
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x465b49
cmp dword [esi + 0x44], 0
je 0x465af5
mov eax, dword [0x4d9cd4]
call fcn.004688e0
test al, al
je 0x465af5
mov eax, dword [0x4d9cf8]
call fcn.004064e0
mov edi, eax
cmp edi, 0
jl 0x465af5
push 5
mov eax, dword [0x4d9cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x465adf
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465b24
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041a410
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465b04
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4d9cf8
mov ecx, 1
mov edx, dword [0x4658f8]
call fcn.00406694
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4665dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x466646
mov eax, ebx
call fcn.004688e0
test al, al
jne 0x466646
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.00405270
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x466633
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x466653
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051d4
jmp 0x466653
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051d4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x467a04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467a72
mov eax, esi
call fcn.00450ea4
test al, al
je 0x467a72
mov eax, dword [ebx + 0x84]
call fcn.00450af4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467a72
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x467a66
push 0
mov eax, dword [ebx + 0x84]
call fcn.00450af4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00448a7c
jmp 0x467a72
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00467840
pop esi
pop ebx
ret

Function at 0x489b2c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x489b86
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00489b1c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00487774
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0048728c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489b8d
lea eax, [ebp - 4]
call fcn.00405180
ret
Function at 0x494b04
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x494b32
mov eax, ebx
call fcn.004955b8
cmp dword [ebx + 0x40], 0
je 0x494b2b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x494ba3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x494b95
cmp dword [ebx + 8], 0
je 0x494b54
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 0x494b66
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x494b95
cmp dword [ebx + 8], 0
je 0x494b47
cmp eax, 3
je 0x494b79
dec eax
jne 0x494b47
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 0x494b47
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x494b47
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x494bc1
cmp dword [ebx + 0x14], 0xcc
je 0x494bc1
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.00494bcc
pop ebx
ret

Function at 0x4a7828
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ebx, eax
cmp byte [0x4d0f6c], 0
jne 0x4a7843
cmp byte [0x4d0f78], 0
je 0x4a7899
mov eax, 0x4a790c
call fcn.004aa050
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a7892
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebx], 0x40
push 0x4a791c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
push ebx
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a78ff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a7afc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
movzx eax, byte [esp + 0x14]
add esp, 0x24
ret
Function at 0x4a7b10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a7be8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [ebp - 0xc]
mov eax, esi
cmp eax, 0x7d0
jg 0x4a7b57
je 0x4a7b98
sub eax, 0x182
je 0x4a7b6e
sub eax, 0x64
je 0x4a7b7c
sub eax, 0x64
je 0x4a7b8a
jmp 0x4a7bc5
sub eax, 0xbb8
je 0x4a7b98
sub eax, 0x3e8
je 0x4a7b98
sub eax, 0x42a8
je 0x4a7bb7
jmp 0x4a7bc5
mov eax, ebx
mov edx, 0x4a7c00
call fcn.004051d4
jmp 0x4a7bd2
mov eax, ebx
mov edx, 0x4a7c14
call fcn.004051d4
jmp 0x4a7bd2
mov eax, ebx
mov edx, 0x4a7c28
call fcn.004051d4
jmp 0x4a7bd2
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00409cb4
mov ecx, dword [ebp - 0x28]
mov eax, ebx
mov edx, 0x4a7c40
call fcn.00405498
jmp 0x4a7bd2
mov eax, ebx
mov edx, 0x4a7c50
call fcn.004051d4
jmp 0x4a7bd2
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.00409cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7bef
lea eax, [ebp - 0x28]
call fcn.00405180
ret

Function at 0x4a7efc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4a7f73
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4a7f5d
xor edi, edi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
call sub.kernel32.dll_GetEnvironmentStringsA
mov ebx, eax
test ebx, ebx
je 0x4a7f53
mov edi, ebx
jmp 0x4a7f4e
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040a8e0
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.0040a6a0
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4a7f30
test edi, edi
je 0x4a7f5d
push edi
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7f7a
lea eax, [ebp - 4]
call fcn.00405180
ret