joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450f08
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x450f3d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ebc
jmp 0x450f47
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403e70
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451e4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x451e84
mov eax, esi
call fcn.0043a624
test al, al
je 0x451e84
mov eax, dword [ebx + 0x6c]
call fcn.0043a1fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451e84
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0043a1fc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45f574
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45f756
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45f5be
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.0045f044
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0040e548
cmp al, 1
jne 0x45f5be
dec ebx
mov edi, ebx
mov eax, esi
call fcn.0045f358
test al, al
je 0x45f6f6
test edi, edi
jge 0x45f5d5
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.0045f044
mov eax, dword [ebp - 0x204]
call fcn.00404054
cmp ebx, eax
jge 0x45f61c
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.0045f044
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x6627dc]
and eax, 0xff
bt dword [edx], eax
jae 0x45f61c
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x45f62a
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.0045f550
cmp ebx, edi
je 0x45f6ee
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x45f654
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.00403388
and eax, 0x7f
movzx eax, word [eax*2 + 0x65ed48]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403388
and eax, 0x7f
movzx eax, word [eax*2 + 0x65ed48]
push eax
push pe_nt_image_headers32
mov eax, esi
call fcn.0043a1fc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403388
and eax, 0x7f
movzx eax, word [eax*2 + 0x65ed48]
push eax
push 0x101
mov eax, esi
call fcn.0043a1fc
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x45f73d
test edi, edi
jge 0x45f6fc
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.0045f044
mov eax, dword [ebp - 0x204]
call fcn.00404054
cmp edi, eax
jl 0x45f732
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.0045f044
mov eax, dword [ebp - 0x204]
call fcn.00404054
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.0045f550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f75d
lea eax, [ebp - 0x204]
call fcn.00403dd8
ret

Function at 0x476323
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x65faaa
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47637b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x65facb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x476371
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47637f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x48bc20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48bd7a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48bd5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403f7c
lea eax, [ebp - 0x118]
mov edx, 0x48bd90
call fcn.0040405c
mov eax, dword [ebp - 0x118]
call fcn.00404218
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48bccc
lea eax, [ebp - 0x111]
call fcn.0040adf0
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403ebc
jmp 0x48bcd3
mov eax, esi
call fcn.00403dd8
cmp bl, 0x61
jae 0x48bcf4
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040e894
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403e70
jmp 0x48bd0e
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040e808
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403e70
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x48bd9c
call fcn.0040b5d0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403e70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bd61
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x48e3f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404218
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x48e409
test al, 0x10
jne 0x48e40d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x48f66c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f6fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0048f2b0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404218
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x48f6e7
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x66209c]
call fcn.00406e7c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48f168]
call fcn.0040dce4
call fcn.00403898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f704
lea eax, [ebp - 0x10]
call fcn.00403dd8
ret
Function at 0x48f710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f7ab
push dword fs:[eax]
mov dword fs:[eax], esp
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.00404218
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48f785
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x662834]
call fcn.00406e7c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48f168]
call fcn.0040dce4
call fcn.00403898
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f2e0
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f7b2
lea eax, [ebp - 0x10]
call fcn.00403dd8
ret
Function at 0x4b5408
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sub eax, 1
jno 0x4b5424
call fcn.004030e8
test eax, eax
jl 0x4b555c
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048ff8c
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x4b36dc]
call fcn.004b3a10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 5]
mov edx, dword [ebp - 0x14]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 6]
mov edx, dword [ebp - 0x14]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 7]
mov edx, dword [ebp - 0x14]
mov byte [edx + 7], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 8]
mov edx, dword [ebp - 0x14]
mov byte [edx + 8], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 9]
mov edx, dword [ebp - 0x14]
mov byte [edx + 9], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
call fcn.00403e2c
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
call fcn.00403e2c
mov eax, dword [ebp - 0x14]
add eax, 0x18
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x18]
call fcn.00403e2c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x24]
call fcn.00403e2c
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x28]
call fcn.00403e2c
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2c]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2c], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2d]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2d], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2e]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2e], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x2f]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x2f], al
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0048ff68
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4b5437
mov esp, ebp
pop ebp
ret
Function at 0x4bc27c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
test dl, dl
je 0x4bc28e
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4bc365
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00406ed4
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403dd8
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 0xc]
call fcn.00406eec
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.0040317c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.0040317c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
cmp dword [ebp + 8], 0
je 0x4bc34f
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc36c
lea eax, [ebp - 0xc]
call fcn.00406ed4
ret

Function at 0x4c0508
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x4c051a
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406f34
mov eax, dword [ebp + 8]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4c05b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x64
xor eax, eax
push ebp
push 0x4c0594
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a30d8
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c059b
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
ret
Function at 0x4d0128
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4d0140
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404208
mov eax, dword [ebp + 0x20]
call fcn.00406f34
mov eax, dword [ebp + 0x1c]
call fcn.00404208
mov eax, dword [ebp + 0x14]
call fcn.00404208
mov eax, dword [ebp + 0x10]
call fcn.00404208
mov eax, dword [ebp + 0xc]
call fcn.00404208
xor eax, eax
push ebp
push 0x4d02b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x64
xor eax, eax
push ebp
push 0x4d0275
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x30
mov edx, dword [ebp + 0x20]
call fcn.00406eec
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x4d02e8
call fcn.00404164
jne 0x4d01ef
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4c3b84]
call fcn.004c3e2c
mov dword [ebp - 0x10], eax
jmp 0x4d022d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x4d02f8
call fcn.00404164
jne 0x4d0228
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4c9518]
call fcn.004c97c4
mov dword [ebp - 0x10], eax
jmp 0x4d022d
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b5c34
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d027c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
ret
Function at 0x4d0988
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d0a04
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, 0x4d0a1c
call fcn.00404164
jne 0x4d09e5
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test al, al
je 0x4d09e5
mov eax, dword [ebp - 4]
mov byte [eax + 0x27], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0a0b
lea eax, [ebp - 0xc]
call fcn.00403dd8
ret

Function at 0x4d0fa4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d106b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x4d1080
call fcn.00404164
jne 0x4d0fef
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x4d1090
call fcn.00404164
jne 0x4d1013
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x48]
and eax, 0x7f
lea eax, [eax*8 + 0x65fdf4]
mov edx, dword [ebp - 8]
cmp edx, 1
jbe 0x4d1032
call fcn.004030e0
mov ecx, dword [eax + edx*4]
lea eax, [ebp - 0xc]
mov edx, 0x4d10a0
call fcn.004040a0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1072
lea eax, [ebp - 0x14]
call fcn.00403dd8
lea eax, [ebp - 0xc]
call fcn.00403dd8
ret
Function at 0x4d4794
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4d47ac
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00406f34
mov eax, dword [ebp + 0xc]
call fcn.00406f34
mov eax, dword [ebp + 8]
call fcn.00406f34
xor eax, eax
push ebp
push 0x4d48c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a30d8
lea edx, [ebp - 0x18]
mov eax, dword [0x4d198c]
call fcn.004d1aac
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00406eec
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406fb4
push 0x4d48f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00406fb4
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00406fb4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
jle 0x4d4896
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
test al, al
je 0x4d488e
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
add al, 0xfe
sub al, 4
jae 0x4d488e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x34], edx
jmp 0x4d4896
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4d4863
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d48cb
lea eax, [ebp - 0x18]
call fcn.00406ed4
lea eax, [ebp - 0xc]
call fcn.00406ed4
lea eax, [ebp + 8]
call fcn.00406ed4
lea eax, [ebp + 0xc]
call fcn.00406ed4
ret
Function at 0x4dbcc4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
test dl, dl
je 0x4dbcdc
add esp, 0xfffffff0
call fcn.004034ec
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404208
mov eax, dword [ebp + 0x20]
call fcn.00406f34
mov eax, dword [ebp + 0x1c]
call fcn.00404208
mov eax, dword [ebp + 0x14]
call fcn.00404208
mov eax, dword [ebp + 0x10]
call fcn.00404208
mov eax, dword [ebp + 0xc]
call fcn.00404208
xor eax, eax
push ebp
push 0x4dbe03
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [0x4d1930]
call fcn.004d1a3c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00406eec
mov eax, dword [ebp - 4]
add eax, 0x34
mov edx, dword [ebp + 0x20]
call fcn.00406eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x64
xor eax, eax
push ebp
push 0x4dbdc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4d6700]
call fcn.004d69cc
push eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b5c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbdc8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
ret