joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b760
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4c0d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b8f4
test al, 0x10
jne 0x44b8f4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x3e], xmm0
movlpd qword [ebp - 0x36], xmm0
mov word [ebp - 0x2e], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 1
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44b90a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.00408c40
add esp, 0x10
cmp dword [ebx + 0xc], 0
je 0x44b83f
mov eax, 0xa
jmp 0x44b841
xor eax, eax
mov esi, dword [ebp - 0x14]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44b896
mov eax, dword [ebx + 8]
test eax, eax
je 0x44b88f
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44b88f
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x44b88f
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44b8ad
push eax
call edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x44b8be
push eax
call edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44b8dd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x44c710
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4e6d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44c8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov edi, 3
call fcn.00406b20
mov byte [ebp - 4], 1
nop dword [eax]
mov eax, dword [ebp - 0x10]
test edi, edi
js 0x44c891
cmp edi, dword [eax - 0xc]
jge 0x44c891
lea eax, [eax + edi*2]
push 0x5c
push eax
call fcn.005a4d84
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x10]
test ecx, ecx
jne 0x44c7a0
or ecx, 0xffffffff
jmp 0x44c7a4
sub ecx, eax
sar ecx, 1
add ecx, 1
mov dword [ebp - 0x1c], ecx
je 0x44c891
xor edi, edi
test ecx, ecx
cmovns edi, ecx
cmp edi, dword [eax - 0xc]
jl 0x44c7cc
lea ecx, [eax - 0x10]
call fcn.00406d70
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x44c7f8
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x44c7dc
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x44c7e8
call fcn.00405800
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00406cf0
mov eax, dword [ebp - 0x18]
lea edi, [eax - 0x10]
mov byte [ebp - 4], 2
lea ebx, [esi - 0x10]
cmp edi, ebx
je 0x44c84d
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x44c83e
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x44c83e
mov ecx, edi
call fcn.00406d70
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x44c836
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x44c84d
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00406ed0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44c866
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x1c]
cmp eax, 0xffffffff
jne 0x44c770
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x44c770
mov eax, dword [ebp - 0x10]
jmp 0x44c896
mov ebx, 1
or edi, 0xffffffff
mov byte [ebp - 4], 0
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44c8b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x44c8d0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.00405600
int3
Function at 0x44c8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
mov dword [ebp - 8], 0xfeff
mov dword [ebp - 4], esi
test ecx, ecx
je 0x44c951
push edi
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44c949
push esi
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov ecx, 1
cmovne esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44c960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [edx + 4]
jle 0x44c9df
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x44c9df
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov dword [ebp - 4], 0xffffffff
call fcn.00483be3
add esp, 8
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.004127f0
sub esp, 0xc
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push esi
call fcn.00410bd0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406a90
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ca34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00410cd0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x18]
cmp eax, 0xffffffff
mov eax, ebx
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ca69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x44ca79
mov edi, 1
jmp 0x44cb0b
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44cb3e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
push ecx
push 0x639224
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.0040fbf0
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x44caba
xor edi, edi
jmp 0x44cad1
test esi, esi
je 0x44cacc
push esi
push 0x635e10
call fcn.005b3513
add esp, 8
mov edi, 1
mov byte [ebp - 4], 1
test esi, esi
je 0x44caf1
push esi
call fcn.005b33d0
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
call fcn.00406bc0
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44cb0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44cb2a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00405600
int3
Function at 0x44cb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4f06
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x64c00c]
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 dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44cbfe
call fcn.00405800
test eax, eax
je 0x44ccd5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x635b44
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00406c20
test al, al
jne 0x44ccb8
push 0
push 0x635b44
mov ecx, esi
call fcn.00406ed0
jmp 0x44ccb8
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44ccd5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406c20
test al, al
jne 0x44cc63
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44cc41
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406ed0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 2
call fcn.00407ae0
push 0x19
push str.kwallpapersdk_file_rd.tmp
lea ecx, [ebp - 0x21c]
call fcn.004089b0
mov edi, dword [ebp - 0x21c]
add edi, 0xfffffff0
mov ecx, edi
call fcn.00406d70
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44ccb8
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x44cce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4f06
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x64c00c]
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 dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44cd8e
call fcn.00405800
test eax, eax
je 0x44ce65
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x635b44
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00406c20
test al, al
jne 0x44ce48
push 0
push 0x635b44
mov ecx, esi
call fcn.00406ed0
jmp 0x44ce48
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44ce65
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406c20
test al, al
jne 0x44cdf3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44cdd1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406ed0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 2
call fcn.00407ae0
push 0x18
push 0x6390c0
lea ecx, [ebp - 0x21c]
call fcn.004089b0
mov edi, dword [ebp - 0x21c]
add edi, 0xfffffff0
mov ecx, edi
call fcn.00406d70
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44ce48
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3
Function at 0x44d230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4fd1
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x64c00c]
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 edi, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x230], edi
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44d456
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x234], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push 0x20219
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.00405670
test eax, eax
je 0x44d344
call fcn.00405800
test eax, eax
je 0x44d460
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x635b44
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00406c20
test al, al
jne 0x44d30b
push 0
push 0x635b44
mov ecx, edi
call fcn.00406ed0
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x44d31c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44d438
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44d438
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a52f0
mov ebx, dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x635b44
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44d3b3
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x44d3a1
cmp eax, 2
jne 0x44d3b3
cmp dword [ebp - 0x21c], 0
jne 0x44d3b3
xor eax, eax
mov word [ebp - 0x218], ax
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44d460
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00406c20
test al, al
jne 0x44d40e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d3f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00406ed0
test ebx, ebx
je 0x44d419
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44d438
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00483ab6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
int3
Function at 0x44ebc0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x268
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x54]
push edi
mov dword [esp + 0x58], 0x3a002a
push eax
mov dword [esp + 0x60], 0x5c
mov word [esp + 0x5c], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x44ecef
mov eax, dword [0x6397a0]
xor edi, edi
movq xmm0, qword [0x639798]
mov dword [esp + 0x68], eax
mov ax, word [0x6397a4]
push 0x1fa
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push edi
push eax
movq qword [esp + 0x6c], xmm0
call fcn.005a52f0
xorps xmm0, xmm0
mov dword [esp + 0x1c], edi
add esp, 0xc
mov dword [esp + 0x1c], edi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
cmp si, 0x41
jb 0x44ec66
cmp si, 0x5a
jbe 0x44ec6f
lea eax, [esi - 0x61]
cmp ax, 0x19
ja 0x44ecd7
push 0
push 0x80
push 3
push 0
push 3
push closesocket
lea eax, [esp + 0x78]
mov word [esp + 0x80], si
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44ecd7
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edi
push eax
push 0x28
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], edi
push eax
push 0xc
lea eax, [esp + 0x28]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
cmovne edi, dword [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 7
je 0x44ecef
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x26c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 4
Function at 0x44ed10
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5228
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x64c00c]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edi, [ebp - 0x21c]
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jne 0x44ee40
nop dword [eax]
push edi
lea ecx, [ebp - 0x220]
call fcn.00406b20
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x22c]
cmp esi, dword [ebp - 0x228]
je 0x44edfa
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406d70
add eax, 0x10
mov dword [esi], eax
add dword [ebp - 0x22c], 4
jmp 0x44ee0d
lea eax, [ebp - 0x220]
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040ce90
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 4], 1
mov esi, eax
mov edx, dword [ebp - 0x220]
or ecx, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44ee3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 3
je 0x44edc0
xorps xmm0, xmm0
movlpd qword [ebp - 0x224], xmm0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44ef51
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x635b44
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00406c20
test al, al
jne 0x44ee86
push 0
push 0x635b44
mov ecx, ebx
call fcn.00406ed0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x230]
mov dword [ebp - 0x238], 1
cmp esi, dword [ebp - 0x22c]
je 0x44ef26
mov ebx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x220], eax
mov edi, dword [esi]
movzx eax, word [edi]
push eax
call fcn.0044ebc0
test al, al
je 0x44ef15
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44ef15
mov ecx, dword [ebp - 0x240]
cmp ebx, ecx
jg 0x44ef15
mov eax, dword [ebp - 0x244]
jl 0x44ef01
cmp dword [ebp - 0x220], eax
ja 0x44ef15
mov ebx, ecx
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x234]
push esi
call fcn.00406a90
add esi, 4
cmp esi, dword [ebp - 0x22c]
jne 0x44eeb8
mov ebx, dword [ebp - 0x234]
lea ecx, [ebp - 0x230]
call fcn.0040cd50
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.00483ab6
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00405600
int3
Function at 0x44ef60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d527b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x64c00c]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x44f153
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406c20
test al, al
jne 0x44f022
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f000
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406ed0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
jle 0x44f112
push 0x5c
push esi
call fcn.005a4d84
add esp, 8
test eax, eax
je 0x44f051
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x44f072
cmp dword [esi - 0xc], 0
jle 0x44f112
push 0x2f
push esi
call fcn.005a4d84
add esp, 8
test eax, eax
je 0x44f112
sub eax, esi
sar eax, 1
test eax, eax
jle 0x44f112
xor edi, edi
add eax, 0xffffffff
cmovns edi, eax
cmp edi, dword [esi - 0xc]
jl 0x44f094
lea ecx, [esi - 0x10]
call fcn.00406d70
lea edi, [eax + 0x10]
jmp 0x44f0c4
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x44f0a4
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x44f0b0
call fcn.00405800
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push edi
push esi
lea ecx, [ebp - 0x220]
call fcn.00406cf0
mov edi, dword [ebp - 0x220]
test edi, edi
jne 0x44f0cd
or eax, 0xffffffff
jmp 0x44f0f1
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jge 0x44f0da
or eax, 0xffffffff
jmp 0x44f0f1
push edi
push eax
call fcn.005a4f11
add esp, 8
test eax, eax
jne 0x44f0ed
or eax, 0xffffffff
jmp 0x44f0f1
sub eax, dword [ebx]
sar eax, 1
xor ebx, ebx
test eax, eax
sete bl
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44f114
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44f114
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44f133
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 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 - 0x10]
xor ecx, ebp
call fcn.00483ab6
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00405600
int3