Function at 0x401a7a
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xc
call fcn.0040871f
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, 0x40c910
call fcn.00408a20
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.00408b30
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401a1e
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401b2b
push ebx
call fcn.0040872b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401b3b
push ebx
call fcn.0040872b
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401b4f
push ebx
call fcn.0040872b
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 0x401b78
push 6
call fcn.00408731
add esp, 4
push 0x46329b
push dword [ebp - 4]
mov ecx, 2
call fcn.00401a1e
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 0x401bb5
push 6
call fcn.00408731
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401bc5
push ebx
call fcn.0040872b
add esp, 4
push 0x4632a2
push dword [ebp - 4]
mov ecx, 2
call fcn.00401a1e
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 0x401c04
push 6
call fcn.00408731
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401c14
push ebx
call fcn.0040872b
add esp, 4
push 0x46329b
push dword [ebp - 4]
mov ecx, 2
call fcn.00401a1e
add esp, 8
mov dword [ebp - 0xc], eax
push 0x4632b6
push dword [ebp - 4]
mov ecx, 2
call fcn.00401a1e
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 0x401c69
push 6
call fcn.00408731
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401c79
push ebx
call fcn.0040872b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401c89
push ebx
call fcn.0040872b
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401c9c
mov eax, 0x463287
push eax
push 1
mov ebx, 0x238
call fcn.004093c0
add esp, 0x10
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x401cc4
mov eax, 0x463287
push eax
push 1
mov ebx, 0x24c
call fcn.00409410
add esp, 0x10
and eax, 1
xor eax, 1
jmp 0x401ce2
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401cf3
push ebx
call fcn.0040872b
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.0040872b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4