joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0052060b

Function at 0x408e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x408eb9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408ecf
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408ec6
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x408f02
nop
cmp esi, ecx
jae 0x408ec6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x408ef0
cmp esi, ecx
jae 0x408ec6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x408f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x409051
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409051
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409051
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x408fd7
cmp esi, ecx
jae 0x409051
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x408fc1
cmp esi, ecx
jae 0x409051
movzx eax, word [esi]
test ax, ax
je 0x409051
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 2]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x40905a
mov eax, dword [ebx]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x40901d
push edi
mov ecx, ebx
call fcn.004086d0
mov eax, dword [ebx]
push 0
push 0
push edi
push eax
movzx eax, word [esi]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebx]
cmp edi, dword [ecx - 8]
jg 0x40905a
mov dword [ecx - 0xc], edi
mov eax, 1
mov ecx, dword [ebx]
mov byte [edi + ecx], 0
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.004088a0
int3
Function at 0x409070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.00529c4a
mov ebx, eax
test ebx, ebx
jne 0x409090
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x409177
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409177
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409177
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4090f8
cmp esi, ecx
jae 0x409177
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4090e2
cmp esi, ecx
jae 0x409177
movzx eax, word [esi]
test ax, ax
je 0x409177
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 2]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x409182
mov ebx, dword [ebp - 4]
mov edx, 1
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x409141
push edi
mov ecx, ebx
call fcn.004086d0
mov eax, dword [ebx]
push 0
push 0
push edi
push eax
movzx eax, word [esi]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x409182
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
pop esi
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004088a0
int3
Function at 0x409380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d084
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x70af2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00528db8
mov dword [ebp - 4], 0
mov dword [esi], vtable.CCuteDocumentInfo.0
call fcn.00529f92
mov ecx, eax
test ecx, ecx
je 0x4094a8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 1
call fcn.00529f92
mov ecx, eax
test ecx, ecx
je 0x4094b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 2
call fcn.00529f92
mov ecx, eax
test ecx, ecx
je 0x4094bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 3
call fcn.00529f92
mov ecx, eax
test ecx, ecx
je 0x4094c6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
push 0
push 0x6dadd8
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 4
call fcn.004087a0
push 0
push 0x6dadd8
lea ecx, [esi + 0x24]
call fcn.004087a0
push 0
push 0x6dadd8
lea ecx, [esi + 0x28]
call fcn.004087a0
push 0
push 0x6dadd8
lea ecx, [esi + 0x2c]
call fcn.004087a0
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004088a0
push 0x80004005
call fcn.004088a0
push 0x80004005
call fcn.004088a0
push 0x80004005
call fcn.004088a0
int3
Function at 0x40a640
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x70af2c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
mov esi, ecx
push eax
push 0
push 0x6db0e4
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x40a7a5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x10c]
push eax
call ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0xfffffffd
cmp eax, 0x105
jae 0x40a7c0
push edi
lea edi, [ebp - 0x10c]
mov byte [ebp + eax - 0x10c], 0
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40a6b0
mov eax, dword [0x6db0e0]
lea ecx, [ebp - 0x10c]
mov dword [edi], eax
lea edx, [ecx + 1]
lea edi, [esi + 0x68]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a6d0
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
mov ecx, edi
call fcn.004087a0
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a718
push dword [edi]
call ebx
test eax, eax
jne 0x40a718
mov ecx, edi
call fcn.004085b0
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x40a78d
mov ecx, dword [esi + 0x5c]
mov esi, dword [edi]
sub esi, 0x10
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x40a78d
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x40a782
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40a782
push edx
call fcn.00408950
add esp, 4
mov dword [ebp - 0x110], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x40a765
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x110]
add eax, 0x10
mov dword [edi], eax
mov eax, 1
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret 4
push dword [ecx - 0xc]
push ecx
mov ecx, edi
call fcn.004087a0
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret 4
lea ecx, [esi + 0x68]
call fcn.004085b0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.006588a1
mov esp, ebp
pop ebp
ret 4
call fcn.006589f6
int3
Function at 0x40a7d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d27a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x70af2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x60]
cmp dword [eax - 0xc], 0
je 0x40a81f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x60]
call fcn.004085b0
push 0xc0
mov byte [ebp - 4], 1
call fcn.0051d816
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x40a8ad
lea ecx, [esi + 0x1a4]
mov esi, dword [ebp + 8]
push ecx
push dword [ebp + 0xc]
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp + 0xc], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40a86e
cmp ecx, dword [esi - 0x10]
jne 0x40a86e
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40a89a
mov eax, dword [ecx]
push 1
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a9b9
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
lea eax, [edi + 0x10]
mov ecx, dword [esi - 0xc]
inc ecx
push ecx
push esi
push ecx
push eax
call fcn.004088d0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, ebx
call fcn.00415990
mov esi, eax
jmp 0x40a8af
xor esi, esi
mov ecx, dword [ebp - 0x14]
push esi
add ecx, 0x1a4
mov byte [ebp - 4], 1
call fcn.0052a80d
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a8e4
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.004088c0
int3
Function at 0x40dfb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d5c6
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x70af2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 0
push 0
push str.MAPI32.DLL
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x40e1d2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40e1d2
push str.MAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e1d2
push str.MAPISendMail
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x40e03f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40e1d2
push esi
lea ecx, [ebp - 0x318]
call fcn.00409260
lea ecx, [ebp - 0x314]
mov dword [ebp - 4], 0
call fcn.004096c0
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x31c]
push eax
push esi
call fcn.0065e7a7
lea ecx, [ebp - 0x110]
add esp, 0x14
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e090
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x314]
call fcn.004087a0
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e0b5
sub ecx, edx
lea eax, [ebp - 0x210]
push ecx
push eax
lea ecx, [ebp - 0x314]
call fcn.0040d6b0
mov eax, dword [ebp - 0x318]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x314]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x334]
push 0
push 9
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x364]
push eax
push 0
push 0
movlpd qword [ebp - 0x334], xmm0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x32c], 0xffffffff
mov dword [ebp - 0x324], esi
mov dword [ebp - 0x364], 0
movlpd qword [ebp - 0x35c], xmm0
movlpd qword [ebp - 0x354], xmm0
movlpd qword [ebp - 0x34c], xmm0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x33c], 1
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x360], 0
call ebx
test eax, eax
je 0x40e18b
cmp eax, 1
je 0x40e18b
cmp eax, 3
je 0x40e18b
push 0
push 0
push str.Fail_to_send_mail_
call fcn.0052ceab
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40e1b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x318]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40e1d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret
Function at 0x411790
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x70af2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x364], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00662840
add esp, 8
push 0x5c
lea edx, [ebp - 0x214]
push edx
call fcn.00412fc0
add esp, 8
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
je 0x4117ea
mov eax, dword [ebp - 0x35c]
mov byte [eax + 1], 0
lea ecx, [ebp - 0x354]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0xffffffff
je 0x4118c5
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00662840
add esp, 8
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.00662850
add esp, 8
lea ecx, [ebp - 0x354]
push ecx
call fcn.004122c0
add esp, 4
test eax, eax
je 0x411899
cmp dword [ebp + 0xc], 0
je 0x41188c
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0xffffffff
je 0x41188c
mov eax, dword [ebp - 0x360]
and eax, 1
je 0x41188c
push 0x80
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x41180e
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4118c9
xor eax, eax
jmp 0x4118ce
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret

Function at 0x4118e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x70af2c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0x104
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x41195e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
and eax, 0x10
je 0x41195c
mov eax, 1
jmp 0x41197a
jmp 0x411978
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411974
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x411978
xor eax, eax
jmp 0x41197a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret
Function at 0x411990
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x70af2c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0x104
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x411a17
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
je 0x411a02
mov eax, 1
jmp 0x411a3e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0x10
jne 0x411a15
xor eax, eax
jmp 0x411a3e
jmp 0x411a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411a38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x411a38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x411a3c
xor eax, eax
jmp 0x411a3e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret
Function at 0x463761
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x46376a
pop ebx
jmp 0x46399e
push edx
add edx, 0x6ca0
pop edx
push ebx
push ebx
add esp, 4
call 0x4639b7
add byte [eax + 0x4c], cl
xor eax, 0x8341364a
les eax, [ecx + eax*4]
mov eax, 0xe80000ac
pop es
add byte [eax], al
add byte [eax], al
xor eax, 0x463a5038
push eax
add esp, 4
pop ebx
mov dword [ebp - 0xa5c], 0
push esi
or esi, 0x13310
call 0x4639f0
add byte [edi], dh
inc ecx
xor eax, 0x413e4238
dec edx
add esp, 4
pop esi
push edi
push ebx
add esp, 4
and edi, 0x13b1c
or edi, 0xc16d
add edi, 0x7ce2
pop edi
mov byte [ebp - 0x804], 0x45
mov byte [ebp - 0x803], 0x78
mov byte [ebp - 0x802], 0x69
mov byte [ebp - 0x801], 0x74
mov byte [ebp - 0x800], 0x50
mov byte [ebp - 0x7ff], 0x72
mov byte [ebp - 0x7fe], 0x6f
mov byte [ebp - 0x7fd], 0x63
mov byte [ebp - 0x7fc], 0x65
mov byte [ebp - 0x7fb], 0x73
mov byte [ebp - 0x7fa], 0x73
mov byte [ebp - 0x7f9], 0
push ecx
jmp 0x463a66
jmp 0x463a6d
jmp 0x463a73
or ecx, 0x36d0
pop ecx
push edi
push ecx
add esp, 4
and edi, 0xe7f2
out 0xf2, eax
out 0, eax
add byte [ecx + 0xfe14ef], al
add byte [ecx + 0xbe84e7], al
add byte [edi - 0x47], bl
imul eax, dword [eax], 0
add byte [esi - 0x77], ah
invalid
fsubr st(1)
invalid
invalid
mov edx, 0x65
mov word [ebp - 0x1626], dx
mov eax, 0x72
mov word [ebp - 0x1624], ax
mov ecx, 0x6e
mov word [ebp - 0x1622], cx
mov edx, 0x65
mov word [ebp - 0x1620], dx
mov eax, 0x6c
mov word [ebp - 0x161e], ax
mov ecx, 0x33
mov word [ebp - 0x161c], cx
mov edx, 0x32
mov word [ebp - 0x161a], dx
mov eax, 0x2e
mov word [ebp - 0x1618], ax
mov ecx, 0x64
mov word [ebp - 0x1616], cx
mov edx, 0x6c
mov word [ebp - 0x1614], dx
mov eax, 0x6c
mov word [ebp - 0x1612], ax
invalid
push dword [ebx]
leave
mov word [ebp - 0x1610], cx
push edi
push ecx
add esp, 4
call 0x463b3c
add byte [edx], dh
xor al, 0x3f
xor al, 0x4b
inc ecx
add esp, 4
pop edi
push esi
sub esi, 0x1804e
jmp 0x463b50
add esi, 0xd335
xor esi, 0x4df
pop esi
push edx
push ebx
add esp, 4
add edx, 0xa07f
add edx, 0x1368b
sub edx, 0x5211
add edx, 0x111ef
pop edx
push ecx
and ecx, 0x105dc
or ecx, 0x4607
xor ecx, 0x40d2
pop ecx
mov edx, dword fs:[0x18]
mov edx, dword [0x18]
mov dword [ebp - 0x1890], edx
mov eax, dword [ebp - 0x1890]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1894], ecx
mov edx, dword [ebp - 0x1894]
mov dword [ebp - 0x14d4], edx
push ecx
or ecx, 0xe9d
xor ecx, 0x61a9
or ecx, 0x14e29
pop ecx
push esi
push ecx
add esp, 4
sub esi, 0x4c8d
add esi, 0x13bb3
sub esi, 0x150d3
add esi, 0xf825
pop esi
cmp dword [ebp - 0x14d4], 0
jne 0x463c01
mov dword [ebp - 0x2e0], 0
jmp 0x463ebd
invalid
mov eax, dword [ebp - 0x14d4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc20], edx
push edx
sub edx, 0xdd86
jmp 0x463c22
xor edx, 0xebc0
pop edx
push edx
xor edx, 0xa346
or edx, 0x8d5b
add edx, 0xce96
pop edx
push eax
or eax, 0x12ae0
pop eax
cmp dword [ebp - 0xc20], 0
jne 0x463c5d
mov dword [ebp - 0x2e0], 0
jmp 0x463ebd
mov eax, dword [ebp - 0xc20]
mov dword [ebp - 0x4d4], eax
Function at 0x4639b7
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x46376a
pop ebx
jmp 0x46399e
push edx
add edx, 0x6ca0
pop edx
push ebx
push ebx
add esp, 4
call 0x4639b7
add byte [eax + 0x4c], cl
xor eax, 0x8341364a
les eax, [ecx + eax*4]
mov eax, 0xe80000ac
pop es
add byte [eax], al
add byte [eax], al
xor eax, 0x463a5038
push eax
add esp, 4
pop ebx
mov dword [ebp - 0xa5c], 0
push esi
or esi, 0x13310
call 0x4639f0
add byte [edi], dh
inc ecx
xor eax, 0x413e4238
dec edx
add esp, 4
pop esi
push edi
push ebx
add esp, 4
and edi, 0x13b1c
or edi, 0xc16d
add edi, 0x7ce2
pop edi
mov byte [ebp - 0x804], 0x45
mov byte [ebp - 0x803], 0x78
mov byte [ebp - 0x802], 0x69
mov byte [ebp - 0x801], 0x74
mov byte [ebp - 0x800], 0x50
mov byte [ebp - 0x7ff], 0x72
mov byte [ebp - 0x7fe], 0x6f
mov byte [ebp - 0x7fd], 0x63
mov byte [ebp - 0x7fc], 0x65
mov byte [ebp - 0x7fb], 0x73
mov byte [ebp - 0x7fa], 0x73
mov byte [ebp - 0x7f9], 0
push ecx
jmp 0x463a66
jmp 0x463a6d
jmp 0x463a73
or ecx, 0x36d0
pop ecx
push edi
push ecx
add esp, 4
and edi, 0xe7f2
out 0xf2, eax
out 0, eax
add byte [ecx + 0xfe14ef], al
add byte [ecx + 0xbe84e7], al
add byte [edi - 0x47], bl
imul eax, dword [eax], 0
add byte [esi - 0x77], ah
invalid
fsubr st(1)
invalid
invalid
mov edx, 0x65
mov word [ebp - 0x1626], dx
mov eax, 0x72
mov word [ebp - 0x1624], ax
mov ecx, 0x6e
mov word [ebp - 0x1622], cx
mov edx, 0x65
mov word [ebp - 0x1620], dx
mov eax, 0x6c
mov word [ebp - 0x161e], ax
mov ecx, 0x33
mov word [ebp - 0x161c], cx
mov edx, 0x32
mov word [ebp - 0x161a], dx
mov eax, 0x2e
mov word [ebp - 0x1618], ax
mov ecx, 0x64
mov word [ebp - 0x1616], cx
mov edx, 0x6c
mov word [ebp - 0x1614], dx
mov eax, 0x6c
mov word [ebp - 0x1612], ax
invalid
push dword [ebx]
leave
mov word [ebp - 0x1610], cx
push edi
push ecx
add esp, 4
call 0x463b3c
add byte [edx], dh
xor al, 0x3f
xor al, 0x4b
inc ecx
add esp, 4
pop edi
push esi
sub esi, 0x1804e
jmp 0x463b50
add esi, 0xd335
xor esi, 0x4df
pop esi
push edx
push ebx
add esp, 4
add edx, 0xa07f
add edx, 0x1368b
sub edx, 0x5211
add edx, 0x111ef
pop edx
push ecx
and ecx, 0x105dc
or ecx, 0x4607
xor ecx, 0x40d2
pop ecx
mov edx, dword fs:[0x18]
mov edx, dword [0x18]
mov dword [ebp - 0x1890], edx
mov eax, dword [ebp - 0x1890]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1894], ecx
mov edx, dword [ebp - 0x1894]
mov dword [ebp - 0x14d4], edx
push ecx
or ecx, 0xe9d
xor ecx, 0x61a9
or ecx, 0x14e29
pop ecx
push esi
push ecx
add esp, 4
sub esi, 0x4c8d
add esi, 0x13bb3
sub esi, 0x150d3
add esi, 0xf825
pop esi
cmp dword [ebp - 0x14d4], 0
jne 0x463c01
mov dword [ebp - 0x2e0], 0
jmp 0x463ebd
invalid
mov eax, dword [ebp - 0x14d4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc20], edx
push edx
sub edx, 0xdd86
jmp 0x463c22
xor edx, 0xebc0
pop edx
push edx
xor edx, 0xa346
or edx, 0x8d5b
add edx, 0xce96
pop edx
push eax
or eax, 0x12ae0
pop eax
cmp dword [ebp - 0xc20], 0
jne 0x463c5d
mov dword [ebp - 0x2e0], 0
jmp 0x463ebd
mov eax, dword [ebp - 0xc20]
mov dword [ebp - 0x4d4], eax