Function at 0x402da6
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.0040fadd
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.004023a5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402e22
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 4], 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.00410150
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402e69
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x402e92
push 6
call fcn.0040fae9
add esp, 4
mov dword [ebp - 0xc], eax
push str....._
push dword [ebp - 4]
mov ecx, 2
call fcn.004013b5
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x402ed2
push 6
call fcn.0040fae9
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402ee5
push ebx
call fcn.0040fae3
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
push str....._
push dword [ebp - 4]
mov ecx, 3
call fcn.004013b5
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x402f2d
push 6
call fcn.0040fae9
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402f40
push ebx
call fcn.0040fae3
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 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.00410150
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402f89
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013b5
add esp, 8
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x402fb6
mov eax, 0x41b216
push eax
push 1
mov ebx, 0x238
call fcn.004113d0
add esp, 0x10
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402fd9
push ebx
call fcn.0040fae3
add esp, 4
push str....._
push dword [ebp - 4]
mov ecx, 2
call fcn.004013b5
add esp, 8
mov dword [ebp - 0x24], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013b5
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40302c
push 6
call fcn.0040fae9
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40303f
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40304f
push ebx
call fcn.0040fae3
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013b5
add esp, 8
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40308a
mov eax, 0x41b216
push eax
push 2
mov ebx, 0x260
call fcn.00411420
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4030ad
push ebx
call fcn.0040fae3
add esp, 4
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4030c2
mov eax, 0x41b216
push eax
push 1
mov ebx, 0x24c
call fcn.00410990
add esp, 0x10
and eax, 1
xor eax, 1
jmp 0x4030e0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4030f1
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403101
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040fae3
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40311d
push ebx
call fcn.0040fae3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4