joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4483f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x60], 0
call fcn.0044a830
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x448457
xor ecx, ecx
jmp 0x44846f
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448460
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00438260
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x60c8e8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00438260
push 1
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0x22
call fcn.00441a30
lea ecx, [ebp - 0x40]
test eax, eax
jns 0x4484e0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push edi
push 0
push eax
call fcn.00441a30
test eax, eax
js 0x44852f
add eax, edi
jmp 0x4484f9
push 1
inc eax
mov dword [ebp - 0x44], 0x22
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00441a30
test eax, eax
jle 0x44852f
inc eax
cmp eax, dword [ebp - 0x30]
jg 0x44852f
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x40]
call fcn.004417e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00436c20
cmp dword [ebp - 0x64], 8
jb 0x448527
push dword [ebp - 0x78]
call fcn.0048c32c
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0044e140
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00437b80
cmp dword [ebp - 0x14], 8
jb 0x44854b
push dword [ebp - 0x28]
call fcn.0048c32c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
jb 0x44856c
push dword [ebp - 0x40]
call fcn.0048c32c
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x48], 8
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
jb 0x44858d
push dword [ebp - 0x5c]
call fcn.0048c32c
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
Function at 0x448b60
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push ecx
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x448bbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile___Error:__ld_n
call fcn.004a26f6
add eax, 0x40
push eax
call fcn.004dbb24
add esp, 0xc
or eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
push esi
push 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.004a3804
mov esi, eax
add esp, 4
test esi, esi
je 0x448c27
push 0
lea eax, [ebp - 8]
push eax
push 8
push esi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448c3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.004a26f6
add eax, 0x40
push eax
call fcn.004dbb24
push esi
call fcn.004a21e3
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
push ebx
push dword [esi + 4]
call fcn.004a3804
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x448c70
push esi
call fcn.004a21e3
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x14]
push ebx
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448cd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_Error:__ld_n
call fcn.004a26f6
add eax, 0x40
push eax
call fcn.004dbb24
push esi
call fcn.004a21e3
push ebx
call fcn.004a21e3
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov ax, word [ebx + 0x1c]
push esi
mov word [ecx], ax
call fcn.004a21e3
push ebx
call fcn.004a21e3
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop esi
xor ecx, ebp
pop edi
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
Function at 0x449b20
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push esi
push 0
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x449b35
xor al, al
pop esi
ret
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80004005
je 0x449b31
push edi
lea edi, [esi + 4]
push edi
push 0x632510
push 1
push 0
push 0x632500
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x449b9b
push 0x60ec28
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [edi]
mov dword [esi], eax
add esi, 8
push esi
push 0
mov ecx, dword [edx]
push 0
push 0
push 0
push 0
push 0
push eax
push edx
call dword [ecx + 0xc]
test eax, eax
jns 0x449ba0
pop edi
xor al, al
pop esi
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
pop edi
setns al
pop esi
ret

Function at 0x44a8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ebx
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x24]
push eax
push 0x8a
push edi
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x44a95d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x44a95d
cmp dword [ebp - 8], 0
jne 0x44a930
mov eax, dword [ebp - 4]
mov bl, 1
mov dword [eax], esi
jmp 0x44a95f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44a95d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x44a95d
push esi
push eax
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebp - 8]
call fcn.004a2cf7
add esp, 0x10
mov bl, 1
jmp 0x44a95f
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x44a970
push dword [ebp + 8]
call fcn.0048c32c
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44be50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4203
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x629960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x647180
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x647180
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x60e134
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0046ded0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44cb50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x18], esi
call fcn.004c256c
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x44cbf6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004a252f
push 0x625b10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004a63a5
push edi
push 0x3f
push esi
call fcn.004c3c45
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret 8

Function at 0x44f100
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x44f131
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x44f120
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x450120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x450151
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x450140
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x459f10
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b55d9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x34]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x67452301
push 0x60e134
mov dword [ebp - 0x44], 0xefcdab89
mov dword [ebp - 0x40], 0x98badcfe
mov dword [ebp - 0x3c], 0x10325476
mov dword [ebp - 0x38], 0xc3d2e1f0
movlpd qword [ebp - 0x18], xmm0
call fcn.00437370
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.004587f0
push edi
lea ecx, [ebp - 0x48]
call fcn.00458a90
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x4c], 1
cmp edx, 0x10
jb 0x459fc7
mov esi, dword [edi]
jmp 0x459fc9
mov esi, edi
cmp edx, 0x10
jb 0x459fd2
mov ecx, dword [edi]
jmp 0x459fd4
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x459fe2
mov edx, dword [edi]
jmp 0x459fe4
mov edx, edi
cmp edx, eax
je 0x459ffa
push 0x4dbf93
push esi
push eax
lea ecx, [ebp - 0x54]
call fcn.0044fd20
add esp, 0xc
cmp dword [ebp - 0x20], 0x10
jb 0x45a00b
push dword [ebp - 0x34]
call fcn.0048c32c
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
Function at 0x45f2f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x838], ecx
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x45f4f7
test eax, eax
je 0x45f4f7
push edi
push 0x2000000
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], 0x824
push ecx
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x834], 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x45f3bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x45f3a9
push dword [ebp - 0x82c]
call fcn.0048c323
add esp, 4
mov dword [ebp - 0x834], 1
mov edi, eax
lea eax, [ebp - 0x82c]
push 0x2000000
push eax
push edi
push dword [ebp - 0x830]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x45f3c2
push edi
call fcn.0048c32c
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x828]
push ebx
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [ebp - 0x834], 0
mov ecx, eax
mov dword [ebp - 0x830], ecx
je 0x45f3ee
push edi
call fcn.0048c32c
mov ecx, dword [ebp - 0x830]
add esp, 4
test ecx, ecx
je case.default.0x45f410
mov edx, dword [ebp - 0x838]
mov ax, word [ebx + 0x18]
mov word [edx], ax
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, 6
ja case.default.0x45f410
jmp dword [eax*4 + 0x45f50c]
pop edi
mov dword [esi], 1
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 2
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 3
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0x100b
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0x1001
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0x1006
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0x1002
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi], 0x1000
test ecx, ecx
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.004a16e5
mov esp, ebp
pop ebp
ret
Function at 0x463420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7370
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x629960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
je 0x4634ef
cmp dword [ebp + 0x30], 0
je 0x4634ef
lea ecx, [esi + 4]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x46347b
push 0xffffffffffffffff
push 0
push eax
call fcn.004374f0
lea ecx, [esi + 0x1c]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x46348f
push 0xffffffffffffffff
push 0
push eax
call fcn.004374f0
cmp byte [ebp + 0x40], 0
mov al, byte [ebp + 0x38]
mov byte [esi + 0x34], al
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x50], 3
je 0x4634b3
mov ecx, esi
call fcn.00464060
mov bl, al
jmp 0x4634f8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4634cb
push 0xffffffffffffffff
push eax
mov byte [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi + 0x3c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x464280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
mov bl, 1
jmp 0x4634f8
mov dword [esi + 0x50], 1
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x463509
push dword [ebp + 8]
call fcn.0048c32c
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x46352c
push dword [ebp + 0x20]
call fcn.0048c32c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x464060
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b74a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x629960]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 4
xor eax, eax
mov dword [esp + 0x3c], 7
push 0x60e184
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00438260
lea edx, [esp + 0x24]
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x1c]
call fcn.004650e0
mov edx, eax
mov byte [esp + 0x48], 1
cmp dword [esi + 0x30], 0x10
jb 0x4640dc
mov ecx, dword [esi + 0x1c]
jmp 0x4640df
lea ecx, [esi + 0x1c]
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x4640ea
mov eax, dword [eax]
push ecx
push eax
push esi
push str.Curl__X_:___s_______s_
push dword [edx]
call fcn.00465310
mov byte [esp + 0x5c], 0
add esp, 0x14
mov edi, dword [esp + 0x20]
test edi, edi
je 0x46412e
or ebx, 0xffffffff
lea ecx, [edi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x46412e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x46412e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x464149
push dword [esp + 0x24]
call fcn.0048c32c
add esp, 4
cmp dword [esi + 0x38], 0
mov dword [esi + 0x50], 3
jne 0x46415c
lea eax, [esi + 0x3c]
mov dword [esi + 0x38], eax
mov al, byte [esi + 0x34]
mov ecx, 0xa
cmp dword [esi + 0x44], ecx
mov byte [esp + 0x10], al
mov eax, 1
cmovl ecx, dword [esi + 0x44]
cmp ecx, eax
cmovl ecx, eax
xor edi, edi
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x46423f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
sub esp, 0x18
lea eax, [esi + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
sub esp, 0x18
mov dword [esp + 0x78], 2
mov ecx, esp
lea eax, [esi + 4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004374f0
push dword [esp + 0x40]
mov ecx, esi
mov dword [esp + 0x7c], 0xffffffff
call fcn.004635d0
test al, al
jne 0x46425b
inc edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x14]
jge 0x46423f
xor edi, edi
mov eax, dword [esi + 0x38]
cmp byte [eax], 0
jne 0x46421e
cmp byte [esi + 0x3c], 0
jne 0x46421e
push 0x64
call ebx
inc edi
cmp edi, 0x32
jl 0x464206
mov eax, dword [esi + 0x38]
cmp byte [eax], 0
jne 0x46423f
cmp byte [esi + 0x3c], 0
jne 0x46423f
mov edi, dword [esp + 0x18]
mov byte [esp + 0x10], 1
cmp edi, dword [esp + 0x14]
jl 0x464190
mov dword [esi + 0x50], 1
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x50], 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466cb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b85b7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x629960]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x60fb58
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0043f180
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0043e650
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x647674]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x46b720
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov word [edi + 4], ax
mov byte [edi + 6], al
jmp 0x46b740
movzx esi, byte [eax + str.80_]
mov ecx, 7
mov edx, esi
shr esi, 3
and edx, 7
sub ecx, edx
mov edx, 1
shl edx, cl
test byte [esi + ebx], dl
je 0x46b77a
mov edx, eax
mov esi, eax
and edx, 7
sar esi, 3
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [esi + edi], dl
inc eax
cmp eax, 0x38
jl 0x46b740
pop edi
pop esi
pop ebx
pop ebp
ret 8