joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4337e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7f4f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x630490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x605d54
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
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]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00424f80
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 4]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.004043b0
push eax
mov dword [ebp - 4], 2
call fcn.00405300
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43389c
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x43389c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x4338c1
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.004042f0
mov dword [ebp - 4], 3
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, ebx
call fcn.00428340
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x64092c]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 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 4
Function at 0x433d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b4188
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x630490]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x630490]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x433e84
cmp byte [ebx + 0x45], 0
je 0x433e84
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x433d90
xor al, al
jmp 0x433e86
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x433dd0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x433e11
dec eax
je 0x433e15
sub eax, 2
je 0x433e6b
xor bl, bl
jmp 0x433e6d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x433e4c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0057ac4d
add esp, 0x10
cmp esi, eax
jne 0x433e0d
cmp byte [ebx + 0x45], 0
je 0x433e6b
test esi, esi
jne 0x433dd0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.004293c0
jmp 0x433dd0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x433e80
push dword [esp + 0x18]
call fcn.0044ffc1
add esp, 4
mov al, bl
jmp 0x433e86
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00577e97
mov esp, ebp
pop ebp
ret
Function at 0x439ea0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b85d3
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x84], 0
call fcn.0040a220
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [edi + 0x2a], al
push 4
setne al
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 1
push 6
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x20], 1
test eax, eax
je 0x439f22
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
jmp 0x439f30
mov dword [ebp - 0x1c], 0x124f80
mov dword [ebp - 0x18], 0x7d0
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0xc
lea eax, [ebp - 0x80]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x98000004
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x43a015
mov byte [ebp - 0x74], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea ecx, [ebp - 0xb4]
call fcn.004057e0
push eax
mov edx, str.setKeepAlive_WSAIoctl_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00405a70
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x439fc6
cmp dword [ebp - 0x5c], 0x10
jb 0x439fab
push dword [ebp - 0x70]
call fcn.0044ffc1
add esp, 4
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.004045c0
cmp dword [ebp - 0x88], 0x10
jb 0x439fdd
push dword [ebp - 0x9c]
call fcn.0044ffc1
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
jb 0x43a028
push dword [ebp - 0xb4]
call fcn.0044ffc1
add esp, 4
jmp 0x43a028
push 0
push 0x602665
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x74], 1
call fcn.00404c00
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00413370
cmp dword [ebp - 0x44], 0x10
jb 0x43a044
push dword [ebp - 0x58]
call fcn.0044ffc1
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
jb 0x43a067
push dword [ebp - 0x70]
call fcn.0044ffc1
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 - 0x14]
xor ecx, ebp
call fcn.00577e97
mov esp, ebp
pop ebp
ret 4
Function at 0x43a090
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8619
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x630490]
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 + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040a220
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x2a], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x602665
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404c00
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.00577e97
mov esp, ebp
pop ebp
ret 4
Function at 0x443f10
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x443f99
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp + 8]
neg eax
push 0
sbb eax, eax
push 0
and eax, 2
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1c]
neg eax
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00577e97
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00577e97
mov esp, ebp
pop ebp
ret 4
Function at 0x444cf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b915b
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x630490]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push esi
push edi
mov eax, dword [0x630490]
xor eax, esp
push eax
lea eax, [esp + 0x678]
mov dword fs:[0], eax
mov ebx, edx
mov dword [esp + 0x10], ebx
mov esi, ecx
mov dword [esp + 0x14], esi
push 0
push 0x602665
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call fcn.00404c00
xor eax, eax
mov dword [esp + 0x680], 0
mov word [esp + 0x54], ax
test ebx, ebx
je 0x444ecc
lea eax, [esp + 0x54]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x444ecc
mov eax, dword [0x60651c]
lea edi, [esp + 0x54]
mov dword [esp + 0x4c], eax
xor ebx, ebx
mov ax, word [0x606520]
mov word [esp + 0x50], ax
jmp 0x444dc0
mov ax, word [edi]
mov word [esp + 0x4c], ax
lea eax, [esp + 0x25c]
push 0x104
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x444eb0
lea esi, [esp + 0x25c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x444df2
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x444eb0
push esi
lea eax, [esp + 0x260]
push eax
push dword [esp + 0x18]
call fcn.0057b554
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x444eb0
mov eax, dword [esp + 0x10]
lea eax, [eax + esi*2]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x46c]
push 0x606524
push eax
call fcn.004464f0
add esp, 0x10
lea edx, [esp + 0x464]
lea ecx, [esp + 0x1c]
call fcn.00425d70
mov esi, eax
lea eax, [esp + 0x34]
cmp eax, esi
je 0x444e9d
cmp dword [esp + 0x48], 0x10
jb 0x444e7e
push dword [esp + 0x34]
call fcn.0044ffc1
add esp, 4
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.004045c0
cmp dword [esp + 0x30], 0x10
jb 0x444eb0
push dword [esp + 0x1c]
call fcn.0044ffc1
add esp, 4
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x444eb0
test ebx, ebx
jne 0x444ec8
cmp word [edi], bx
jne 0x444dc0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.004044f0
cmp dword [esp + 0x48], 0x10
jb 0x444eeb
push dword [esp + 0x34]
call fcn.0044ffc1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.00577e97
mov esp, ebp
pop ebp
ret
Function at 0x444f20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b91b2
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x630490]
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, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
push 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push 0x602665
mov dword [ebp - 0x228], edi
mov byte [edi], 0
call fcn.00404c00
push esi
push 0
mov dword [ebp - 4], 0
push 0x410
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x44507e
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0057c2a0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x445077
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x240]
call fcn.00444cf0
mov esi, eax
cmp edi, esi
je 0x445060
cmp dword [edi + 0x14], 0x10
jb 0x44500f
push dword [edi]
call fcn.0044ffc1
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x445039
mov eax, dword [esi + 0x10]
inc eax
je 0x445043
push eax
push esi
push edi
call fcn.00578090
add esp, 0xc
jmp 0x445043
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x22c], 0x10
jb 0x445077
push dword [ebp - 0x240]
call fcn.0044ffc1
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
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.00577e97
mov esp, ebp
pop ebp
ret
Function at 0x4457f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4390
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x630490]
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 dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
lea ecx, [ebp - 0x1c]
call fcn.004450a0
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4458b5
lea esp, [esp]
push dword [ebx + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x445890
test ebx, ebx
je 0x4458c2
push ebx
call fcn.0044ffc1
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x4458d3
push dword [ebp + 8]
call fcn.0044ffc1
add esp, 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.00577e97
mov esp, ebp
pop ebp
ret

Function at 0x4458f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4e98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x630490]
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
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00445640
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov eax, dword [ebp - 0x1c]
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x445987
nop
push dword [eax + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x445960
test eax, eax
je 0x445994
push eax
call fcn.0044ffc1
add esp, 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.00577e97
mov esp, ebp
pop ebp
ret
Function at 0x4459b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b92c8
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x630490]
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
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
call fcn.00430420
add esp, 0x18
test al, al
je 0x445b8a
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445a28
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub ecx, edx
push 0
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445a50
push edx
sub eax, ebx
lea ecx, [ebp - 0x218]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047d0
lea ecx, [ebp - 0x438]
call fcn.004317e0
add esp, 0x18
lea esi, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
cmovae esi, dword [ebp - 0x438]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445ab4
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445ad3
push edx
sub eax, ebx
lea ecx, [ebp - 0x420]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x474]
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x424], 0x10
jb 0x445b6f
push dword [ebp - 0x438]
call fcn.0044ffc1
add esp, 4
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x438], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x445b9b
push dword [ebp + 8]
call fcn.0044ffc1
add esp, 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.00577e97
mov esp, ebp
pop ebp
ret
Function at 0x445e40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9348
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x6318dc], 0x10
mov ecx, 0x6318c8
push 0
cmovae ecx, dword [0x6318c8]
mov edx, 0x602665
mov dword [ebp - 0x5c], 0
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x445ea3
cmp dword [0x6318d8], eax
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x445ed5
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x6318c8
mov byte [esi], 0
call fcn.004047d0
jmp 0x44602a
cmp dword [0x64037c], 1
jne 0x445f5c
xorps xmm0, xmm0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x68], xmm0
call fcn.00446240
mov edx, 0x602665
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00416010
test al, al
je 0x445f44
mov edx, 0x606530
lea ecx, [ebp - 0x58]
call fcn.00416010
test al, al
je 0x445f44
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov ecx, 0x6318c8
push eax
call fcn.004047d0
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004044f0
lea ecx, [ebp - 0x58]
call fcn.00404560
jmp 0x44602a
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 0x10
jb 0x445f5c
push dword [ebp - 0x58]
call fcn.0044ffc1
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00444a70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, 0x602665
push 0
cmovae ecx, dword [ebp - 0x28]
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x445f91
cmp dword [ebp - 0x18], eax
setne al
test eax, eax
sete al
test al, al
jne 0x445fb3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x445fb3
test al, 0x10
jne 0x445fc2
push 2
push 0x606534
lea ecx, [ebp - 0x28]
call fcn.00404c00
push 0x605698
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004099a0
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x6318c8
call fcn.004047d0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004044f0
cmp dword [ebp - 0x2c], 0x10
jb 0x446007
push dword [ebp - 0x40]
call fcn.0044ffc1
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x44602a
push dword [ebp - 0x28]
call fcn.0044ffc1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00577e97
mov esp, ebp
pop ebp
ret
Function at 0x446050
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b937b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], edx
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1bc]
push 0
push 0x602665
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x1bc], 0
call fcn.00404c00
push esi
push 1
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 4], 0
call fcn.004293c0
push 2
push 0x606538
lea ecx, [ebp - 0x1bc]
call fcn.004046e0
cmp dword [ebp - 0x1a8], 0x10
lea esi, [ebp - 0x1bc]
cmovae esi, dword [ebp - 0x1bc]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446100
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub eax, edx
push 0
push 0
inc eax
push eax
push esi
push 0
push 0
call edi
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446123
push edx
sub eax, ebx
lea ecx, [ebp - 0x1a4]
push ecx
inc eax
push eax
push esi
push 0
push 0
call edi
cmp dword [ebp - 0x1a8], 0x10
lea ecx, [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x1c4]
push ecx
lea ecx, [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov edi, dword [ebp - 0x1c0]
mov ebx, eax
mov eax, dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x1c8]
push 0
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x1d0]
mov dword [eax + 4], 0
push dword [eax + 4]
mov dword [eax], esi
push esi
call fcn.00580360
mov ecx, dword [ebp - 0x1d0]
push edx
push eax
push 0
push dword [ebp - 0x1cc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
call fcn.00580360
mov ecx, dword [ebp - 0x1d0]
push 0
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ecx + 4], edx
mov dword [eax], esi
mov esi, eax
mov dword [esi + 4], 0
push dword [esi + 4]
push dword [esi]
call fcn.00580360
push edx
push eax
push 0
push dword [ebp - 0x1c4]
call fcn.00580360
cmp dword [ebp - 0x1a8], 0x10
mov dword [esi], eax
mov dword [esi + 4], edx
jb 0x44621e
push dword [ebp - 0x1bc]
call fcn.0044ffc1
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00577e97
mov esp, ebp
pop ebp
ret