Function at 0x4034d1
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xc
call fcn.0040f424
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, 0x413b60
call fcn.0040f970
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.0040fa80
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00402d50
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403582
push ebx
call fcn.0040f42a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403592
push ebx
call fcn.0040f42a
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4035a6
push ebx
call fcn.0040f42a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4035d9
push 0x6f
push 0x4010625
push 6
call fcn.0040f436
add esp, 0xc
push 0x89f45d
push dword [ebp - 4]
mov ecx, 2
call fcn.00402d50
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x403620
push 0xa2
push 0x4010625
push 6
call fcn.0040f436
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403630
push ebx
call fcn.0040f42a
add esp, 4
push 0xf
call fcn.004037c5
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x89f45d
push dword [ebp - 4]
mov ecx, 3
call fcn.00402d50
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403668
push ebx
call fcn.0040f42a
add esp, 4
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x403699
push 0x10e
push 0x4010625
push 6
call fcn.0040f436
add esp, 0xc
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4036a9
push ebx
call fcn.0040f42a
add esp, 4
push 0x89f45d
push dword [ebp - 4]
mov ecx, 2
call fcn.00402d50
add esp, 8
mov dword [ebp - 0xc], eax
push 0xf
call fcn.004037c5
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x89f337
push dword [ebp - 4]
mov ecx, 3
call fcn.00402d50
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4036f9
push ebx
call fcn.0040f42a
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x403728
push 0x184
push 0x4010625
push 6
call fcn.0040f436
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403738
push ebx
call fcn.0040f42a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403748
push ebx
call fcn.0040f42a
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40375b
mov eax, 0x89f336
push eax
push 1
mov ebx, 0x238
call fcn.00410720
add esp, 0x10
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x403783
mov eax, 0x89f336
push eax
push 1
mov ebx, 0x24c
call fcn.00410770
add esp, 0x10
and eax, 1
xor eax, 1
jmp 0x4037a1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4037b2
push ebx
call fcn.0040f42a
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.0040f42a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4