joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c20
Capabilities:
Enumerate pe sections

Disassembly:
dec esp
and al, 8
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10001c5a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10001c41
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10001c52
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10001c5c
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10001c37
xor eax, eax
pop edi
pop esi
ret

Function at 0x10001fa7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10001bef
push eax
push esi
push dword [ebp + 8]
call fcn.10001ba4
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10001bef
push eax
push esi
push dword [ebp + 8]
call fcn.10001ba4
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10001bdf
inc ebx
add dword [ebp + 0x7c9d88cc], ebp
invalid

Function at 0x10001fbc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
Function at 0x4ab020
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 0x4ab062
call fcn.004b0fc8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x4ab062
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x4ab059
xor eax, eax
jmp 0x4ab06a
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ab070
pop edi
pop esi
pop ebx
ret 4

Function at 0x4010f0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x40332c], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 4]
mov dword [0x40319b], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401121
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40319b]
mov dword [ebp - 0x48], eax
mov eax, 0x401bbc
mov dword [ebp - 0x54], eax
mov ecx, 0x4030bd
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40319b]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403378], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403378]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4011d9
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4011cb
mov esp, ebp
ret
Function at 0x4049d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push ebx
mov ecx, 0x11
sub esp, 0x94
mov eax, dword [0x44cba8]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
imul eax, eax, 0x3e36307e
mov dword [0x44cba8], eax
mov eax, dword [0x444dc8]
imul eax, eax, 0xf26a24d7
mov dword [0x444dc8], eax
movzx eax, word [0x4410ce]
imul ax, ax, 0x6fc
mov word [0x4410ce], ax
movsx edx, word [0x43b9dc]
mov eax, dword [0x4492f0]
sub eax, edx
lea edx, [esp + 0x4c]
mov dword [0x4492f0], eax
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x452374]
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
or eax, 0xfceff28e
mov dword [esp + 0x18], 0
mov dword [0x452374], eax
mov eax, dword [0x457b84]
imul eax, eax, 0x8381ebf
mov dword [0x457b84], eax
mov eax, dword [0x45308c]
sub eax, 0x1f5e3006
mov dword [0x45308c], eax
mov eax, 1
mov word [esp + 0x7c], ax
movzx eax, word [0x43e954]
imul ax, ax, 0x54ab
mov word [0x43e954], ax
mov dword [esp + 0x14], 8
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call dword [0x4961c0]
sub esp, 0x28
test eax, eax
jne 0x404b90
mov eax, dword [0x44778c]
cmp eax, 0xd5d664d9
jge 0x404b50
movzx eax, word [0x440a76]
sub ax, 0x4719
mov word [0x440a76], ax
mov eax, dword [0x454c30]
cmp eax, 0xd6ebda1c
jl 0x404b70
mov eax, dword [0x450eec]
or eax, 0x85235207
mov dword [0x450eec], eax
add esp, 0x94
pop ebx
pop edi
ret
fld dword [0x4612d4]
fld qword [0x490e78]
faddp st(1)
fstp qword [0x490e78]
mov eax, dword [0x454c30]
cmp eax, 0xd6ebda1c
jge 0x404b31
mov eax, dword [0x4465a8]
add eax, 0x6db1896c
mov dword [0x4465a8], eax
add esp, 0x94
pop ebx
pop edi
ret
fld dword [0x462364]
mov eax, dword [esp + 0x40]
fld qword [0x47a350]
mov dword [esp], eax
faddp st(1)
fstp qword [0x47a350]
call dword [0x49610c]
mov eax, dword [0x44cf78]
sub esp, 4
xor eax, 0x6b87f4ed
mov dword [0x44cf78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [0x49610c]
mov eax, dword [0x452368]
sub esp, 4
imul eax, eax, 0x64c8db7f
mov dword [0x452368], eax
jmp 0x404b25
Function at 0x41ebd0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [0x44b4f4]
mov eax, dword [0x44f1a4]
mov esi, dword [esp + 0x20]
or eax, edx
mov dword [0x44f1a4], eax
mov eax, dword [0x4579c8]
add eax, 0x68426dd9
mov dword [0x4579c8], eax
mov eax, dword [0x4963e8]
test eax, eax
je 0x41ed21
movsx eax, word [0x442af4]
mov edx, dword [0x455cb8]
mov dword [esp + 4], 3
mov dword [esp], 0xa2f
imul eax, edx
mov dword [0x455cb8], eax
call fcn.004060b0
fld qword [0x479238]
mov dword [esp + 4], eax
mov edi, eax
mov dword [esp], esi
fstp qword [0x488498]
call sub.msvcrt.dll_fopen
mov ebx, eax
mov eax, dword [0x44581c]
mov dword [esp + 4], edi
mov dword [esp], 3
and eax, 0x31e0a58e
mov dword [0x44581c], eax
call fcn.00409bd0
mov eax, dword [0x457190]
imul eax, eax, 0x8ccf4e9
test ebx, ebx
mov dword [0x457190], eax
je 0x41ed53
mov eax, dword [0x4460c8]
imul eax, eax, 0xf8fd7ff3
mov dword [0x4460c8], eax
mov eax, dword [0x45157c]
cmp eax, 0x1463c035
jle 0x41ecb4
fld dword [0x468b74]
fld qword [0x479028]
faddp st(1)
fstp qword [0x479028]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 4
mov dword [esp], 0x4963e8
call sub.msvcrt.dll_fwrite
mov eax, dword [0x451370]
cmp eax, 0xd293e4e4
jl 0x41ed13
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
fld dword [0x4594ac]
fld dword [0x45afe8]
fmulp st(1)
fstp dword [0x45afe8]
mov eax, dword [0x444af0]
imul eax, eax, 0x79f85921
mov dword [0x444af0], eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
fld dword [0x4594e8]
fstp dword [0x45fbd8]
jmp 0x41ece0
fld dword [0x45b590]
fld dword [0x45d0e4]
faddp st(1)
fstp dword [0x45d0e4]
call fcn.0041e760
mov dword [0x4963e8], eax
mov eax, dword [0x456a48]
sub eax, 0x255e4661
mov dword [0x456a48], eax
jmp 0x41ec08
mov eax, dword [0x44e8c0]
cmp eax, 0x4d094b80
je 0x41ed73
mov eax, dword [0x44d584]
movzx edx, word [0x43ab24]
and eax, edx
mov word [0x43ab24], ax
mov dword [esp], 0x3e8
call dword [0x496108]
movzx eax, word [0x43bbcc]
fld dword [0x4645ac]
sub esp, 4
mov dword [esp + 4], 3
mov dword [esp], 0xa2f
fld dword [0x45d314]
fmulp st(1)
fstp dword [0x45d314]
call fcn.004060b0
mov edi, eax
mov eax, dword [0x443e24]
mov dword [esp + 4], edi
mov dword [esp], esi
imul eax, eax, 0x38d3ab91
mov dword [0x443e24], eax
call sub.msvcrt.dll_fopen
mov edx, dword [0x4447e4]
mov ebx, eax
mov eax, dword [0x44ffb0]
mov dword [esp + 4], edi
mov dword [esp], 3
xor eax, edx
mov dword [0x44ffb0], eax
call fcn.00409bd0
fld dword [0x45ca3c]
fld dword [0x45aac8]
faddp st(1)
fstp dword [0x45aac8]
mov eax, dword [0x4460c8]
imul eax, eax, 0xf8fd7ff3
test ebx, ebx
mov dword [0x4460c8], eax
je 0x41ecfc
jmp 0x41ec94
Function at 0x41fa20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 4
mov eax, dword [0x44b12c]
mov ecx, dword [esp + 0x18]
and eax, 0x5801b45b
mov dword [0x44b12c], eax
mov eax, dword [0x448f7c]
xor eax, 0xc6c8147
mov dword [0x448f7c], eax
mov edx, dword [0x454f08]
mov eax, dword [0x44ce2c]
sub eax, edx
mov dword [0x44ce2c], eax
mov eax, dword [0x449a8c]
add eax, 0x7a67f6d6
mov dword [0x449a8c], eax
mov eax, dword [esp + 0x1c]
lea ebp, [ecx + eax*4]
mov eax, dword [0x443ca0]
or eax, 0x6d2a4b3f
mov dword [0x443ca0], eax
fld dword [0x458630]
fld dword [0x458fec]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x41faa3
mov eax, dword [0x45188c]
add eax, 0x175fc38d
mov dword [0x45188c], eax
cmp ecx, ebp
mov eax, dword [esp + 0x20]
je 0x41fb2a
nop
lea esi, [esi]
mov edx, dword [0x457534]
imul edx, edx, 0xf2501d10
mov dword [0x457534], edx
xor dword [ecx], eax
ror eax, 3
mov edx, dword [0x450d10]
add ecx, 4
sub edx, 0x747c8d53
mov dword [0x450d10], edx
mov edx, dword [0x452a78]
sub edx, 0x48cdb8af
mov dword [0x452a78], edx
mov edx, eax
mov esi, dword [0x44ebac]
shr edx, 0x10
lea edi, [edx + eax]
xor esi, 0x46fb610f
mov ebx, edi
add edx, edi
mov dword [0x44ebac], esi
mov al, bl
movzx edx, dl
mov byte [esp + 3], bl
shl edx, 0x10
and eax, 0xff00ffff
or eax, edx
cmp ebp, ecx
movzx edx, word [0x43a97c]
jne 0x41fab0
mov ecx, dword [0x44be34]
mov edx, dword [0x44412c]
imul edx, ecx
mov dword [0x44412c], edx
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x42e470
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.0042e4d0
Function at 0x42e4d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov eax, dword [0x496780]
test eax, eax
jle 0x42e5d3
mov edx, dword [0x496784]
xor ebx, ebx
mov ecx, dword [edx + 4]
cmp ecx, esi
ja 0x42e501
mov edi, dword [edx + 8]
add ecx, dword [edi + 8]
cmp esi, ecx
jb 0x42e576
add ebx, 1
add edx, 0xc
cmp ebx, eax
jne 0x42e4f0
mov dword [esp], esi
call fcn.0042edb0
test eax, eax
mov edi, eax
je 0x42e5fa
lea esi, [ebx + ebx*2]
mov ebx, dword [0x496784]
shl esi, 2
add ebx, esi
mov dword [ebx + 8], eax
mov dword [ebx], 0
call fcn.0042eea0
add eax, dword [edi + 0xc]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [0x496784]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + esi + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x42e5da
mov eax, dword [ebp - 0x20]
cmp eax, 0x40
jne 0x42e580
add dword [0x496780], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x42e56f
cmp eax, 0x80
je 0x42e56f
cmp eax, 8
je 0x42e56f
mov eax, dword [ebp - 0x28]
add esi, dword [0x496784]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x42e56f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0042e470
xor ebx, ebx
jmp 0x42e50b
mov eax, dword [0x496784]
mov eax, dword [eax + esi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0042e470
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0042e470
lea esi, [esi]

Function at 0x42ecd0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x42ed08
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x42ecfe
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x42ed0a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x42ecf0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10005a47
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10005a47]
mov dword [0x102f7530], 0x1060
mov ecx, dword [0x102f752c]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x10005aac
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10005aac
mov eax, dword [ebp - 0x10]
mov dword [0x102f7530], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x10005a7a

Function at 0x10005ad9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102f752c], 0x13a8
mov dword [0x102f7538], 0
mov byte [0x102f753c], 0
mov edi, dword [0x102f7530]
add edi, 0xffffea5b
mov dword [0x102f7530], edi
mov dword [0x102f7534], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10005b55
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x102f752c], 0x119a
mov dword [0x102f7534], 0
mov dword [ebp - 0x20], eax
jmp 0x10005b8c
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102f7530]
add eax, 0xfffff29d
mov dword [0x102f752c], eax
mov eax, dword [0x102f7534]
add eax, 1
mov dword [0x102f7534], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10005b55
jmp 0x10005b3a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x102f7540], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102f752c], 0x21a0
mov edi, dword [0x102f7538]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102f7540], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102f7538], edx
mov dword [0x102f7530], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102f753c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102f752c], 0x18ab
mov cl, byte [0x102f753c]
mov esi, dword [0x102f7538]
mov byte [ebx + esi], cl
mov esi, dword [0x102f7534]
add esi, 1
mov dword [0x102f7534], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10005b8c
jmp 0x10005b32
Function at 0x10005ccb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102cfb3c]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102f7530], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10005c3c
mov eax, dword [0x102f752c]
add eax, 0x23bd
mov dword [0x102f752c], eax
call fcn.100065e8
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000579a
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x10005d4d
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x102f752c], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.10005943
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102f7530], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx], ecx
mov dword [0x102f752c], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10005d43
mov eax, dword [0x102f7530]
mov ecx, dword [ebp - 0x44]
add ecx, 0x15d4
add eax, 0xffffec01
mov dword [0x102f7530], eax
mov dword [ebp - 0x40], ecx
jmp 0x10005d43
Function at 0x10005e9e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102f752c], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000699b
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10005ee4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102f7530], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102f752c], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1000600a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x102f752c], 0xacb
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x10005fb4
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x10005f62
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10005fe7
jmp 0x10005fbd
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x10005f3e
jmp 0x1000600a
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102f752c], 0x1919
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006708
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102f7530], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102f752c], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102f752c]
add edx, 0xfffffa13
mov dword [0x102f752c], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102f7530], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10006784
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x10006800
jmp 0x10006894
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x100067d3
jmp 0x100067bc
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10006880
jmp 0x10006894
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10006784
mov eax, dword [ebp - 0x20]
mov ecx, 0xffffec88
mov dword [0x102f752c], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x10006764
jmp 0x10006894
mov eax, 0x1137
mov dword [0x102f752c], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x10006894
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x10006894
mov eax, 0xfffff83a
mov dword [0x102f752c], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x10006894
mov eax, 0xffffee12
mov dword [0x102f752c], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000679c
jmp 0x10006894
mov eax, 1
mov dword [0x102f752c], 0x26a1
mov dword [ebp - 0x24], eax
jmp 0x100068a1
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x102f7530], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret