joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007e456
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ecx
push edi
xor edi, edi
push edi
push edi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFArrayCreateMutable
push edi
push edi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
mov dword [0x10189af4], eax
call sym.CoreFoundation.dll_CFArrayCreateMutable
push edi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
mov dword [0x10189af8], eax
call sym.CoreFoundation.dll_CFDataCreateMutable
push edi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
mov dword [0x10189afc], eax
call sym.CoreFoundation.dll_CFDataCreateMutable
push edi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
mov dword [0x10189b00], eax
call sym.CoreFoundation.dll_CFDataCreateMutable
add esp, 0x30
mov dword [0x10189b04], eax
call fcn.1007e5f3
call fcn.1007ce27
test eax, eax
jns 0x1007e4dd
push str._Could_not_create_wakeup_socket_pair_for_CFSocket___
call sym.CoreFoundation.dll___CFStringMakeConstantString
push eax
push 4
call sym.CoreFoundation.dll_CFLog
add esp, 0xc
jmp 0x1007e59d
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [esp + 0x10]
push eax
mov ebx, 0x8004667e
mov dword [esp + 0x14], 1
push ebx
push dword [0x10179100]
call esi
lea eax, [esp + 0x10]
push eax
push ebx
push dword [0x10179104]
call esi
mov ebp, dword [0x10179104]
mov ebx, dword [0x10189b00]
mov dword [esp + 0x14], ebx
cmp ebp, 0xffffffff
je 0x1007e59a
push ebx
call sym.CoreFoundation.dll_CFDataGetMutableBytePtr
push ebx
mov esi, eax
call sym.CoreFoundation.dll_CFDataGetLength
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1007e554
push esi
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x1007e59a
test ebx, ebx
jle 0x1007e554
mov eax, dword [esi]
lea eax, [eax*4 + 8]
jmp 0x1007e559
mov eax, 0x1004
cmp eax, ebx
jle 0x1007e575
mov esi, dword [esp + 0x14]
sub eax, ebx
push eax
push esi
call sym.CoreFoundation.dll_CFDataIncreaseLength
push esi
call sym.CoreFoundation.dll_CFDataGetMutableBytePtr
add esp, 0xc
mov esi, eax
cmp edi, dword [esi]
jae 0x1007e58a
lea eax, [esi + 4]
cmp dword [eax], ebp
je 0x1007e588
inc edi
add eax, 4
cmp edi, dword [esi]
jb 0x1007e57c
cmp edi, dword [esi]
jne 0x1007e59a
cmp dword [esi], 0x400
jae 0x1007e59a
mov dword [esi + edi*4 + 4], ebp
inc dword [esi]
pop esi
pop ebp
pop ebx
pop edi
pop ecx
pop ecx
ret

Function at 0x1007e5f3
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x101844f8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10189b0c], 0
jne 0x1007e658
lea eax, [ebp - 0x194]
mov byte [0x10189b0c], 1
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1007e63d
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x1007e63d
shr eax, 8
cmp al, 2
je 0x1007e658
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str._Could_not_initialize_WinSock_subsystem___
call sym.CoreFoundation.dll___CFStringMakeConstantString
push eax
push 4
call sym.CoreFoundation.dll_CFLog
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000234c
leave
ret
Function at 0x100b30aa
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x101844f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 0x30c
call fcn.1000333c
mov edi, dword [ebp + 0x10]
mov eax, esp
mov dword [ebp - 8], eax
cmp edi, 0x104
jg 0x100b30da
mov esi, esp
jmp 0x100b30e7
imul eax, edi, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x100b31ab
mov ecx, esi
mov edx, ebx
test edi, edi
jle 0x100b3172
mov ebx, dword [ebp + 0xc]
mov al, byte [edx + ebx]
test al, al
je 0x100b3170
cmp al, 0x3f
ja 0x100b311f
cmp al, 0x3e
jae 0x100b3145
cmp al, 0x22
jb 0x100b3133
cmp al, 0x23
jbe 0x100b3145
cmp al, 0x25
je 0x100b3145
cmp al, 0x3a
jbe 0x100b3133
cmp al, 0x3c
jmp 0x100b3131
cmp al, 0x5b
jb 0x100b3133
cmp al, 0x5e
jbe 0x100b3145
cmp al, 0x60
je 0x100b3145
cmp al, 0x7a
jbe 0x100b3133
cmp al, 0x7d
jbe 0x100b3145
cmp al, 0x20
jbe 0x100b3145
cmp al, 0x7f
jae 0x100b3145
cmp byte [ebp + 0x14], 0
je 0x100b3168
cmp al, 0x2f
jne 0x100b3168
mov byte [ecx], 0x25
movzx eax, byte [edx + ebx]
shr eax, 4
mov al, byte [eax + str.0123456789ABCDEF]
mov byte [ecx + 1], al
add ecx, 2
movzx eax, byte [edx + ebx]
and eax, 0xf
mov al, byte [eax + str.0123456789ABCDEF]
inc edx
mov byte [ecx], al
inc ecx
cmp edx, edi
jl 0x100b30fc
xor ebx, ebx
cmp edx, edi
je 0x100b3187
jge 0x100b3185
cmp byte [edx + esi], 0
jne 0x100b3183
inc edx
cmp edx, edi
jl 0x100b3178
cmp edx, edi
jne 0x100b319e
push ebx
push 0x8000100
sub ecx, esi
push ecx
push esi
push dword [ebp + 8]
call sym.CoreFoundation.dll_CFStringCreateWithBytes
mov ebx, eax
add esp, 0x14
cmp esi, dword [ebp - 8]
je 0x100b31ab
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov eax, ebx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000234c
leave
ret
Function at 0x100bdf84
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test ebx, ebx
je 0x100bdfc0
push ebx
call sym.CoreFoundation.dll_CFGetTypeID
pop ecx
mov esi, eax
call sym.CoreFoundation.dll_CFStringGetTypeID
cmp esi, eax
jne 0x100bdfb8
push 0
push ebx
call fcn.100019c4
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x100bdfd4
push ebx
call sym.CoreFoundation.dll_CFCopyDescription
jmp 0x100bdfd1
push 0x1014a808
call sym.CoreFoundation.dll___CFStringMakeConstantString
push eax
call sym.CoreFoundation.dll_CFRetain
pop ecx
pop ecx
mov edi, eax
push edi
call sym.CoreFoundation.dll_CFStringGetLength
push edi
call sym.CoreFoundation.dll_CFStringGetCharactersPtr
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x100be02c
push edi
call sym.CoreFoundation.dll_CFStringGetLength
mov esi, eax
mov dword [esp], 0x100
push esi
call sym.CoreFoundation.dll_CFStringGetMaximumSizeForEncoding
lea eax, [eax*4 + 8]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
push ebx
push esi
push 0
push edi
call sym.CoreFoundation.dll_CFStringGetCharacters
add esp, 0x1c
mov byte [ebp - 4], 1
push 0xa
pop eax
mov word [ebx + esi*2], ax
xor eax, eax
mov word [ebx + esi*2 + 2], ax
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [ebp - 4], 0
je 0x100be041
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test edi, edi
je 0x100be04c
push edi
call sym.CoreFoundation.dll_CFRelease
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100bfdad
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x101844f8]
xor eax, ebp
mov dword [ebp + 0x194], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x74]
push 0x208
push ebx
push eax
mov esi, ebx
call fcn.101331af
add esp, 0xc
lea eax, [ebp - 0x74]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
test edi, edi
je 0x100bfedd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x100bfedd
cmp edi, 0x104
je 0x100bfedd
push edi
lea eax, [ebp - 0x74]
push eax
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFStringCreateWithCharacters
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100bfe57
push ebx
push 2
push esi
push dword [sym.CoreFoundation.dll_kCFAllocatorSystemDefault]
call sym.CoreFoundation.dll_CFURLCreateWithFileSystemPath
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100bfe57
push esi
call sym.CoreFoundation.dll_CFRelease
push edi
call sym.CoreFoundation.dll_CFURLCopyLastPathComponent
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x100bfedd
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x100bfedd
push edi
push ebx
push 0
lea eax, [ebp - 0x74]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100bfed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100bfed5
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x1014c410
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100bfed5
mov ecx, dword [ebp - 0x78]
mov ax, word [ecx + 0xa]
mov word [0x1018a74c], ax
mov ax, word [ecx + 8]
mov word [0x1018a750], ax
mov ax, word [ecx + 0xe]
mov word [0x1018a754], ax
mov ax, word [ecx + 0xc]
mov word [0x1018a758], ax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
cmp dword [0x1018a748], 0
jne 0x100bfefd
test esi, esi
jne 0x100bfef7
push 0x10138aa2
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
mov esi, eax
mov dword [0x1018a748], esi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000234c
add ebp, 0x198
leave
ret
Function at 0x100c3d05
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add edi, 0x5b24
pop edi
jmp 0x100c3f42
push ebx
or ebx, 0x12c82
or ebx, 0x26a2
pop ebx
push esi
push ebx
add esp, 4
and esi, 0x152f7
pop esi
push edi
push ebx
add esp, 4
call 0x100c3f70
add byte [ecx + 0x48], cl
inc edx
dec esp
xor eax, 0x503d3747
add esp, 4
pop edi
mov dword [ebp - 0xa7c], 0
Function at 0x100c3f70
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add edi, 0x5b24
pop edi
jmp 0x100c3f42
push ebx
or ebx, 0x12c82
or ebx, 0x26a2
pop ebx
push esi
push ebx
add esp, 4
and esi, 0x152f7
pop esi
push edi
push ebx
add esp, 4
call 0x100c3f70
add byte [ecx + 0x48], cl
inc edx
dec esp
xor eax, 0x503d3747
add esp, 4
pop edi
mov dword [ebp - 0xa7c], 0
Function at 0x100c4fb5
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x100c4fd6
movzx ecx, word [ebp - 0x1cc]
movzx edx, word [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x15b4], ecx
jmp 0x100c5030
movzx eax, word [ebp - 0x1cc]
movzx ecx, word [ebp - 0x30]
cmp eax, ecx
je 0x100c4efe
movzx edx, word [ebp - 0x1cc]
xor edx, 0x20
movzx eax, word [ebp - 0x30]
cmp edx, eax
je 0x100c4efe
movzx ecx, word [ebp - 0x1cc]
movzx edx, word [ebp - 0x30]
cmp ecx, edx
jge 0x100c501a
mov dword [ebp - 0x15b0], 0xffffffff
jmp 0x100c5024
mov dword [ebp - 0x15b0], 1
mov eax, dword [ebp - 0x15b0]
mov dword [ebp - 0x15b4], eax
cmp dword [ebp - 0x15b4], 0
jne 0x100c5079
push ecx
push ecx
add esp, 4
call 0x100c504d
add byte [0x4444503f], bh
inc esi
dec ecx
dec eax
add esp, 4
or ecx, 0x4181
pop ecx
push ecx
sub ecx, 0x51de
and ecx, 0x9964
or ecx, 0xfba8
pop ecx
mov ecx, dword [ebp - 0x4e0]
mov dword [ebp - 0x2bc], ecx
jmp 0x100c50e1
push ecx
add ecx, 0xd945
and ecx, 0x7d97
xor ecx, 0x16d8f
pop ecx
push esi
push eax
add esp, 4
or esi, 0xbf6d
pop esi
push esi
push edi
add esp, 4
add esi, 0xa2bc
and esi, 0xd876
pop esi
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx]
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4e0]
cmp ecx, dword [ebp - 0xc68]
je 0x100c50d7
mov edx, dword [ebp - 0x4e0]
cmp dword [edx + 0x30], 0
jne 0x100c4ea2
mov dword [ebp - 0x2bc], 0

Function at 0x100c504d
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x100c4fd6
movzx ecx, word [ebp - 0x1cc]
movzx edx, word [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x15b4], ecx
jmp 0x100c5030
movzx eax, word [ebp - 0x1cc]
movzx ecx, word [ebp - 0x30]
cmp eax, ecx
je 0x100c4efe
movzx edx, word [ebp - 0x1cc]
xor edx, 0x20
movzx eax, word [ebp - 0x30]
cmp edx, eax
je 0x100c4efe
movzx ecx, word [ebp - 0x1cc]
movzx edx, word [ebp - 0x30]
cmp ecx, edx
jge 0x100c501a
mov dword [ebp - 0x15b0], 0xffffffff
jmp 0x100c5024
mov dword [ebp - 0x15b0], 1
mov eax, dword [ebp - 0x15b0]
mov dword [ebp - 0x15b4], eax
cmp dword [ebp - 0x15b4], 0
jne 0x100c5079
push ecx
push ecx
add esp, 4
call 0x100c504d
add byte [0x4444503f], bh
inc esi
dec ecx
dec eax
add esp, 4
or ecx, 0x4181
pop ecx
push ecx
sub ecx, 0x51de
and ecx, 0x9964
or ecx, 0xfba8
pop ecx
mov ecx, dword [ebp - 0x4e0]
mov dword [ebp - 0x2bc], ecx
jmp 0x100c50e1
push ecx
add ecx, 0xd945
and ecx, 0x7d97
xor ecx, 0x16d8f
pop ecx
push esi
push eax
add esp, 4
or esi, 0xbf6d
pop esi
push esi
push edi
add esp, 4
add esi, 0xa2bc
and esi, 0xd876
pop esi
mov edx, dword [ebp - 0x4e0]
mov eax, dword [edx]
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4e0]
cmp ecx, dword [ebp - 0xc68]
je 0x100c50d7
mov edx, dword [ebp - 0x4e0]
cmp dword [edx + 0x30], 0
jne 0x100c4ea2
mov dword [ebp - 0x2bc], 0
Function at 0x100c658d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push esi
push ecx
add esp, 4
sub esi, 0xa04e
jmp 0x100c65a3
pop esi
mov edx, dword [ebp - 0x4f0]
mov dword [ebp - 0x2c0], edx
jmp 0x100c661a

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

Disassembly:
add esp, 4
pop ebx
push edi
xor edi, 0x11a1e
xor edi, 0x14a71
pop edi
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [eax]
mov dword [ebp - 0x4f0], ecx
mov edx, dword [ebp - 0x4f0]
cmp edx, dword [ebp - 0xc94]
je 0x100c6610
mov eax, dword [ebp - 0x4f0]
cmp dword [eax + 0x30], 0
jne 0x100c63db
mov dword [ebp - 0x2c0], 0
Function at 0x1012ae93
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [0x1018cc54]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
jmp 0x1012aeb0
mov ebx, dword [esp + 0x10]
mov esi, dword [0x1018cc4c]
lea eax, [esp + 0x1c]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [0x10182ac4]
add eax, edi
push eax
push 8
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test ebx, ebx
je 0x1012af02
mov eax, dword [0x10182adc]
push edi
movsd xmm0, qword [eax + edi]
addsd xmm0, qword [0x10157680]
movsd qword [eax + edi], xmm0
call fcn.1012ac85
pop ecx
mov eax, dword [0x10182abc]
push dword [esp + 0x38]
push dword [eax + edi]
push str.initWithNumberOfVertices:numberOfEdges:
call esi
pop ecx
push eax
push str.alloc
call esi
pop ecx
push eax
push str.__NSSKGraph
call dword [0x1018cc50]
pop ecx
push eax
call ebp
pop ecx
pop ecx
push eax
call ebp
add esp, 0x10
mov ebx, eax
cmp dword [esp + 0x38], 0
jbe 0x1012afa9
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
push dword [eax + ecx]
mov eax, dword [0x10182ac8]
push dword [eax + edi]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x10182ac4]
add eax, edi
push eax
push dword [ecx]
call fcn.1012b3dc
add esp, 0x14
push dword [esp + 0x28]
push dword [esp + 0x28]
push str.addEdgeWithH1:withH2:
call esi
pop ecx
push eax
push ebx
call ebp
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [esp + 0x20]
add ecx, 4
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
jne 0x1012af5a
push str.isAcyclic
call esi
push eax
push ebx
call ebp
push str.isEmpty
mov esi, eax
call dword [0x1018cc4c]
push eax
push ebx
call ebp
add esp, 0x18
test al, al
jne 0x1012afff
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp], str.release
call dword [0x1018cc4c]
push eax
push ebx
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
xor ebx, ebx
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x3e8
jl 0x1012aeac
test esi, esi
je 0x1012b013
mov ecx, dword [esp + 0x44]
mov al, 1
mov dword [ecx], esi
mov ecx, dword [esp + 0x40]
mov dword [ecx], ebx
jmp 0x1012b015
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x1000b470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.1000b470]
mov dword [0x1004325c], 0x204f
mov dword [ebp - 8], eax
mov dword [0x1004325c], 0x1768
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
sete cl
mov byte [ebp - 9], cl
mov al, byte [ebp - 9]
test al, 1
jne 0x1000b4af
jmp 0x1000b4cf
jmp 0x1000b4cf
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
jne 0x1000b4ad
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000b4fd
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x10043258]
sub eax, 0xd15
mov dword [0x1004325c], eax
mov al, 1
test al, 1
jne 0x1000b493
jmp 0x1000b4f6
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x10
pop ebp
ret
Function at 0x1000b560
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1004325c]
add eax, 0x12c5
mov dword [0x10043258], eax
mov dword [ebp - 8], 0
jmp 0x1000b628
jmp 0x1000b6fc
mov dword [0x10043258], 0xe07
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x1000b6e1
jmp 0x1000b6fc
mov eax, dword [0x10043258]
add eax, 0x191d
mov dword [0x10043258], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx edx, word [eax + ecx*2]
cmp edx, 0
je 0x1000b63e
jmp 0x1000b640
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x1000b5a5
jmp 0x1000b623
mov dword [0x10043258], 0x147c
mov dword [ebp - 0xc], 1
jmp 0x1000b723
jmp 0x1000b701
cmp dword [ebp - 8], 0x104
setl al
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x19]
test al, 1
jne 0x1000b5ca
jmp 0x1000b64f
jmp 0x1000b64f
jmp 0x1000b642
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x1000b628
mov dword [0x10043258], 0x25ac
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax - 0x1a]
cmp ecx, 0x6c
jne 0x1000b707
mov eax, dword [0x1004325c]
sub eax, 0xe19
mov dword [0x10043258], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x1000b705
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax*2 - 0x16]
cmp eax, 0x61
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x1000b6ba
jmp 0x1000b703
mov eax, dword [0x1004325c]
add eax, 0x2553
mov dword [0x1004325c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x1000b5f9
jmp 0x1000b701
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax*2 - 0xe]
cmp eax, 0x6c
je 0x1000b60d
jmp 0x1000b5a0
jmp 0x1000b623
jmp 0x1000b703
jmp 0x1000b705
jmp 0x1000b707
mov eax, dword [0x1004325c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x21f
mov dword [0x10043258], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x1000c4da
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x10067121
call fcn.10049cb8
sub esp, 0x38
push ebx
push esi
push edi
mov eax, 0x40e4e0
mov esi, ecx
call eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
movzx eax, ax
xor ebx, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.1000bbd0
pop ecx
mov dword [ebp - 0x24], eax
mov eax, ebx
mov dword [ebp - 4], ebx
mov edi, 0xb7d0b8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
mov ebx, dword [edi]
test ebx, ebx
je 0x1000c5da
mov edi, dword [ebp - 0x10]
mov esi, dword [ebx]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x1000c586
mov eax, edi
mov dword [ebp - 0x1c], 0x78
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x1c]
push eax
movzx eax, word [esi + 0x22]
push edx
push eax
push esi
lea eax, [ebp - 0x44]
push str.Entity_0x_08x__with_model__d__at_ARRAY_StreamSectors__d__d__is_invalid_n
push eax
call fcn.1000bdd6
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1000c575
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x44]
call fcn.1000accf
jmp 0x1000c5c7
mov ecx, dword [0x101003bc]
movzx eax, word [esi + 0x22]
push eax
mov edx, dword [ecx]
call dword [edx + 0xa4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, word [ebp - 0x18]
jne 0x1000c5c7
test dword [esi + 0x1c], 0x2400
jne 0x1000c5c7
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [esi + 0x22]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000bbe7
mov eax, dword [ebx + 4]
mov ebx, eax
test eax, eax
jne 0x1000c532
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add edi, 4
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp edi, 0xb992b8
jl 0x1000c525
mov edi, 0xb992c0
mov dword [ebp - 0x14], edi
mov esi, dword [edi]
test esi, esi
je 0x1000c650
mov edi, dword [ebp - 0x18]
mov ebx, dword [esi]
mov ecx, dword [0x101003bc]
mov dword [ebp - 0x1c], ebx
movzx eax, word [ebx + 0x22]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, di
jne 0x1000c646
test dword [ebx + 0x1c], 0x2400
jne 0x1000c646
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebx + 0x22]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000bbe7
mov esi, dword [esi + 4]
test esi, esi
jne 0x1000c601
mov edi, dword [ebp - 0x14]
add edi, 0xc
mov dword [ebp - 0x14], edi
cmp edi, 0xb99ec0
jl 0x1000c5f8
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, eax
je 0x1000c695
movzx eax, word [esi + 0xe]
push eax
mov eax, 0x4089a0
call eax
movzx eax, word [esi + 0xe]
imul eax, eax, 0x14
pop ecx
lea ecx, [ebp - 0x18]
mov byte [eax + 0x8e4cd0], 0
call fcn.1000a1f6
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x24]
jne 0x1000c66a
lea eax, [ebp - 0x24]
push eax
mov ecx, eax
call fcn.1000bc79
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret