joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bf810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67f23b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [ecx + 4]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 8], 0
shl esi, 6
add esi, edx
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push eax
mov dword [edi + 0x2c], edx
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], 0
push ecx
lea ecx, [edi + 0x34]
call sub.MFC42u.DLL_CString::CString_4
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x38], edx
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4cf030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x680670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004a9bc0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004a9bc0
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x17ac]
push ecx
mov eax, dword [edi + 0xc]
mov ecx, ebp
push eax
mov byte [esp + 0x30], 1
call fcn.004aa750
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
lea ecx, [esi + 0x16dc]
push eax
push ecx
push edi
push esi
call fcn.005c2970
add esp, 0x14
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004a9ee0
mov edi, dword [edi + 0xc]
test eax, eax
je 0x4cf0be
push edi
mov ecx, ebp
call fcn.004aaa70
jmp 0x4cf0d2
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
push edi
call fcn.004aa880
mov ecx, eax
call fcn.004a9e70
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.004a9ea0
test eax, eax
je 0x4cf0eb
mov ecx, esi
call fcn.004cbe70
cmp ebx, 2
jne 0x4cf0fb
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004cde00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x4d6730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x680b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x10
push 0x8634
lea ecx, [esp + 0x14]
call fcn.006692c0
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.00669450
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.0050ec00
neg eax
sbb eax, eax
and eax, 8
push eax
mov eax, dword [esi + 4]
push 0x8633
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea ecx, [esp + 0x14]
call fcn.006086f6
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
push ecx
mov ecx, ebx
call fcn.0050ece0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
push edi
push esi
call fcn.006692e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4dc8a8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x681830
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x28e8]
lea edi, [esi + 0x28e8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4dc908
push 0x15
mov ecx, esi
call fcn.004e8af0
test eax, eax
jne 0x4dc908
push eax
push 0xc733
lea ecx, [esp + 0x10]
call fcn.00411680
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], 0
push ecx
push edi
push 1
call fcn.00616320
add esp, 0xc
test eax, eax
jne 0x4dc91b
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004116d0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0xc]
call fcn.006089e4
push eax
push 0x26
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.004ec460
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004116d0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4e3f60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6821e8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x1c]
sub esp, 0x20
mov edx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x38]
push esi
push edi
mov edi, ecx
push eax
mov ecx, dword [esp + 0x48]
lea esi, [edi + 0x2c90]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00547c40
lea ecx, [esp + 0xc]
call fcn.005a2990
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push ebx
call fcn.00540390
xor ebx, ebx
test eax, eax
je 0x4e3fc0
cmp dword [esp + 0x28], ebx
jne 0x4e4016
push ebx
lea ecx, [esp + 0x4c]
call fcn.0060c3c0
mov esi, eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], ebx
call sub.MFC42u.DLL_CString::CString_5
push esi
push eax
mov ecx, edi
mov byte [esp + 0x3c], 1
call fcn.004dbd70
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], 2
call fcn.0060c4c0
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x10
Function at 0x4e5c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x682438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], edi
call fcn.006086f6
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0
call fcn.006086f6
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call fcn.006086f6
mov esi, dword [esp + 0x84]
lea ecx, [esp + 0x48]
push 1
push ecx
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x80], 2
xor ebx, ebx
call dword [eax + 0x140]
push 2
mov ecx, esi
call fcn.0062fe70
test eax, eax
je 0x4e5c9e
mov edx, dword [esi]
lea eax, [esp + 0x5c]
push ebx
push eax
mov ecx, esi
call dword [edx + 0x140]
mov ebx, 1
lea esi, [edi + 0x2680]
mov ecx, esi
call fcn.0063f880
test eax, eax
je 0x4e5cb4
mov eax, dword [esi + 0xc]
jmp 0x4e5cb6
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], eax
call fcn.006089e4
add edi, 0x2c90
push 0
push 0
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 3
call fcn.0053df00
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x80]
test eax, eax
mov byte [esp + 0x78], 4
je 0x4e5d8b
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + 0x2680]
call fcn.0063f850
test ebx, ebx
mov esi, eax
je 0x4e5d4a
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push ebp
push esi
call fcn.005445d0
test eax, eax
je 0x4e5d4a
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.00419f40
lea eax, [esp + 0x2c]
push 0
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00419eb0
add esp, 0x18
jmp 0x4e5d58
lea edx, [esp + 0x48]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42u.DLL_CStringArray::Copy
lea eax, [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push ebp
push esi
mov ecx, edi
call fcn.00544520
push eax
push esi
call fcn.004e5460
add esp, 0xc
test eax, eax
je 0x4e5e05
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e5cf7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e5da2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.004ec460
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 3
call fcn.0053df40
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 2
call sub.MFC42u.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 3
call fcn.0053df40
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 2
call sub.MFC42u.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 1
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
xor eax, eax
jmp 0x4e5df0
Function at 0x4ef498
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6831b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.006086f6
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x130]
test eax, eax
jne 0x4ef4ee
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push edi
push 1
lea edx, [esp + 0x14]
push 0xa
lea eax, [esp + 0x40]
push edx
push eax
call fcn.004182a0
add esp, 0x10
mov edi, eax
test esi, esi
mov byte [esp + 0x2c], 1
je 0x4ef513
mov esi, dword [esi + 0x20]
push esi
lea ecx, [esp + 0xc]
call fcn.00433520
push edi
mov ecx, eax
mov byte [esp + 0x30], 2
call fcn.004339e0
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 1
call fcn.00433540
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x4f1c90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6837d8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x18]
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x44]
push 0x48
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004a4030
mov edx, dword [edi + 0x2064]
lea esi, [edi + 0x2064]
mov ecx, esi
call dword [edx + 0xc8]
mov ebx, dword [esp + 0x40]
cmp eax, 1
jne 0x4f1d0f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
cmp eax, ebx
jne 0x4f1d0f
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, edi
call fcn.004e4d20
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
lea ecx, [esp + 0x1c]
call fcn.006089e4
mov edx, dword [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call sub.MFC42u.DLL_CDWordArray::SetAtGrow
lea eax, [esp + 0xc]
push 1
push eax
push ebx
lea ecx, [edi + 0x2c90]
call fcn.005441c0
lea ecx, [esp + 0x1c]
push ecx
push 0xc
mov ecx, edi
call fcn.004ec460
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42u.DLL_CDWordArray::CDWordArray
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x4ffdd0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6853c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, dword [esi + 0x128]
push 0
push 0x147
push eax
call edi
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov eax, 7
cmp ecx, eax
jne 0x4ffeb4
lea ecx, [esp + 0xc]
call fcn.006086f6
mov eax, dword [esi + 0x14c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call sub.MFC42u.DLL_CStringArray::SetAtGrow_1
mov eax, dword [esi + 0x150]
mov edx, dword [esi + 0x14c]
lea ecx, [esp + 0xc]
lea eax, [edx + eax*4 - 4]
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0xc]
lea edx, [esi + 0x108]
push ecx
push edx
call fcn.0042d460
mov edx, dword [esi + 0xb4]
add esp, 8
xor eax, eax
test edx, edx
setne al
push 0
push eax
mov eax, dword [esi + 0x128]
push 0x14e
push eax
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
cmp dword [esp + 0x34], eax
jne 0x4ffefc
lea ecx, [esi + 0x148]
lea edx, [esi + 0x108]
push ecx
push edx
call fcn.0042d460
add esp, 8
test ebx, ebx
jne 0x4ffed8
xor eax, eax
jmp 0x4ffeeb
mov eax, dword [esi + 0x128]
push 0
push 0
push 0x146
push eax
call edi
dec eax
mov ecx, dword [esi + 0x128]
push 0
push eax
push 0x14e
push ecx
call edi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x504e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x685858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
call fcn.00450070
push 0x738574
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString_6
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.004f4a40
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call sub.MFC42u.DLL_CString::CString
mov ebp, dword [edi + 0x38a4]
mov edx, ebp
dec ebp
test edx, edx
je 0x504f39
push ebx
push esi
lea ebx, [ebp + 0x100]
mov eax, dword [edi + 0x38a0]
mov esi, dword [eax + ebp*4]
test esi, esi
je 0x504f2f
lea ecx, [esp + 0x18]
push esi
push ecx
mov ecx, edi
call fcn.00505410
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, edi
mov byte [esp + 0x38], 4
call fcn.004f4a40
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 6
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x4c]
push ebx
mov ecx, edi
call fcn.005061d0
test eax, eax
je 0x504f21
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [eax + 4]
call fcn.0058ae00
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42u.DLL_CString::CString
mov eax, ebp
dec ebp
dec ebx
test eax, eax
jne 0x504eb8
pop esi
pop ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00450300
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x50acf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x685e71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.006086f6
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], 0
call fcn.006086f6
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 1
call fcn.006086f6
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 2
call fcn.006086f6
lea ecx, [esp + 0x60]
mov byte [esp + 0x90], 3
call fcn.006086f6
lea ecx, [esp + 0x74]
mov byte [esp + 0x90], 4
call fcn.006086f6
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x90], 5
mov esi, dword [ebx + 0xc]
neg esi
sbb esi, esi
test esi, esi
je 0x50ade6
cmp esi, 0xffffffff
mov edx, esi
jne 0x50adad
mov esi, dword [ebx + 8]
xor eax, eax
test esi, esi
jbe 0x50adad
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
test edx, edx
jne 0x50adad
inc eax
add ecx, 4
cmp eax, esi
jb 0x50ad9f
mov esi, dword [edx]
test esi, esi
jne 0x50add2
mov eax, dword [edx + 4]
mov edi, dword [ebx + 8]
inc eax
cmp eax, edi
jae 0x50add2
mov ecx, dword [ebx + 4]
lea ecx, [ecx + eax*4]
mov esi, dword [ecx]
test esi, esi
jne 0x50add2
inc eax
add ecx, 4
cmp eax, edi
jb 0x50adc4
mov edx, dword [edx + 8]
mov ecx, ebp
push edx
lea edx, [esp + 0x14]
push edx
call fcn.004e0780
test esi, esi
jne 0x50ad8c
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x18]
add ecx, edi
add ecx, esi
pop edi
add ecx, edx
pop esi
add ecx, eax
pop ebp
pop ebx
je 0x50ae1f
mov ecx, dword [esp + 0x88]
lea edx, [esp]
push edx
call fcn.00494260
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], 0xa
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 9
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 8
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 7
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 6
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret 8
Function at 0x51a900
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x686f2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
lea esi, [ebp + 4]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
lea ecx, [esi + 0xc]
mov dword [esi], 0x64
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call sub.MFC42u.DLL_CString::CString_5
or ebx, 0xffffffff
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.006086f6
lea ecx, [esi + 0x30]
mov byte [esp + 0x2c], 1
call fcn.006086f6
lea ecx, [esi + 0x44]
mov byte [esp + 0x2c], 2
call fcn.006086f6
lea ecx, [esi + 0x58]
mov byte [esp + 0x2c], 3
call fcn.006086f6
lea ecx, [esi + 0x6c]
mov byte [esp + 0x2c], 4
call fcn.006086f6
lea ecx, [esi + 0x80]
mov byte [esp + 0x2c], 5
call fcn.006086f6
mov dword [esi + 0x94], 0x383
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb8], ebx
lea ebx, [esi + 0xbc]
mov eax, 7
push 0xa
mov ecx, ebx
mov byte [esp + 0x30], 6
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
call fcn.00481d20
mov dword [ebx], vtable.CTDCCustomAttributeDataMap.0
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 7
push eax
call sub.MFC42u.DLL_COleDateTime::GetTickCount
mov ecx, dword [eax]
mov dword [esi + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xa8], edx
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0xac], eax
mov dword [esi + 0x98], ecx
mov edx, dword [esi + 0xa8]
mov dword [esi + 0x9c], edx
mov eax, dword [esi + 0xac]
mov dword [esi + 0xa0], eax
lea esi, [ebp + 0xdc]
mov dword [esp + 0x2c], 8
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CArray_struct_SEARCHPARAM__struct_SEARCHPARAM__.0
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
lea ebx, [esi + 0x14]
mov byte [esp + 0x2c], 9
mov ecx, ebx
call fcn.004a2080
lea ecx, [esi + 0x3c]
mov byte [esp + 0x2c], 0xa
call fcn.004858d0
push 0xffffffffffffffff
push edi
mov ecx, esi
mov byte [esp + 0x34], 0xb
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], edi
call fcn.00482e50
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.00482ca0
push edi
lea ecx, [esi + 0x58]
mov byte [esp + 0x30], 0xc
call sub.MFC42u.DLL_CString::CString_6
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x5c], edi
mov dword [ebp + 0x13c], edi
pop edi
mov dword [ebp], 0x6abec4
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x51af50
Capabilities:
Get number of processors

Disassembly:
mov eax, dword [ecx + 0x13c]
cmp eax, 4
ja case.0x51af5b.0
jmp dword [eax*4 + 0x51af7c]
add ecx, 4
jmp fcn.004cea60
mov edx, dword [ecx + 0xe4]
xor eax, eax
test edx, edx
setne al
ret
xor eax, eax
ret
Function at 0x524900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6878ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 8], 0
mov eax, dword [edi + 8]
test eax, eax
jne 0x524950
mov esi, dword [esp + 0x30]
push 0x738574
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_6
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0xc]
call fcn.006086f6
mov esi, dword [edi + 8]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call sub.MFC42u.DLL_CStringArray::SetSize
mov eax, esi
dec esi
test eax, eax
je 0x52499c
push ebp
mov ebp, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
push eax
lea eax, [edx + esi*4]
push ebp
push eax
call sub.MFC42u.DLL_CString::Format_1
add esp, 0xc
mov ecx, esi
dec esi
test ecx, ecx
jne 0x52497c
pop ebp
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
push 0
lea eax, [esp + 0x10]
push edx
push eax
push esi
call fcn.004182e0
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret