joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x465e83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00459bd0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045f266
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00460782
test eax, eax
je 0x43995c
mov ecx, dword [esp + 0x3c]
call fcn.0045f293
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x439920
push edi
mov ecx, esi
call fcn.0045c8f7
mov ecx, esi
call fcn.00439ac0
cmp dword [esp + 0x38], 1
jne 0x439955
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045ca32
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43c380
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43c3b3
push esi
call fcn.0043f470
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43c3ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43c439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43c422
mov eax, dword [esi + 8]
test eax, eax
je 0x43c3d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43c41e
cmp eax, 2
je 0x43c422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43c3ca
cmp eax, 3
je 0x43c3fd
cmp eax, 1
jne 0x43c3ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43c3ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43c3ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043c460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43c448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043c460
add esp, 4
pop esi
ret

Function at 0x45a9c6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45a9fe
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.00458a7a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00458a52
jmp 0x45aa0a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45c0b4
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 0x45c0f6
call fcn.00461b6d
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 0x45c0f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45c0ed
xor eax, eax
jmp 0x45c0fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045c104
pop edi
pop esi
pop ebx
ret 4

Function at 0x46209d
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 0x4620cb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4620e9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00462003
jmp 0x4620e9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4620e9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00462003
test edi, edi
mov eax, edi
jne 0x4620d3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1e12d2
Capabilities:
Parse pe header

Disassembly:
test ecx, ecx
je 0x1e1302
mov eax, 0x5a4d
cmp ax, word [ecx]
jne 0x1e1302
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1e1302
mov ecx, 0x14c
cmp word [eax + 4], cx
jne 0x1e1302
test byte [eax + 0x16], 2
je 0x1e1302
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x1e161a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
lea edi, [ebp - 4]
mov edx, 0x1003308
stosd dword es:[edi], eax
test ebx, ebx
je 0x1e170a
mov ecx, ebx
call fcn.001e12d2
test eax, eax
je 0x1e170a
mov eax, dword [ebx + 0x3c]
lea edi, [eax + ebx + 0x78]
push 2
pop ecx
lea esi, [ebp - 8]
xor eax, eax
mov dword [ebp + 8], edi
repe cmpsd dword [esi], dword es:[edi]
je 0x1e170a
mov eax, dword [ebp + 8]
mov esi, dword [eax]
xor ecx, ecx
cmp esi, ecx
je 0x1e170a
add esi, ebx
mov edi, dword [esi + 0x1c]
cmp edi, ecx
je 0x1e170a
mov eax, edx
shr eax, 0x10
test ax, ax
jne 0x1e16c8
mov edx, dword [esi + 0x24]
cmp edx, ecx
je 0x1e170a
mov eax, 0x1003308
movzx eax, ax
sub eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov dword [ebp + 8], ecx
cmp esi, ecx
jbe 0x1e170a
lea ecx, [edx + ebx]
add edi, ebx
movzx edx, word [ecx]
cmp eax, edx
je 0x1e16c2
inc dword [ebp + 8]
add edi, 4
inc ecx
inc ecx
cmp dword [ebp + 8], esi
jb 0x1e16ac
jmp 0x1e170a
mov eax, dword [edi]
add eax, ebx
jmp 0x1e170c
cmp dword [esi + 0x20], ecx
je 0x1e170a
mov dword [ebp + 8], ecx
cmp dword [esi + 0x14], ecx
jbe 0x1e170a
jmp 0x1e16dc
mov edx, 0x1003308
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
shl eax, 2
add edi, eax
add ecx, eax
mov eax, dword [ecx + ebx]
add eax, ebx
push edx
push eax
add edi, ebx
call dword [0x1003034]
test eax, eax
je 0x1e16c2
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x14]
jb 0x1e16d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1e1e1e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [edi + 0x3c]
and dword [esp + 4], 0
add eax, edi
mov ecx, 0x8664
cmp word [eax + 4], cx
jne 0x1e1e3e
mov eax, dword [eax + 0x88]
jmp 0x1e1e41
mov eax, dword [eax + 0x78]
add eax, edi
push ebp
test eax, eax
je 0x1e1ead
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1e1ead
mov ebp, dword [eax + 0x20]
test ebp, ebp
je 0x1e1ead
and dword [esp + 4], 0
push ebx
mov ebx, dword [eax + 0x18]
push esi
mov esi, dword [eax + 0x24]
add ecx, edi
add ebp, edi
add esi, edi
mov dword [esp + 0x14], ecx
test ebx, ebx
jbe 0x1e1ea5
mov eax, dword [ebp]
push 0x1003354
add eax, edi
push eax
call dword [0x1003034]
test eax, eax
je 0x1e1e97
add ebp, 4
inc esi
inc esi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jb 0x1e1e71
jmp 0x1e1ea5
movzx eax, word [esi]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop esi
pop ebx
jmp 0x1e1eaf
xor eax, eax
pop ebp
add esp, 0xc
ret

Function at 0x1e1eb4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [eax + ecx + 0x18]
Function at 0x1e20b0
Capabilities:
Decompress data using aplib

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov al, byte [esi]
push edi
xor ebx, ebx
mov byte [ecx], al
add ecx, 1
xor edi, edi
add esi, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
lea ecx, [ecx]
mov eax, ebx
sub ebx, 1
test eax, eax
jne 0x1e20f6
movzx edx, byte [esi]
add esi, 1
mov dword [esp + 0x14], esi
lea ebx, [eax + 7]
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
test eax, eax
je 0x1e22b3
mov eax, ebx
sub ebx, 1
test eax, eax
mov dword [esp + 0x20], ebx
jne 0x1e2128
movzx edx, byte [esi]
add esi, 1
mov ebx, 7
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebx
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
test eax, eax
mov dword [esp + 0x1c], edx
je 0x1e21f8
mov eax, ebx
sub ebx, 1
test eax, eax
jne 0x1e2154
movzx edx, byte [esi]
add esi, 1
mov dword [esp + 0x14], esi
lea ebx, [eax + 7]
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
test eax, eax
je 0x1e21a6
xor edi, edi
lea ebp, [edi + 4]
mov eax, ebx
sub ebx, 1
test eax, eax
jne 0x1e2179
movzx edx, byte [esi]
add esi, 1
lea ebx, [eax + 7]
mov eax, edx
shr eax, 7
and eax, 1
add edx, edx
sub ebp, 1
lea edi, [eax + edi*2]
jne 0x1e2167
test edi, edi
mov dword [esp + 0x14], esi
je 0x1e219e
mov eax, ecx
sub eax, edi
mov al, byte [eax]
jmp 0x1e22bc
mov byte [ecx], 0
jmp 0x1e22be
movzx ebp, byte [esi]
mov edi, ebp
and edi, 1
add esi, 1
add edi, 2
shr ebp, 1
mov dword [esp + 0x14], esi
je 0x1e21e2
test edi, edi
je 0x1e21ea
mov eax, ecx
sub eax, ebp
mov al, byte [eax]
mov byte [ecx], al
add ecx, 1
sub edi, 1
jne 0x1e21c0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ebp
mov edi, 1
jmp 0x1e22c7
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], ebp
mov edi, 1
jmp 0x1e22c7
lea ecx, [esp + 0x14]
call fcn.001e2030
test edi, edi
jne 0x1e223e
cmp eax, 2
jne 0x1e2239
lea ecx, [esp + 0x14]
call fcn.001e2030
test eax, eax
mov ecx, dword [esp + 0x18]
je 0x1e22a0
nop
mov edx, ecx
sub edx, dword [esp + 0x28]
add ecx, 1
sub eax, 1
mov dl, byte [edx]
mov byte [ecx - 1], dl
jne 0x1e2220
mov dword [esp + 0x18], ecx
jmp 0x1e22a0
sub eax, 3
jmp 0x1e2241
sub eax, 2
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx]
add ecx, 1
shl eax, 8
add eax, edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.001e2030
cmp esi, 0x7d00
jb 0x1e226a
add eax, 1
cmp esi, 0x500
jb 0x1e2275
add eax, 1
cmp esi, 0x80
jae 0x1e2280
add eax, 2
test eax, eax
mov ecx, dword [esp + 0x18]
je 0x1e229c
mov edx, ecx
sub edx, esi
mov dl, byte [edx]
mov byte [ecx], dl
add ecx, 1
sub eax, 1
jne 0x1e2288
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edi, 1
jmp 0x1e22c7
mov al, byte [esi]
add esi, 1
mov dword [esp + 0x14], esi
mov byte [ecx], al
add ecx, 1
xor edi, edi
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x10], 0
je 0x1e20e0
pop edi
pop esi
mov eax, ecx
sub eax, dword [esp + 0x24]
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x10011780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10038fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], 0x1003cc94
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x18], 0x1003cc2c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.10015730
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call fcn.10015730
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 3
call fcn.10015730
lea ecx, [esi + 0x84]
mov byte [esp + 0x14], 4
call fcn.10015730
lea ecx, [esi + 0xa0]
mov byte [esp + 0x14], 5
call fcn.10015730
push fcn.10013d50
push 0x10013d30
push 3
lea eax, [esi + 0xc8]
push 0x14
push eax
mov byte [esp + 0x28], 6
call fcn.1003859c
push fcn.10013d50
push 0x10013d30
push 3
lea ecx, [esi + 0x104]
push 0x14
push ecx
mov byte [esp + 0x28], 7
call fcn.1003859c
mov eax, 0x1003cc80
mov dword [esi + 0x140], 0x1003cc6c
mov dword [esi + 0x144], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], edi
mov dword [esi + 0x178], edi
mov dword [esi + 0x174], edi
mov dword [esi + 0x170], edi
mov dword [esi], 0x1003cc68
call dword [sym.imp.kernel32.dll_GetACP]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xbc], eax
mov dword [0x10045390], edi
mov dword [esi + 0x2c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x10045208
jmp 0x10009e50

Function at 0x100154e0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov word [esi + 4], ax
mov word [esi + 0x10], ax
lea eax, [esp + 4]
push eax
mov dword [esi], 0x1003cce8
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [esp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
pop esi
add esp, 0x24
ret
Function at 0x1001b750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10039ee3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
fld dword [eax + 4]
fsub dword [esi + 4]
push edi
mov ebx, ecx
sub esp, 8
fstp qword [esp]
fld dword [eax]
fsub dword [esi]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.msvcrt.dll__hypot]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
fstp qword [esp + 0x1c]
fld dword [eax + 4]
fsub dword [edi + 4]
add esp, 8
sub esp, 8
fstp qword [esp + 8]
fld dword [eax]
fsub dword [edi]
fstp qword [esp]
call dword [sym.imp.msvcrt.dll__hypot]
fld qword [esp + 0x1c]
fcomp qword [0x1003cd38]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x1001b8e8
fcom qword [0x1003cd38]
fnstsw ax
test ah, 1
jne 0x1001b8e8
fld qword [esp + 0xc]
fdiv st(1)
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x80]
fstp qword [esp + 0x24]
fstp st(0)
fld dword [eax + 4]
fsub dword [esi + 4]
fld dword [eax]
fsub dword [esi]
mov eax, dword [ebp + 0xc]
fpatan
fld dword [eax + 4]
fsub dword [edi + 4]
fld dword [eax]
fsub dword [edi]
fpatan
fsubp st(1)
fstp qword [esp + 0xc]
call fcn.10023ef0
lea ecx, [esp + 0x30]
mov dword [esp + 0xd8], 0
call fcn.10023ef0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0xe0], 1
call fcn.1001b960
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.1001b990
lea ecx, [esp + 0x30]
lea edx, [esp + 0x80]
push ecx
push edx
mov ecx, ebx
call fcn.1001bbc0
fld dword [edi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x1c]
fld dword [edi + 4]
push eax
push ecx
fstp qword [esp + 0x1c]
mov ecx, ebx
call fcn.10023fc0
fld dword [esi + 4]
fsub qword [esp + 0x14]
sub esp, 8
mov ecx, ebx
sub esp, 8
fstp qword [esp + 8]
fld dword [esi]
fsub qword [esp + 0x2c]
fstp qword [esp]
call fcn.1001bba0
lea ecx, [esp + 0x30]
call fcn.10032a70
lea ecx, [esp + 0x80]
call fcn.10032a70
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, ebx
fstp st(0)
call fcn.1001b710
fld dword [esi + 4]
fsub dword [edi + 4]
sub esp, 8
mov ecx, ebx
sub esp, 8
fstp qword [esp + 8]
fld dword [esi]
fsub dword [edi]
fstp qword [esp]
call fcn.1001bba0
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001d860
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10039f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.10023ef0
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push esi
push edi
push ebx
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 0
call fcn.10023cf0
test al, al
jne 0x1001d922
fld qword [0x1003ced8]
fmul qword [0x1003ccc0]
fld st(0)
fadd qword [ebp + 8]
fstp qword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
fadd qword [ebp + 0x10]
fstp qword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push esi
push edi
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.10023cf0
test al, al
jne 0x1001d922
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.10032a70
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
lea esi, [esp + 0x10]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp + 0x20]
fld qword [ebp + 8]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x30]
fstp qword [eax + 0x10]
mov dword [eax + 0x24], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + 8], ecx
lea edi, [eax + 0x30]
mov ecx, 0xa
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x34]
mov dword [eax], 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
mov dword [eax + 0xc], edx
mov dword [esp + 0x40], 0xffffffff
call fcn.10032a70
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001f050
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003a0b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax]
test ecx, ecx
jne 0x1001f0a2
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x40]
mov dword [ecx], edx
mov edx, dword [eax + 0x44]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x48]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x1001f193
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 8]
lea esi, [eax + 0x30]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1001c490
lea ecx, [esp + 0x40]
call fcn.10023ef0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0
call fcn.10023cf0
lea ecx, [esp + 0x18]
call fcn.10023ef0
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
call fcn.10023d50
fld qword [esi + 0x18]
fcomp qword [0x1003cba0]
fld qword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x1001f14c
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
fstp qword [eax]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
jmp 0x1001f164
fmul qword [0x1003cce0]
mov eax, dword [ebp + 0x14]
fstp qword [eax]
fld qword [esp + 0x30]
fmul qword [0x1003cce0]
fstp qword [eax + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call fcn.10032a70
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.10032a70
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea ecx, [eax + 0x30]
call fcn.10025630
mov ecx, dword [esp + 0x68]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001f8e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003a0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
fld qword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
fabs
fcomp qword [0x1003c7c8]
push edi
mov ecx, 0x1c
mov esi, edx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
fnstsw ax
test ah, 1
je 0x1001f938
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
xor edi, edi
cmp eax, edi
jne 0x1001f9dc
lea ecx, [esp + 0x10]
call fcn.10023ef0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x40], edi
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
lea ecx, [eax + 0x30]
call fcn.10023da0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
fld qword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [ebx + 8], ecx
fadd qword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], eax
fstp qword [ebx + 0x20]
fld qword [esp + 0x28]
fadd qword [esp + 0x18]
lea edi, [ebx + 0x30]
mov ecx, 0xa
lea esi, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
fstp qword [ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
call fcn.10032a70
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x1001fa5f
fld qword [ebx + 0x48]
fcomp qword [0x1003cba0]
lea esi, [ebx + 0x30]
fnstsw ax
test ah, 0x41
jne 0x1001f9fc
fld qword [esi + 0x10]
fsub qword [ebp + 8]
jmp 0x1001fa02
fld qword [ebp + 8]
fadd qword [esi + 0x10]
fstp qword [esi + 0x10]
fld qword [esi + 0x10]
fcomp qword [0x1003cc60]
fnstsw ax
test ah, 1
je 0x1001fa1f
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0x3ff00000
fld qword [esi + 0x18]
fmul qword [esi + 0x10]
lea ecx, [ebx + 0x10]
push ecx
push edi
fabs
fst qword [esi + 0x28]
fstp qword [ebx + 8]
push edi
mov ecx, esi
call fcn.1001c490
add ebx, 0x20
mov ecx, esi
push ebx
push 0x3ff00000
push edi
call fcn.1001c490
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
push eax
push ecx
call fcn.1001f7c0
mov ecx, dword [esp + 0x4c]
add esp, 0x14
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret