joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40305b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42cb30]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4030ef
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4030ac
cmp dword [ebp + 0x10], ebx
jne 0x4030e3
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.0040305b
test eax, eax
jne 0x4030be
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x403093
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406b2a
cmp eax, ebx
je 0x4030f6
push ebx
push dword [0x42cb30]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4030ef
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42cb30], ebx
jne 0x4030ec
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4030ec
jmp 0x4030ef
Function at 0x403483
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4034a3
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x4034b2
mov ebx, 0x411f10
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4034c7
mov ecx, dword [0x42cad8]
add ecx, eax
push ecx
call fcn.0040367e
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.00403668
test eax, eax
je 0x40361f
test byte [ebp + 0x17], 0x80
je 0x403608
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40de80
mov dword [ebp - 0xc], eax
call fcn.00406c49
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x40365e
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x403517
mov esi, dword [ebp + 0x14]
mov edi, 0x40df10
push esi
push edi
call fcn.00403668
test eax, eax
je 0x40361f
sub dword [ebp + 0x14], esi
mov dword [0x40de98], edi
mov dword [0x40de9c], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40de80
mov dword [0x40dea0], ebx
mov dword [0x40dea4], eax
call fcn.00406c69
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x403600
mov esi, dword [0x40dea0]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x42cb34], 1
mov edi, eax
je 0x4035bf
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x403586
cmp dword [ebp + 0x14], 0
jne 0x4035bf
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x90]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
call fcn.00405679
mov dword [ebp - 0xc], edi
test esi, esi
je 0x4035f4
cmp dword [ebp + 0x10], 0
jne 0x4035dc
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0040622f
test eax, eax
je 0x403604
add dword [ebp - 4], esi
jmp 0x4035e8
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40dea0]
cmp dword [ebp - 0x10], 1
jne 0x40353a
jmp 0x40365e
cmp dword [ebp + 0x14], 0
jg 0x40350a
jmp 0x40365e
push 0xfffffffffffffffc
jmp 0x403621
push 0xfffffffffffffffe
jmp 0x403621
test edi, edi
je 0x403653
cmp dword [ebp + 0x14], esi
jge 0x403614
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403668
test eax, eax
jne 0x40365b
push 0xfffffffffffffffd
pop eax
jmp 0x403661
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x40362f
mov esi, dword [ebp + 0x14]
mov edi, 0x40df10
push esi
push edi
call fcn.00403668
test eax, eax
je 0x40361f
push esi
push edi
push dword [ebp + 0xc]
call fcn.0040622f
test eax, eax
je 0x403604
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403624
jmp 0x40365e
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405b7d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408400
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083f0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405bce
xor eax, eax
jmp 0x405bf5
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405bf5
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405bca
call esi
pop esi
leave
ret 4

Function at 0x405c2f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x427758], 0x44
push eax
xor eax, eax
push 0x427758
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405c6e
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405cf8
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406158
mov edi, eax
cmp edi, 0xffffffff
je 0x405d39
test byte [esp + 0x10], 1
push esi
je 0x405d1b
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405d21
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405d2a
xor eax, eax
inc eax
jmp 0x405d3b
test byte [esp + 0x10], 4
jne 0x405d39
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405d40
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, ebx
push edi
and eax, 4
push esi
mov dword [ebp - 4], eax
call fcn.00406064
test bl, 8
mov dword [ebp - 8], eax
je 0x405d7f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42cb08], eax
jmp 0x405f55
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405d99
test eax, eax
je 0x405ed7
test bl, 2
je 0x405ed7
mov edi, 0x426758
push esi
push edi
call fcn.004065a8
cmp dword [ebp + 8], 0
je 0x405db8
push str..
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405dbe
push esi
call fcn.00405fa8
cmp word [esi], 0
jne 0x405dce
cmp word [0x426758], 0x5c
jne 0x405dd9
push 0x40a4e4
push esi
call sub.KERNEL32.dll_lstrcatW
push esi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [esi + eax*2]
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x405ecc
cmp word [ebp - 0x22c], 0x2e
jne 0x405e2b
cmp word [ebp - 0x22a], 0
je 0x405eaf
cmp word [ebp - 0x22a], 0x2e
jne 0x405e2b
cmp word [ebp - 0x228], 0
je 0x405eaf
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.004065a8
test byte [ebp - 0x258], 0x10
je 0x405e56
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405eaf
push dword [ebp + 0xc]
push esi
call fcn.00405d40
jmp 0x405eaf
push esi
push str.Delete:_DeleteFile___s__
call fcn.00406a62
pop ecx
pop ecx
push dword [ebp - 4]
push esi
call fcn.00405cf8
test eax, eax
push esi
jne 0x405ea8
cmp dword [ebp - 4], eax
je 0x405e94
push str.Delete:_DeleteFile_on_Reboot___s__
call fcn.00406a62
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.00405679
push 0
push esi
call fcn.00406449
jmp 0x405eaf
push str.Delete:_DeleteFile_failed___s__
call fcn.00406a62
inc dword [0x42cb08]
pop ecx
pop ecx
jmp 0x405eaf
push 0xfffffffffffffff2
call fcn.00405679
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405dfb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405ed7
and word [ebx - 2], 0
xor edi, edi
cmp dword [ebp + 8], edi
je 0x405f55
cmp dword [ebp - 8], edi
push esi
jne 0x405ef8
push str.RMDir:_RemoveDirectory_invalid_input___s__
call fcn.00406a62
inc dword [0x42cb08]
pop ecx
pop ecx
jmp 0x405f55
call fcn.00406a93
test eax, eax
je 0x405f55
push esi
call fcn.00405f5c
push esi
push str.RMDir:_RemoveDirectory___s__
call fcn.00406a62
mov eax, dword [ebp - 4]
pop ecx
pop ecx
or al, 1
push eax
push esi
call fcn.00405cf8
test eax, eax
push esi
jne 0x405f4e
cmp dword [ebp - 4], edi
je 0x405f47
push str.RMDir:_RemoveDirectory_on_Reboot___s__
call fcn.00406a62
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.00405679
push edi
push esi
call fcn.00406449
jmp 0x405f55
push str.RMDir:_RemoveDirectory_failed___s__
jmp 0x405ee9
push 0xffffffffffffffe5
call fcn.00405679
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x406064
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x426f58
push esi
call fcn.004065a8
push esi
call fcn.00406007
mov edi, eax
test edi, edi
jne 0x406085
xor eax, eax
jmp 0x4060dd
push edi
call fcn.0040683c
test byte [0x42ca98], 0x80
je 0x4060a2
mov ax, word [edi]
test ax, ax
je 0x406081
cmp ax, 0x5c
je 0x406081
sub edi, esi
sar edi, 1
jmp 0x4060bc
call fcn.00406a93
test eax, eax
je 0x4060b6
test byte [eax], 0x10
je 0x406081
push esi
call fcn.00405fa8
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x4060a8
call fcn.00405f5c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406158
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406177
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x40617d
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x4061ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40b480]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40b484]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4061fc
test edi, edi
jne 0x4061b9
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4061f6
Function at 0x4062d7
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, 0x427df0
push 0x40b4a4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x406325
push 1
push 0
push esi
call fcn.0040617d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x406444
cmp eax, edi
jg 0x406444
mov esi, 0x4285f0
push edi
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x406444
cmp eax, edi
jg 0x406444
push esi
push ebx
push str._ls_ls_r_n
push 0x4279f0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42ca90]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004065ca
push 4
push 0xc0000000
push esi
call fcn.0040617d
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406444
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40643d
push edi
push esi
push ebp
call fcn.00406200
test eax, eax
je 0x40643d
push str._Rename__r_n
push esi
call fcn.004060e2
test eax, eax
jne 0x4063db
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406410
add eax, 0xa
push 0x40b488
push eax
call fcn.004060e2
mov ebp, eax
test ebp, ebp
je 0x40640c
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4063fd
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4063f7
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406412
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4279f0
push eax
call fcn.00406138
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.0040622f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406449
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40646c
push dword [esp + 8]
push dword [esp + 8]
call fcn.004062d7
pop ecx
pop ecx
inc dword [0x42cb10]
ret 8
Function at 0x406475
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4064e9
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4064d6
cmp dword [ebp + 0x14], 1
je 0x4064d9
cmp dword [ebp + 0x14], 2
je 0x4064d9
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x406aba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406ade
xor eax, eax
test eax, eax
je 0x406af1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406af1
xor ecx, ecx
jmp 0x406af4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a4e4]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406bdb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x428df4], 0
push esi
jne 0x406c12
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406bec
mov dword [ecx*4 + 0x428df0], eax
inc ecx
cmp ecx, 0x100
jl 0x406be7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406c43
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x428df0]
xor eax, esi
inc ecx
dec edx
jne 0x406c25
pop edi
not eax
pop esi
ret 0xc
Function at 0x405640
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
sub edi, 0x3fc4
sub edi, 0xadca
pop edi
push esi
call fcn.00405640
add byte [0x45473d39], dh
inc ebx
add esp, 4
pop esi
push ecx
add ecx, 0x162ca
jmp 0x405650
add ecx, 0x349c
pop ecx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push ebx
jmp 0x4056b9
add ebx, 0x93e5
pop ebx
push edx
push eax
add esp, 4
or edx, 0x356a
call 0x4056d9
add byte [eax + 0x36], al
dec edi
xor eax, 0x424b3a39
add esp, 4
sub edx, 0xb8e5
pop edx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x405706
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x405769
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x405625
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x405625
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x405753
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x40575d
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x4057b2
push eax
jmp 0x40577c
call 0x40578a
add byte [ebx], dh
cmp al, byte [eax + 0x41]
dec esi
dec ecx
inc ebx
add esp, 4
pop eax
push edx
push eax
add esp, 4
call 0x4057a0
add byte [ebx + 0x38], al
dec eax
dec ecx
inc edi
dec esp
add esp, 4
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x40581a
push esi
push ebx
add esp, 4
xor esi, 0x482b
add esi, 0x1490
sub esi, 0x17763
pop esi
push ecx
add ecx, 0x118ac
and ecx, 0x159da
or ecx, 0xa458
and ecx, 0x1768a
pop ecx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x405810
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x4055c6
mov dword [ebp - 0x2e0], 0
Function at 0x4056d9
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
sub edi, 0x3fc4
sub edi, 0xadca
pop edi
push esi
call fcn.00405640
add byte [0x45473d39], dh
inc ebx
add esp, 4
pop esi
push ecx
add ecx, 0x162ca
jmp 0x405650
add ecx, 0x349c
pop ecx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push ebx
jmp 0x4056b9
add ebx, 0x93e5
pop ebx
push edx
push eax
add esp, 4
or edx, 0x356a
call 0x4056d9
add byte [eax + 0x36], al
dec edi
xor eax, 0x424b3a39
add esp, 4
sub edx, 0xb8e5
pop edx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x405706
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x405769
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x405625
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x405625
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x405753
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x40575d
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x4057b2
push eax
jmp 0x40577c
call 0x40578a
add byte [ebx], dh
cmp al, byte [eax + 0x41]
dec esi
dec ecx
inc ebx
add esp, 4
pop eax
push edx
push eax
add esp, 4
call 0x4057a0
add byte [ebx + 0x38], al
dec eax
dec ecx
inc edi
dec esp
add esp, 4
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x40581a
push esi
push ebx
add esp, 4
xor esi, 0x482b
add esi, 0x1490
sub esi, 0x17763
pop esi
push ecx
add ecx, 0x118ac
and ecx, 0x159da
or ecx, 0xa458
and ecx, 0x1768a
pop ecx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x405810
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x4055c6
mov dword [ebp - 0x2e0], 0
Function at 0x40578a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
sub edi, 0x3fc4
sub edi, 0xadca
pop edi
push esi
call fcn.00405640
add byte [0x45473d39], dh
inc ebx
add esp, 4
pop esi
push ecx
add ecx, 0x162ca
jmp 0x405650
add ecx, 0x349c
pop ecx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push ebx
jmp 0x4056b9
add ebx, 0x93e5
pop ebx
push edx
push eax
add esp, 4
or edx, 0x356a
call 0x4056d9
add byte [eax + 0x36], al
dec edi
xor eax, 0x424b3a39
add esp, 4
sub edx, 0xb8e5
pop edx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x405706
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x405769
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x405625
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x405625
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x405753
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x40575d
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x4057b2
push eax
jmp 0x40577c
call 0x40578a
add byte [ebx], dh
cmp al, byte [eax + 0x41]
dec esi
dec ecx
inc ebx
add esp, 4
pop eax
push edx
push eax
add esp, 4
call 0x4057a0
add byte [ebx + 0x38], al
dec eax
dec ecx
inc edi
dec esp
add esp, 4
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x40581a
push esi
push ebx
add esp, 4
xor esi, 0x482b
add esi, 0x1490
sub esi, 0x17763
pop esi
push ecx
add ecx, 0x118ac
and ecx, 0x159da
or ecx, 0xa458
and ecx, 0x1768a
pop ecx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x405810
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x4055c6
mov dword [ebp - 0x2e0], 0