Function at 0x40177b
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xc
call fcn.004086fa
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0x80000301
push 0
push 0xb
push 1
mov ebx, 0x1c
mov eax, 0x40c8e0
call fcn.004089f0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00408b00
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040171f
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40182c
push ebx
call fcn.00408706
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40183c
push ebx
call fcn.00408706
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401850
push ebx
call fcn.00408706
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401879
push 6
call fcn.0040870c
add esp, 4
push 0x417282
push dword [ebp - 4]
mov ecx, 2
call fcn.0040171f
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4018b6
push 6
call fcn.0040870c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4018c6
push ebx
call fcn.00408706
add esp, 4
push 0x417289
push dword [ebp - 4]
mov ecx, 2
call fcn.0040171f
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401905
push 6
call fcn.0040870c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401915
push ebx
call fcn.00408706
add esp, 4
push 0x417282
push dword [ebp - 4]
mov ecx, 2
call fcn.0040171f
add esp, 8
mov dword [ebp - 0xc], eax
push 0x41729d
push dword [ebp - 4]
mov ecx, 2
call fcn.0040171f
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40196a
push 6
call fcn.0040870c
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40197a
push ebx
call fcn.00408706
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40198a
push ebx
call fcn.00408706
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40199d
mov eax, 0x417276
push eax
push 1
mov ebx, 0x238
call fcn.00409330
add esp, 0x10
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4019c5
mov eax, 0x417276
push eax
push 1
mov ebx, 0x24c
call fcn.00409380
add esp, 0x10
and eax, 1
xor eax, 1
jmp 0x4019e3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4019f4
push ebx
call fcn.00408706
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00408706
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4