Function at 0x411aa0
Capabilities:
Create directory
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x580248
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
call fcn.00454925
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x411ae7
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push ebx
mov dword [esp + 0x54], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
call ebp
mov esi, eax
cmp esi, ebx
ja 0x411b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x5c]
push eax
push 0x5af700
push ecx
call fcn.00403110
lea esi, [edi - 0x10]
push esi
call fcn.00403050
mov edi, dword [esp + 0x68]
add eax, 0x10
mov dword [edi], eax
add esp, 0x10
mov dword [esp + 0x50], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x412107
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x412107
push esi
call fcn.00450d15
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x411b9d
mov ecx, dword [esp + 0x5c]
push 0x1b
push 0x5af714
call fcn.00402ef0
lea esi, [edi - 0x10]
push esi
call fcn.00403050
mov edi, dword [esp + 0x5c]
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x4120ea
push ebx
push esi
call ebp
mov esi, ebx
mov dword [esp + 0x3c], 0x40000000
xor ebx, ebx
call fcn.00454925
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411bc7
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 1
call fcn.00454925
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411bf6
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x50], 2
call fcn.00454925
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411c25
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x50], 3
call fcn.00454925
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411c54
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x50], 4
mov ecx, dword [esp + 0x28]
cmp byte [ecx], 0
je 0x411e57
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x411cc8
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
push eax
push esi
jle 0x411ca4
push str._s__d
lea eax, [esp + 0x20]
push eax
jmp 0x411cae
push 0x5af75c
lea ecx, [esp + 0x20]
push ecx
call fcn.00403110
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add esp, 0x10
push eax
push ecx
lea ecx, [esp + 0x28]
jmp 0x411e3a
test esi, esi
jne 0x411cd0
xor eax, eax
jmp 0x411cde
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411cd5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402ef0
push 4
push 0x5af76c
lea ecx, [esp + 0x1c]
call fcn.00402e00
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00419f40
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 5
call fcn.00402bc0
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411d3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x411d61
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.00402ef0
jmp 0x411e40
push 0x5af780
push esi
call fcn.0055f90e
add esp, 8
test eax, eax
jne 0x411da9
test esi, esi
jne 0x411d87
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00402ef0
jmp 0x411e40
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411d90
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00402ef0
jmp 0x411e40
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call ebp
mov eax, dword [esp + 0x30]
mul dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push 0
push ecx
push edx
push eax
call fcn.00559830
cmp edx, ebx
jb 0x411df4
ja 0x411de2
cmp eax, dword [esp + 0x3c]
jb 0x411df4
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], eax
mov ebx, edx
call fcn.004025c0
jmp 0x411e40
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 0xc], 0
push edx
push eax
push esi
jle 0x411e15
lea edx, [esp + 0x20]
push str._s__I64d
push edx
call fcn.00403110
add esp, 0x14
jmp 0x411e2d
mov eax, dword [esp + 0x48]
push ebx
push eax
lea ecx, [esp + 0x28]
push 0x5af73c
push ecx
call fcn.00403110
add esp, 0x1c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402e00
nop
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x411e40
cmp byte [esi], dl
jne 0x411c80
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push eax
call fcn.00450d0a
add esp, 4
cmp dword [edi - 0xc], 0
jne 0x412045
cmp dword [ebp - 0xc], 0
jne 0x411eca
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00413470
add esp, 0xc
mov byte [esp + 0x50], 6
mov eax, dword [eax]
mov ecx, dword [esp + 0x5c]
push eax
call fcn.00402eb0
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x412045
push 0x5af76c
lea ecx, [esp + 0x2c]
call fcn.004024e0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x58], 7
call fcn.00419f40
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
mov bl, 8
push ecx
mov byte [esp + 0x64], bl
call fcn.00413470
add esp, 0x14
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 9
call fcn.00402bc0
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411f38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 7
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x412045
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x5c]
push eax
push edi
push 0x5af784
push ecx
call fcn.00403110
add esp, 0x10
push 0x5af774
lea ecx, [esp + 0x2c]
call fcn.004024e0
push 0x5af798
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 0xa
call fcn.004024e0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x58], 0xb
call fcn.00419f40
mov esi, eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x60], 0xc
call fcn.00419f40
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x3c]
call fcn.00402ba0
lea ecx, [esp + 0x2c]
call fcn.00402ba0
lea ecx, [esp + 0x5c]
call fcn.00402ba0
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 4
call fcn.00402ba0
lea ecx, [esp + 0x18]
call fcn.00402900
mov edi, dword [esp + 0x18]
lea esi, [edi - 0x10]
push esi
call fcn.00403050
mov edi, dword [esp + 0x5c]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
add esp, 4
mov byte [esp + 0x50], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41207b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or edx, 0xffffffff
lea ecx, [esi + 0xc]
mov dword [esp + 0x50], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412107
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8