joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dd58
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 0x45df03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45dee4
mov dl, 1
mov eax, dword [0x413b84]
call fcn.00403718
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ded3
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.0044b770
test al, al
je 0x45dec6
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, 0x45df14
lea eax, [ebp - 0x254]
call fcn.0040991c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dec6
xor eax, eax
push ebp
push 0x45debf
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 0x45df4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45dea8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040473c
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 0x45dea8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dec6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ddc9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418100
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 0x45df0a
lea eax, [ebp - 0x260]
call fcn.004044d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x48ac08]
cmp byte [eax + 0xa5], 0
jne 0x45e8a9
cmp dword [0x48ac20], 0
jne 0x45e86a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e7f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ac20], eax
cmp dword [0x48ac1c], 0
jne 0x45e885
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ac1c], eax
cmp dword [0x48ac24], 0
jne 0x45e8a9
push esp
push 0
push 0
push 0x45e798
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48ac24], eax
pop edx
ret
Function at 0x45e9a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e9b7
add esp, 0xfffffff0
call fcn.00403aac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da74
mov eax, dword [0x489180]
cmp word [eax + 2], 0
jne 0x45e9df
mov eax, dword [0x489180]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ffd4
mov eax, dword [0x489228]
cmp word [eax + 2], 0
jne 0x45e9f9
mov eax, dword [0x489228]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004601cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413520]
call fcn.00403718
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413520]
call fcn.00403718
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], 0x80000018
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 [0x41ff6c]
call fcn.004274e0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45eb80
mov eax, dword [0x489094]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004278b0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46074c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x489094]
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.0040c810
test eax, eax
je 0x45eaee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409238
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c838
test eax, eax
je 0x45eb02
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.0040473c
mov eax, dword [0x488f70]
cmp byte [eax], 0
jne 0x45eb36
mov eax, ebx
call fcn.0045eca8
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.00460928
mov eax, ebx
call fcn.00461268
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45eb76
call fcn.00403b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ef1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ac08]
cmp dword [eax + 0x30], 0
je 0x45efc6
cmp dword [ebx + 0x94], 0
jne 0x45efc0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45eeac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45efc0
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 0x45ef86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45efc0
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.00415d84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ef95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45faa4
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 0x45fad9
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.004045c4
jmp 0x45fae6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404528
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460b04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460b45
mov eax, esi
call fcn.00446e64
test al, al
je 0x460b45
mov eax, dword [ebx + 0x84]
call fcn.00446b60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460b45
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446b60
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4616f8
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.0040305c
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 [0x489394]
cmp byte [edx + 0xc], 0
je 0x46175c
mov edx, dword [0x489388]
cmp dword [edx], 2
jne 0x46175c
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 0x461760
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x461818
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004616f8
test al, al
je 0x4617fa
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004045c4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4617fa
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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 - 0xc]
call fcn.00404984
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404984
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004046c4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4617b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46181f
lea eax, [ebp - 0x2c]
call fcn.004044d4
lea eax, [ebp - 0xc]
call fcn.004044d4
ret

Function at 0x4619ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
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.00404984
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x461a04
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4893a0]
mov dl, 1
mov eax, dword [0x4613a0]
call fcn.0040bc30
call fcn.00403f14
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004614a8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4644c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x464542
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
movzx eax, bx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00405474
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push ebp
call fcn.00464440
pop ecx
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jne 0x464527
cmp eax, dword [ebp - 0x38]
jb 0x46450c
jmp 0x464529
jl 0x46450c
push ebp
call fcn.00464484
pop ecx
fild qword [ebp - 0x18]
movzx eax, bx
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fdivp st(1)
fistp qword [ebp - 0x20]
wait
fild qword [ebp - 0x20]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464d08
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407478
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x464d35
cmp dword [esp + 0x10], 2
je 0x464d39
xor eax, eax
jmp 0x464d3b
mov al, 1
add esp, 0x94
ret
Function at 0x465ce0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x465ebc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.004044d4
mov eax, esi
call fcn.004044d4
mov eax, dword [ebp - 4]
call fcn.004044d4
test ebx, ebx
je 0x465e96
lea eax, [ebp - 0x124]
mov edx, ebx
call fcn.004092c0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x465e96
mov eax, dword [ebp - 0xc]
call fcn.00402780
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x465e8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x465e6b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x465ecc
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x465e47
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.0040746c
movzx eax, ax
lea edx, [ebp - 0x128]
call fcn.00408a84
push dword [ebp - 0x128]
push 0x465ed8
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 8]
call fcn.00408a84
push dword [ebp - 0x12c]
push 0x465ed8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.0040746c
movzx eax, ax
lea edx, [ebp - 0x130]
call fcn.00408a84
push dword [ebp - 0x130]
push 0x465ed8
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xc]
call fcn.00408a84
push dword [ebp - 0x134]
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.0040484c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x465edc
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x465e6b
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.004046c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465e96
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004027a0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
call fcn.00404528
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465ec3
lea eax, [ebp - 0x134]
mov edx, 4
call fcn.004044f8
lea eax, [ebp - 0x20]
call fcn.004044d4
ret
Function at 0x467dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467ee3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x24]
mov ecx, 3
mov eax, 0x467ef8
call fcn.0040999c
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x467f1c
call fcn.0040999c
mov edx, dword [ebp - 0x28]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x24]
mov ecx, 3
mov eax, 0x467f34
call fcn.0040999c
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
mov edx, 0x467f74
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [ebx + 0x38]
call fcn.00466024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467eea
lea eax, [ebp - 0x34]
call fcn.004044d4
lea eax, [ebp - 0x28]
call fcn.004044d4
lea eax, [ebp - 4]
call fcn.004044d4
ret
Function at 0x467f84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x467f8c
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x468150
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov edx, 0x468168
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x14]
call fcn.00408a84
mov edx, dword [ebp - 8]
lea ecx, [ebp - 8]
mov eax, 0x468178
call fcn.00464270
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
mov edx, dword [ebx + 8]
mov eax, 0x468188
call fcn.00464270
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
mov edx, dword [ebx + 4]
mov eax, 0x468198
call fcn.00464270
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x30]
call fcn.00408a84
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 8]
mov eax, 0x4681ac
call fcn.00464270
mov edx, dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0xc]
mov eax, 0x4681bc
call fcn.00464270
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 3
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x24]
call fcn.00408a84
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x10]
call fcn.00408a84
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x20]
call fcn.00408a84
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x1c]
call fcn.00408a84
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push 3
lea eax, [ebp - 0x20]
push eax
mov eax, 0x4681d0
mov dword [ebp - 0x50], eax
mov eax, 0x4681e0
mov dword [ebp - 0x4c], eax
mov eax, 0x4681f0
mov dword [ebp - 0x48], eax
mov eax, 0x468204
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x50]
xor edx, edx
mov eax, 0x468214
call fcn.00464270
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [ebx + 0x38]
call fcn.00466610
mov eax, dword [esi]
mov edx, 0x468224
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468157
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004044f8
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004044f8
ret
Function at 0x46822c
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebx
add esp, 0xffffffbc
mov ebx, eax
lea eax, [esp + 0x24]
mov edx, 0x20
call fcn.00407478
mov dword [esp + 0x24], 0x20
lea eax, [esp + 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0xc], eax
mov eax, esp
mov edx, 0x24
call fcn.00407478
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x2c], eax
add esp, 0x44
pop ebx
ret

Function at 0x468a1c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468abe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edi, 0x400
call sub.kernel32.dll_GetEnvironmentStringsA
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 8]
call fcn.004044d4
cmp edi, ebx
jbe 0x468a9d
cmp byte [esi + ebx], 0
je 0x468a7c
lea eax, [ebp - 0xc]
mov dl, byte [esi + ebx]
call fcn.004046b4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404794
jmp 0x468a98
cmp dword [ebp - 8], 0
je 0x468a9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
call fcn.004044d4
inc ebx
cmp edi, ebx
ja 0x468a5e
push esi
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468ac5
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004044f8
ret