joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401887
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xc]
push eax
push str.SeShutdownPrivilege
push 0x424100
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x401905
lea eax, [ebp - 0x20]
xor esi, esi
push eax
push 0x20
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401905
mov eax, dword [ebp - 0xc]
push esi
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x401914
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a35c
leave
ret
push esi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
jmp 0x401907

Function at 0x401bb3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x401bc5
push 0xd
pop eax
jmp 0x401bf6
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x401bce
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x402366
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x402385
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402382
cmp eax, 3
jne 0x402385
xor al, al
ret
mov al, 1
ret
Function at 0x402388
Capabilities:
Get common file path
Get session user name

Disassembly:
push 0x820
mov eax, 0x41d370
call fcn.0041cb0e
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x828], ebx
push eax
lea ecx, [ebp - 0x828]
call fcn.00402255
mov dword [ebp - 4], ebx
push 0x5c
push dword [ebp - 0x828]
mov dword [ebp - 0x824], ebx
call fcn.0040b713
pop ecx
pop ecx
test eax, eax
jne 0x4023ec
or eax, 0xffffffff
jmp 0x4023f4
sub eax, dword [ebp - 0x828]
sar eax, 1
lea ecx, [ebp - 0x420]
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x824]
call fcn.00402255
push ecx
push ecx
lea ecx, [ebp - 0x824]
mov byte [ebp - 4], 1
call fcn.004025f0
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x1c
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call ebx
lea edi, [ebp - 0x218]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, cx
jne 0x402439
mov eax, dword [0x425914]
mov edx, dword [ebp - 0x824]
mov esi, edx
mov dword [edi], eax
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x402454
lea edi, [ebp - 0x218]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x40246a
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x218]
call fcn.00402366
test al, al
jne 0x40257f
lea eax, [ebp - 0x218]
mov dword [ebp - 0x82c], 0x200
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
call ebx
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edi, [ebp - 0x218]
sub edi, 2
xor ebx, ebx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x4024d0
mov edx, dword [0x425914]
mov eax, dword [ebp - 0x824]
mov esi, eax
mov dword [edi], edx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4024ec
lea edi, [ebp - 0x218]
sub eax, esi
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x402502
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x218]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x402525
mov dword [edi], edx
lea edx, [ebp - 0x820]
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x40253b
lea edi, [ebp - 0x218]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x402551
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x218]
call fcn.00402366
test al, al
jne 0x402581
xor ebx, ebx
inc ebx
jmp 0x402581
xor ebx, ebx
lea ecx, [ebp - 0x824]
call fcn.00401e7b
lea ecx, [ebp - 0x828]
call fcn.00401e7b
mov al, bl
call fcn.0041cab8
ret
Function at 0x404278
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x404283
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x40433f
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
sub edi, 1
jne 0x404298
pop edi
test esi, esi
je 0x40435b
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
inc edx
sub esi, 1
jne 0x404343
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x404362
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x424190]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x424190]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x4049e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x404a2a
push 0
lea edx, [ebp - 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x404a25
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x404a54
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0040d910
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
mov ecx, dword [ebp - 4]
xor edx, edx
div ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0040a35c
leave
ret
Function at 0x4055fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x40569e
cmp dword [esi + 4], 0xffffffff
jne 0x40569e
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40562e
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x405662
cmp eax, 0x2f
je 0x405662
push 0x425914
push 0x104
push edi
call fcn.0040e1cf
add esp, 0xc
push 0x20
call fcn.0040a5f7
pop ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], bl
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], ebx
call fcn.00404c9c
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
pop edi
cmove ecx, edx
mov eax, ecx
jmp 0x4056a3
mov eax, 0x1000000
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405c8c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x405cbe
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x405cbe
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x405d7b
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x405cdd
cmp dx, 0x5c
jne 0x405cdf
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x405cd1
cmp esi, ebx
je 0x405d25
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.0040d910
add esp, 0xc
cmp esi, 0x208
jae 0x405d89
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, edi
mov word [ebp + esi - 0x414], ax
call fcn.00405c8c
xor eax, eax
mov esi, 0x104
mov word [ebp - 0x20c], ax
test edi, edi
je 0x405d48
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040e16b
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040e1cf
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
jne 0x405d7b
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040a35c
leave
ret
call fcn.0040a4bf
int3
Function at 0x4061d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
xor ebx, ebx
lea eax, [ebp - 0x7c]
push ebx
push eax
mov esi, edx
mov edi, ecx
call fcn.0040bfc0
pop ecx
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.00401c3c
xor ecx, ecx
mov dword [ebp - 0x10], str.Open_Setup_Log
inc ecx
mov dword [ebp - 8], str.Close
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x50], ecx
push 2
pop edx
mov dword [ebp - 0xc], edx
test esi, esi
jne 0x406228
lea eax, [ebp - 0xc]
mov dword [ebp - 0x58], ecx
jmp 0x40622e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x58], edx
and dword [ebp - 0x70], 0xfffffffd
mov dword [ebp - 0x54], eax
mov eax, dword [edi]
push ecx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x60], str.Installation_has_failed
mov dword [ebp - 0x64], 0xfffe
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004019ee
test eax, eax
js 0x406278
cmp dword [ebp - 0x18], 1
jne 0x406278
test esi, esi
je 0x406278
push 5
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a35c
leave
ret
Function at 0x40719e
Capabilities:
Get common file path

Disassembly:
push 0x29c
mov eax, 0x41d5cc
call fcn.0041cb0e
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
call fcn.004075c4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
push str._version.dll
mov edx, eax
call fcn.00407637
pop ecx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.00407599
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.004075c4
push str.logoncli.dll
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00407637
pop ecx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 5
call fcn.00407599
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004075c4
push str._sspicli.dll
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.00407637
pop ecx
lea ecx, [ebp - 0x2a8]
call fcn.00407599
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmovae eax, dword [ebp - 0x260]
push eax
call esi
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call esi
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call esi
lea ecx, [ebp - 0x230]
call fcn.00407599
lea ecx, [ebp - 0x248]
call fcn.00407599
lea ecx, [ebp - 0x260]
call fcn.00407599
call fcn.0041cab8
ret
Function at 0x409517
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x41d73f
call fcn.0041cb7c
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0040bfc0
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4095a0
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4095a0
call fcn.00401c25
mov esi, eax
jmp 0x4096a3
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4095c3
call fcn.00401c25
jmp 0x409696
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x4095b9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x4095f6
mov esi, 0x8007000e
jmp 0x409698
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x4096c6
jb 0x409611
cmp eax, 0xffffffff
ja 0x4096c6
cmp eax, 0x400
jbe 0x409626
push eax
lea ecx, [ebp - 0x424]
call fcn.00407ee7
jmp 0x409648
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x409648
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x4095ec
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4095b9
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004093c2
mov esi, eax
test edi, edi
je 0x4096a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4096bc
lea ecx, [ebp - 0x424]
call fcn.00407ed2
mov eax, esi
call fcn.0041cac9
ret 0x10
push 0x80070216
call fcn.00402183
int3

Function at 0x4160a9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00415d57

Function at 0x43b639
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
mov esi, edx
call fcn.0043b67f
sub edx, 0x6dba8448
or edx, esi
xor dword [ebx], eax
sub edx, edx
sub esi, 0x4bcee51
and edx, edx
add ebx, 1
or edx, edx
inc edx
cmp ebx, edi
jne fcn.0043b639
push edx
mov edx, dword [esp]
add esp, 4
or esi, edx
dec esi
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x2af24f3e
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
mov ecx, 0x7c3b161d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407587
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
push edx
sub edx, 0xdf0d
and edx, 0xab66
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4075b6
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x14fc], ecx
jmp 0x407610
movzx eax, word [ebp - 0x200]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x4074de
movzx edx, word [ebp - 0x200]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x4074de
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4075fa
mov dword [ebp - 0x14f8], 0xffffffff
jmp 0x407604
mov dword [ebp - 0x14f8], 1
mov eax, dword [ebp - 0x14f8]
mov dword [ebp - 0x14fc], eax
cmp dword [ebp - 0x14fc], 0
jne 0x407659
push ebx
call 0x407629
add byte [ebp + 0x3f], cl
dec eax
cmp dh, byte [edi]
dec edi
inc esp
cmp eax, dword [eax - 0x7d]
les eax, [ecx + eax*4]
retf
push edx
jmp 0x407662
jmp 0x40766b
pop edx
push edx
push ebx
add esp, 4
or edx, 0x6675
pop edx
push edi
call 0x407687
add byte [ebp + 0x4b], al
cmp edi, dword [edi]
aaa
push eax
inc edx
dec esp
add esp, 4
pop edi
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x4076b7
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
jne 0x407482
mov dword [ebp - 0x2e0], 0

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

Disassembly:
add esp, 4
pop ebx
push edx
sub edx, 0xdf0d
and edx, 0xab66
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4075b6
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x14fc], ecx
jmp 0x407610
movzx eax, word [ebp - 0x200]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x4074de
movzx edx, word [ebp - 0x200]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x4074de
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4075fa
mov dword [ebp - 0x14f8], 0xffffffff
jmp 0x407604
mov dword [ebp - 0x14f8], 1
mov eax, dword [ebp - 0x14f8]
mov dword [ebp - 0x14fc], eax
cmp dword [ebp - 0x14fc], 0
jne 0x407659
push ebx
call 0x407629
add byte [ebp + 0x3f], cl
dec eax
cmp dh, byte [edi]
dec edi
inc esp
cmp eax, dword [eax - 0x7d]
les eax, [ecx + eax*4]
retf
push edx
jmp 0x407662
jmp 0x40766b
pop edx
push edx
push ebx
add esp, 4
or edx, 0x6675
pop edx
push edi
call 0x407687
add byte [ebp + 0x4b], al
cmp edi, dword [edi]
aaa
push eax
inc edx
dec esp
add esp, 4
pop edi
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x4076b7
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
jne 0x407482
mov dword [ebp - 0x2e0], 0
Function at 0x407687
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
push edx
sub edx, 0xdf0d
and edx, 0xab66
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4075b6
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x14fc], ecx
jmp 0x407610
movzx eax, word [ebp - 0x200]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x4074de
movzx edx, word [ebp - 0x200]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x4074de
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4075fa
mov dword [ebp - 0x14f8], 0xffffffff
jmp 0x407604
mov dword [ebp - 0x14f8], 1
mov eax, dword [ebp - 0x14f8]
mov dword [ebp - 0x14fc], eax
cmp dword [ebp - 0x14fc], 0
jne 0x407659
push ebx
call 0x407629
add byte [ebp + 0x3f], cl
dec eax
cmp dh, byte [edi]
dec edi
inc esp
cmp eax, dword [eax - 0x7d]
les eax, [ecx + eax*4]
retf
push edx
jmp 0x407662
jmp 0x40766b
pop edx
push edx
push ebx
add esp, 4
or edx, 0x6675
pop edx
push edi
call 0x407687
add byte [ebp + 0x4b], al
cmp edi, dword [edi]
aaa
push eax
inc edx
dec esp
add esp, 4
pop edi
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x4076b7
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
jne 0x407482
mov dword [ebp - 0x2e0], 0
Function at 0x4082d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec ebp
les eax, [ebp + 0xf1575c9]
mov bh, 0x95
clc
std
invalid

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

Disassembly:
out dx, al
nop
or eax, dword [eax]
add al, ch
or dword [eax], eax
add byte [eax], al
Function at 0x408c69
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
mov dword [ebp - 0x730], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x1580], eax
cmp dword [ebp - 0x1580], 0
jne 0x408c9d
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], ecx
jmp 0x408f8e
mov edx, dword [ebp - 0x1580]
mov eax, dword [ebp - 0x304]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1584], eax
jne 0x408cc5
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], ecx
jmp 0x408f8e
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1584]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1588], edx
cmp dword [ebp - 0x1588], 0
jne 0x408cf7
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], eax
jmp 0x408f8e
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x1588]
mov dword [ebp - 0x724], ecx
jne 0x408d1c
invalid
xchg ebp, eax
sar al, 1
invalid