joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007acf5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10085330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006d274
mov dword [ebp - 0x14], eax
cmp dword [0x1067203c], esi
jne 0x1007ade8
push 0x800
push esi
push 0x10007d1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007ad75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007aec8
push esi
push esi
push 0x10007d1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007aec8
push 0x10007d34
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007aec8
push eax
call ebx
push 0x10007d40
push edi
mov dword [0x1067203c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d50
push edi
mov dword [0x10672040], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d64
push edi
mov dword [0x10672044], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067204c], eax
test eax, eax
je 0x1007ade5
push 0x10007d80
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10672048], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007ae0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007ae00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007ae22
push 4
pop eax
jmp 0x1007aeca
cmp dword [ebp - 0x14], esi
je 0x1007ae22
push dword [0x1067203c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007ae07
mov eax, dword [0x10672048]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007ae80
cmp dword [0x1067204c], edi
je 0x1007ae80
push eax
call ebx
push dword [0x1067204c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007ae80
test eax, eax
je 0x1007ae80
call ecx
test eax, eax
je 0x1007ae75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007ae75
test byte [ebp - 8], 1
jne 0x1007ae80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007aeb0
mov eax, dword [0x10672040]
cmp eax, edi
je 0x1007aead
push eax
call ebx
test eax, eax
je 0x1007aead
call eax
mov esi, eax
test esi, esi
je 0x1007aead
mov eax, dword [0x10672044]
cmp eax, edi
je 0x1007aead
push eax
call ebx
test eax, eax
je 0x1007aead
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067203c]
call ebx
test eax, eax
je 0x1007aec8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007aeca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x2c195f82
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x54182d6e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x434930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x416015
lea edi, [esi - 0x15015]
push edi
or ebp, 0xffffffff
jmp 0x434952
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x434959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x434948
mov eax, 1
add ebx, ebx
jne 0x43496b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x434960
jne 0x43497c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x434960
xor ecx, ecx
sub eax, 3
jb 0x434990
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x434a02
mov ebp, eax
add ebx, ebx
jne 0x43499b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4349a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4349cc
inc ecx
add ebx, ebx
jne 0x4349b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4349ad
jne 0x4349c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4349ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4349ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4349dd
jmp 0x43494e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4349ec
add edi, ecx
jmp 0x43494e
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x434a0a
cmp byte [edi], 7
jne 0x434a0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x434a0f
lea edi, [esi + 0x32000]
mov eax, dword [edi]
or eax, eax
je 0x434a87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x349bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x34a5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x434a3c
mov ecx, edi
jns 0x434a6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x34a60]
or eax, eax
je 0x434a81
mov dword [ebx], eax
add ebx, 4
jmp 0x434a59
call dword [esi + 0x34a70]
mov ebp, dword [esi + 0x34a64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x434abb
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x401000
Capabilities:
Execute shellcode via indirect call

Disassembly:
jmp 0x405af0
inc eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x405b06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call ebx
push 0x40
push 0x3000
lea esi, [eax + 2]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
mov dword [esp + 0x14], eax
call ebx
lea ecx, [eax + 1]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405b36
mov dword [esp + 0x14], eax
cmp ecx, esi
jb 0x405b3e
mov dword [esp + 0x14], 0
push edi
xor esi, esi
call ebx
test eax, eax
je 0x405b6e
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
nop
mov al, byte [esi + edi]
cmp al, 0xa
je 0x405b62
cmp al, 0xd
je 0x405b62
mov byte [ecx], al
inc ecx
mov dword [esp + 0xc], ecx
push edi
inc esi
call ebx
mov ecx, dword [esp + 0xc]
cmp esi, eax
jb 0x405b50
mov esi, dword [esp + 0x14]
push esi
call ebx
push eax
push dword [esp + 0x1c]
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, esi
call fcn.00405370
add esp, 4
test eax, eax
jne 0x405bd7
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push eax
mov eax, dword [esp + 0x18]
push eax
call ebx
push 0x8000
push 0
push dword [esp + 0x24]
call ebx
push 0x8000
push 0
push dword [esp + 0x28]
call ebx
xor esi, esi
jmp 0x405c1f
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x405be4
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push 0
push eax
call ebx
push 0x8000
push 0
push dword [esp + 0x24]
call ebx
push 0x8000
push 0
push dword [esp + 0x28]
call ebx
jmp 0x405c1a
mov esi, 1
push 0x8000
push 0
push dword [esp + 0x34]
call ebx
lea ecx, [esp + 0x40]
call fcn.00407720
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x40287f
test ebx, ebx
je 0x402873
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402878
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4028f9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
call fcn.00403030
neg eax
sbb esi, esi
and esi, 3
inc esi
call fcn.00403030
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0xfffffffa
push ebx
add eax, 8
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x402902
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x402948
call fcn.00403030
test eax, eax
jne 0x40292e
push ecx
lea ecx, [esi + 0x53]
lea edx, [eax + 6]
call fcn.00407db0
add esp, 4
push ecx
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00402830
add esp, 8
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402272
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4022b1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4022b1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4022b1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4022b1
cmp dword [ecx + 0x74], 0xe
jbe 0x4022b1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x409a90
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415b68
push 0x415b60
push str.FlsAlloc
push 0x1f
call fcn.004099ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409ac4
push dword [ebp + 8]
mov ecx, esi
call dword [0x41415c]
call esi
jmp 0x409aca
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409b0e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415b78
push 0x415b70
push str.FlsGetValue
push 0x21
call fcn.004099ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409b45
push dword [ebp + 8]
mov ecx, esi
call dword [0x41415c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409b4d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415b80
push 0x415b78
push str.FlsSetValue
push 0x22
call fcn.004099ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409b87
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41415c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b230
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b2cd
push ebx
push esi
call fcn.0040b1f9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b18d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b27a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b2cc
push edi
push eax
call fcn.00407cc5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b29a
call fcn.00407c8b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b2cb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b18d
add esp, 0x20
test eax, eax
jne 0x40b2b9
push edi
call fcn.00407c8b
jmp 0x40b2c1
push ebx
call fcn.00407c8b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x412980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4129ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4129ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408197
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x41411c]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b0]
push ebx
push esi
push edi
push 0x800
lea ecx, [ebp - 0x5c]
push ecx
push 0x3f1
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.0040426f
cmp dword [0x41421c], 8
mov eax, dword [0x414208]
mov ebx, 0x414208
jae 0x4081f3
mov eax, ebx
lea ecx, [ebp - 0x64]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x408237
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x408213
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0
push str.Email
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea esi, [ebp - 0x80]
call fcn.00405155
cmp dword [0x41421c], 8
mov edi, dword [0x414208]
jae 0x408254
mov edi, ebx
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x3f2
push dword [ebp - 0x60]
call esi
test eax, eax
setne al
push eax
push str.IncludeURL
push edi
call fcn.00407ce3
mov edi, dword [0x414208]
add esp, 0xc
cmp dword [0x41421c], 8
jae 0x408289
mov edi, ebx
push 0x3f0
push dword [ebp - 0x60]
call esi
test eax, eax
setne al
push eax
push str.EmailMe
push edi
call fcn.00407ce3
mov edi, dword [0x414208]
add esp, 0xc
cmp dword [0x41421c], 8
jae 0x4082b8
mov edi, ebx
push 0x3ef
push dword [ebp - 0x60]
call esi
test eax, eax
setne al
push eax
push str.SubmitReport
push edi
call fcn.00407ce3
add esp, 0xc
push dword [ebp + 0x7b4]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp + 0x7a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ea20
add ebp, 0x7a8
leave
ret
Function at 0x4872e3
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edx
or edx, 0x7d5e
pop edx
push ebx
push esi
add esp, 4
add ebx, 0xac68
or ebx, 0x173ce
sub ebx, 0xf706
sub ebx, 0x5114
pop ebx
push ecx
push esi
add esp, 4
and ecx, 0x7323
pop ecx
lea edx, [ebp - 0x16cc]
mov dword [ebp - 0xc28], edx
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc24], ecx
xor edx, edx
mov word [ebp - 0x1fc], dx
xor eax, eax
mov word [ebp - 0x104], ax
push esi
push ecx
add esp, 4
xor esi, 0x5d03
sub esi, 0x4004
or esi, 0xeb97
sub esi, 0x98c4
pop esi
push eax
or eax, 0x10dc3
sub eax, 0x162b3
xor eax, 0x17812
pop eax
mov ecx, dword [ebp - 0xc24]
mov dx, word [ecx]
mov word [ebp - 0xf82], dx
mov eax, dword [ebp - 0xc24]
add eax, 2
mov dword [ebp - 0xc24], eax
mov cx, word [ebp - 0xf82]
mov word [ebp - 0x1fc], cx
mov edx, dword [ebp - 0xc28]
mov ax, word [edx]
mov word [ebp - 0xf84], ax
mov ecx, dword [ebp - 0xc28]
add ecx, 2
mov dword [ebp - 0xc28], ecx
mov dx, word [ebp - 0xf84]
mov word [ebp - 0x104], dx
push ecx
call fcn.004872e3
add byte [ebp + 0x43], al
dec edx
xor eax, 0x333a4c46
dec esi
add esp, 4
or ecx, 0x85d0
pop ecx
push esi
push edx
add esp, 4
jmp 0x4872f8
add esi, 0xb9f2
or esi, 0x17c82
pop esi
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x487328
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x48738b
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x487247
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x487247
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x487375
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x48737f
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x4873d4
push edx
push ecx
add esp, 4
xor edx, 0xda4c
and edx, 0x163f3
add edx, 0x6129
add edx, 0x104b
pop edx
push edi
add edi, 0x33d9
xor edi, 0x13476
sub edi, 0x12a4a
pop edi
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x6ec], ecx
jmp 0x48743c
push eax
push esi
add esp, 4
or eax, 0x11c4b
sub eax, 0x7c57
pop eax
push edx
push eax
add esp, 4
xor edx, 0x6bc2
pop edx
push esi
add esi, 0x764d
add esi, 0xccfc
or esi, 0x17d80
pop esi
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x487432
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x4871e8
mov dword [ebp - 0x6ec], 0
Function at 0x487efa
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x704]
add edx, 1
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x704]
cmp ecx, dword [eax + 0x18]
jae 0x487fc7
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c0]
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x708], ecx
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x18c8]
mov eax, dword [ebp - 0x2fc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18cc], eax
mov dword [ebp - 0x184], 0
jmp 0x487e2b
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
test eax, eax
je 0x487edd
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
test edx, edx
je 0x487edd
push ecx
push esi
add esp, 4
sub ecx, 0x12f41
or ecx, 0xdca6
and ecx, 0x8e47
xor ecx, 0xf2f4
pop ecx
push esi
add esi, 0x96eb
add esi, 0x5b14
sub esi, 0x8886
pop esi
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
cmp ecx, eax
je 0x487ecf
mov ecx, dword [ebp - 0x708]
add ecx, dword [ebp - 0x184]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x184]
movsx ecx, byte [ebp + eax - 0x804]
cmp edx, ecx
jne 0x487ed6
jmp 0x487e1c
jmp 0x487edd
push ecx
xor ecx, 0x1041e
xor ecx, 0x1498d
call fcn.00487efa
add byte [ebx + 0x32], cl
dec eax
push eax
dec ebx
dec ebp
inc ebx
inc esi
add esp, 4
add esp, 4
add esp, 4
pop ecx
push esi
push ebx
add esp, 4
jmp 0x487f09
jmp 0x487f0e
pop esi
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
cmp eax, edx
jne 0x487f3c
mov dword [ebp - 0xc40], 0
jmp 0x487fab
push esi
sub esi, 0x17aaa
jmp 0x487f4a
pop esi
push eax
push esi
add esp, 4
sub eax, 0x517a
and eax, 0x13285
call 0x487f6a
add byte [ecx], bh
xor cl, byte [ebp + 0x4c]
dec esp
inc edi
inc edx
inc edi
add esp, 4
pop eax
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
or eax, 0x20
cmp ecx, eax
jge 0x487fa1
mov dword [ebp - 0xc40], 0xffffffff
jmp 0x487fab
mov dword [ebp - 0xc40], 1
cmp dword [ebp - 0xc40], 0
jne 0x487fc2
mov ecx, dword [ebp - 0x18cc]
mov dword [ebp - 0x4e0], ecx
jmp 0x487fd3
jmp 0x487dac
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x738], eax
Function at 0x487f6a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x704]
add edx, 1
mov dword [ebp - 0x704], edx
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x704]
cmp ecx, dword [eax + 0x18]
jae 0x487fc7
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c0]
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x708], ecx
mov edx, dword [ebp - 0x704]
mov eax, dword [ebp - 0x18c4]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x18c8]
mov eax, dword [ebp - 0x2fc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18cc], eax
mov dword [ebp - 0x184], 0
jmp 0x487e2b
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
test eax, eax
je 0x487edd
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
test edx, edx
je 0x487edd
push ecx
push esi
add esp, 4
sub ecx, 0x12f41
or ecx, 0xdca6
and ecx, 0x8e47
xor ecx, 0xf2f4
pop ecx
push esi
add esi, 0x96eb
add esi, 0x5b14
sub esi, 0x8886
pop esi
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
cmp ecx, eax
je 0x487ecf
mov ecx, dword [ebp - 0x708]
add ecx, dword [ebp - 0x184]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x184]
movsx ecx, byte [ebp + eax - 0x804]
cmp edx, ecx
jne 0x487ed6
jmp 0x487e1c
jmp 0x487edd
push ecx
xor ecx, 0x1041e
xor ecx, 0x1498d
call fcn.00487efa
add byte [ebx + 0x32], cl
dec eax
push eax
dec ebx
dec ebp
inc ebx
inc esi
add esp, 4
add esp, 4
add esp, 4
pop ecx
push esi
push ebx
add esp, 4
jmp 0x487f09
jmp 0x487f0e
pop esi
mov edx, dword [ebp - 0x708]
add edx, dword [ebp - 0x184]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ebp + ecx - 0x804]
cmp eax, edx
jne 0x487f3c
mov dword [ebp - 0xc40], 0
jmp 0x487fab
push esi
sub esi, 0x17aaa
jmp 0x487f4a
pop esi
push eax
push esi
add esp, 4
sub eax, 0x517a
and eax, 0x13285
call 0x487f6a
add byte [ecx], bh
xor cl, byte [ebp + 0x4c]
dec esp
inc edi
inc edx
inc edi
add esp, 4
pop eax
mov eax, dword [ebp - 0x708]
add eax, dword [ebp - 0x184]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x184]
movsx eax, byte [ebp + edx - 0x804]
or eax, 0x20
cmp ecx, eax
jge 0x487fa1
mov dword [ebp - 0xc40], 0xffffffff
jmp 0x487fab
mov dword [ebp - 0xc40], 1
cmp dword [ebp - 0xc40], 0
jne 0x487fc2
mov ecx, dword [ebp - 0x18cc]
mov dword [ebp - 0x4e0], ecx
jmp 0x487fd3
jmp 0x487dac
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x738], eax