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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465057
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004630ac
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00463084
jmp 0x465063
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x466710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x466752
call fcn.0046c1c4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x466752
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466749
xor eax, eax
jmp 0x46675a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00466760
pop edi
pop esi
pop ebx
ret 4

Function at 0x46c6f4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46c722
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46c740
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046c65a
jmp 0x46c740
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46c740
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046c65a
test edi, edi
mov eax, edi
jne 0x46c72a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441090]
jne 0x401abf
repz ret
jmp fcn.00402aa8

Function at 0x409c2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004065a0
and dword [ebp - 4], 0
cmp dword [0x444f78], 0
mov ebx, eax
jne 0x409cdf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409d90
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409d90
push eax
call fcn.0040652e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444f78], eax
call esi
push eax
call fcn.0040652e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444f7c], eax
call esi
push eax
call fcn.0040652e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x444f80], eax
call esi
push eax
call fcn.0040652e
pop ecx
mov dword [0x444f88], eax
test eax, eax
je 0x409cdf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040652e
pop ecx
mov dword [0x444f84], eax
mov eax, dword [0x444f84]
cmp eax, ebx
je 0x409d37
cmp dword [0x444f88], ebx
je 0x409d37
push eax
call fcn.004065a9
push dword [0x444f88]
mov esi, eax
call fcn.004065a9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409d37
test edi, edi
je 0x409d37
call esi
test eax, eax
je 0x409d2e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409d2e
test byte [ebp - 0xc], 1
jne 0x409d37
or dword [ebp + 0x10], 0x200000
jmp 0x409d70
mov eax, dword [0x444f7c]
cmp eax, ebx
je 0x409d70
push eax
call fcn.004065a9
pop ecx
test eax, eax
je 0x409d70
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409d70
mov eax, dword [0x444f80]
cmp eax, ebx
je 0x409d70
push eax
call fcn.004065a9
pop ecx
test eax, eax
je 0x409d70
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444f78]
call fcn.004065a9
pop ecx
test eax, eax
je 0x409d90
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409d92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a02b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001f10]
jne 0x1000af38
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1000eba8], eax
mov dword [0x1000eba4], ecx
mov dword [0x1000eba0], edx
mov dword [0x1000eb9c], ebx
mov dword [0x1000eb98], esi
mov dword [0x1000eb94], edi
mov word [0x1000ebc0], ss
mov word [0x1000ebb4], cs
mov word [0x1000eb90], ds
mov word [0x1000eb8c], es
mov word [0x1000eb88], fs
mov word [0x1000eb84], gs
pushfd
pop dword [0x1000ebb8]
mov eax, dword [ebp]
mov dword [0x1000ebac], eax
mov eax, dword [ebp + 4]
mov dword [0x1000ebb0], eax
lea eax, [ebp + 8]
mov dword [0x1000ebbc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1000eaf8], 0x10001
mov eax, dword [0x1000ebb0]
mov dword [0x1000eaac], eax
mov dword [0x1000eaa0], 0xc0000409
mov dword [0x1000eaa4], 1
mov eax, dword [0x10001f10]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1000e7d0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1000eaf0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10002110
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1000eaf0], 0
jne 0x1000b024
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x1000a8bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000a8ca
pop dword [ebp - 0x28]
mov eax, 0x1000a8ca
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x93b3b8f1
add dword [ebp - 0x38], 0xba9e8c5a
mov dword [ebp - 0x34], 0x1205c5e4
sub dword [ebp - 0x34], 0xdfd2799f
mov dword [ebp - 0x30], 0xcfe2a7bc
sub dword [ebp - 0x30], 0x8396638e
mov dword [ebp - 0x2c], 0xb18dd885
add dword [ebp - 0x2c], 0x4e72277b
lea eax, [ebp - 0x38]
push eax
mov eax, 0x2fd72e28
add eax, 0xe028e214
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x91c594d
add dword [ebp - 0x38], 0x6b561009
mov dword [ebp - 0x34], 0xb43d21e6
sub dword [ebp - 0x34], 0x72d0c071
mov dword [ebp - 0x30], 0xc983ce1c
sub dword [ebp - 0x30], 0x661461b0
mov dword [ebp - 0x2c], 0x4a00ff39
add dword [ebp - 0x2c], 0xb5ff00c7
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b54b
push 0
call eax
mov ecx, 0x203d90ad
add ecx, 0xdfc2c3ae
xor edx, edx
add edx, eax
mov edi, 0x72fa82af
add edi, 0x9d069d51
add edi, dword [ebp - 0x28]
mov esi, 0xbab7f390
sub dword [ebp - 0x20], ecx
mov ebx, dword [edi]
xor dword [ebp - 0x10], 0xee07dec
xor ebx, esi
add dword [ebp - 8], esi
mov dword [edx], ebx
add dword [ebp - 0x10], 0xda8d21c5
add edx, 4
add edi, 4
loop 0x1000a9de
add eax, 0x2c4350cd
add eax, 0xd3bdf372
mov ebx, eax
add eax, 5
mov ecx, 0x682358a8
sub ecx, 0x582358a8
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x406810
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0
push 0x494d30
push 2
push 0
push str.AppEventsSchemesAppsExplorerNavigating.Current
push SysReAllocStringLen
call esi
push 0
push 0x494d30
push 2
push 0
push str.AppEventsSchemesAppsExplorerBlockedPopup.Current
push SysReAllocStringLen
call esi
push 1
push 2
test eax, eax
push 0x15
sete bl
call sub.urlmon.dll_CoInternetSetFeatureEnabled
test eax, eax
jl 0x406863
push 2
push 0x15
call sub.urlmon.dll_CoInternetIsFeatureEnabled
pop esi
mov al, bl
pop ebx
ret

Function at 0x40f0c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x48915b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00468846
push 4
mov dword [esp + 0x24], 0
call fcn.00469670
mov edi, eax
add esp, 4
test edi, edi
je 0x40f142
call fcn.00468677
mov dword [edi], eax
call fcn.004684a5
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004683c9
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40f137
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004683f1
jmp 0x40f144
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40f1c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x48915b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00468846
push 4
mov dword [esp + 0x24], 0
call fcn.00469670
mov edi, eax
add esp, 4
test edi, edi
je 0x40f242
call fcn.00468677
mov dword [edi], eax
call fcn.004684a5
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004683c9
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40f237
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004683f1
jmp 0x40f244
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4162e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48aa0a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
call fcn.0041acd0
mov eax, dword [esi + 4]
add eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ebx
je 0x41636e
mov edx, 7
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x38], 1
mov ecx, dword [ecx]
mov dword [eax], ecx
lea ecx, [eax + 4]
mov dword [ecx + 0x18], edx
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x1c]
mov ebx, 1
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x14], ebx
mov word [ecx + 4], dx
call fcn.0040d190
test bl, 1
je 0x416387
cmp dword [esp + 0x2c], 8
jb 0x416387
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00469665
add esp, 4
mov byte [esi + 9], 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret 4
Function at 0x418000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48aa0a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
call fcn.0041d180
mov eax, dword [esi + 4]
add eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ebx
je 0x418074
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x3c], 1
mov ebx, 1
push eax
mov dword [esp + 0x10], ebx
call fcn.00419a80
test bl, 1
je 0x41808d
cmp dword [esp + 0x2c], 8
jb 0x41808d
mov eax, dword [esp + 0x18]
push eax
call fcn.00469665
add esp, 4
mov byte [esi + 9], 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret 4

Function at 0x419610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a8de
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov word [esi + 4], dx
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov word [esi + 0x20], ax
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call fcn.004146f0
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call fcn.0041a870
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x419840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], 0
mov ebx, dword [esi + 0x10]
mov ebp, dword [esi + 0xc]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x4198c9
cmp ebp, ebx
jbe 0x41989d
call fcn.00469f76
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebp, dword [esi]
lea eax, [esp + 0x44]
push eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
push edi
push ebx
push ebp
mov ecx, esi
call fcn.0041a140
jmp 0x419919
jae 0x419919
cmp ebp, ebx
jbe 0x4198d4
call fcn.00469f76
mov ebp, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x18], edx
cmp ebp, dword [esi + 0x10]
jbe 0x4198e7
call fcn.00469f76
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
call fcn.0041a6c0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push ebx
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0041a090
lea ecx, [esp + 0x44]
call fcn.00419340
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x68
Function at 0x41c4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x48a808
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
lea edi, [ebx + 4]
lea esi, [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], eax
call fcn.004203b0
mov eax, dword [edi]
xor ecx, ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
cmp edx, ebx
je 0x41c51d
mov edx, dword [ebx]
mov dword [esp + 0x38], edx
mov dword [ebx], ecx
lea edx, [esp + 0x3c]
cmp edx, edi
je 0x41c52d
mov edx, eax
mov dword [esp + 0x3c], edx
mov dword [edi], eax
mov edi, dword [ebx + 0x18]
mov dword [ebx + 0x10], ecx
cmp edi, esi
je 0x41c572
mov esi, dword [edi]
test esi, esi
je 0x41c569
lea ecx, [ecx]
lea eax, [esi + 4]
push eax
call fcn.00412820
xor edx, edx
div dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [ecx + edx*4]
mov edx, dword [esi]
mov dword [edi], edx
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [eax], esi
mov esi, dword [edi]
test esi, esi
jne 0x41c540
add edi, 4
cmp edi, dword [esp + 0x20]
jne 0x41c537
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [ebx + 0x10], edx
cmp eax, ebx
je 0x41c58d
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx]
mov dword [esp + 0x2c], ecx
mov dword [ebx], eax
lea edx, [esp + 0x30]
lea eax, [ebx + 4]
cmp edx, eax
je 0x41c5a4
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov dword [eax], ecx
cmp dword [ebx + 0x10], 0
je 0x41c5c2
mov eax, dword [ebx]
mov dword [ebx + 0x18], eax
cmp dword [eax], 0
jne 0x41c5cc
add dword [ebx + 0x18], 4
mov eax, dword [ebx + 0x18]
cmp dword [eax], 0
je 0x41c5b4
jmp 0x41c5cc
mov ecx, dword [eax]
mov edx, dword [ebx]
lea eax, [edx + ecx*4]
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
fld dword [ebx + 0x14]
fild dword [ebx + 4]
test ecx, ecx
jge 0x41c5df
fadd qword [0x4995d8]
fmulp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0046a310
fld qword [0x4995f0]
add esp, 8
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x41c607
fstp st(0)
mov eax, 0xffffffff
jmp 0x41c629
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
fldcw word [esp + 0x20]
cmp dword [esp + 0x38], 0
mov dword [ebx + 0x1c], eax
je 0x41c63c
lea ecx, [esp + 0x38]
call fcn.00416f50
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x2c], 0
je 0x41c657
lea ecx, [esp + 0x2c]
call fcn.00416f50
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41cc50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dd78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x40]
mov ebx, dword [esi + 0x44]
cmp edi, ebx
jl 0x41ccbe
test byte [esi + 0x68], 4
je 0x41cda4
lea ecx, [esp + 0x18]
call fcn.0046980e
mov dword [esp + 0x18], vtable.boost::io::too_many_args.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x3c], 0
call fcn.00420760
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x41cda4
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x41ccea
call fcn.00469f76
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x41cd7f
cmp byte [esi + 0xb8], 0
je 0x41cd12
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x41cd1a
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41cd39
call fcn.00469f76
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x41cd5b
call fcn.00469f76
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x6c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + ebx + 4]
push ecx
add edx, eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call fcn.00421170
add esp, 0x14
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x41ccea
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d430
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48dd78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x40]
mov ebx, dword [esi + 0x44]
cmp edi, ebx
jl 0x41d49e
test byte [esi + 0x68], 4
je 0x41d584
lea ecx, [esp + 0x18]
call fcn.0046980e
mov dword [esp + 0x18], vtable.boost::io::too_many_args.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x3c], 0
call fcn.00420760
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x41d584
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x41d4ca
call fcn.00469f76
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x41d55f
cmp byte [esi + 0xb8], 0
je 0x41d4f2
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x41d4fa
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41d519
call fcn.00469f76
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x41d53b
call fcn.00469f76
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x6c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + ebx + 4]
push ecx
add edx, eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call fcn.00421650
add esp, 0x14
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x41d4ca
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4896d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00422d60
mov dword [esp + 0x18], 0
test edi, edi
je 0x4229d4
add edi, 0x30
jmp 0x4229d6
xor edi, edi
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4229ee
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_wchar_t__class_std::allocator_wchar_t____.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_struct_boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_wchar_t__class_std::allocator_wchar_t____.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4