Function at 0x10002233
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xc
call fcn.10002608
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, 0x10004c20
call fcn.10002950
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.100031f0
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.10001578
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100022e4
push ebx
call fcn.10002602
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100022f4
push ebx
call fcn.10002602
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10002308
push ebx
call fcn.10002602
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 0x1000233b
push 0x6f
push 0x4010654
push 6
call fcn.100025f6
add esp, 0xc
push 0x10a6c34a
push dword [ebp - 4]
mov ecx, 2
call fcn.10001578
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 0x10002382
push 0xa2
push 0x4010654
push 6
call fcn.100025f6
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10002392
push ebx
call fcn.10002602
add esp, 4
push 0x10a6c351
push dword [ebp - 4]
mov ecx, 2
call fcn.10001578
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]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100023db
push 0xe9
push 0x4010654
push 6
call fcn.100025f6
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100023eb
push ebx
call fcn.10002602
add esp, 4
push 0x10a6c34a
push dword [ebp - 4]
mov ecx, 2
call fcn.10001578
add esp, 8
mov dword [ebp - 0xc], eax
push 0x10a6c365
push dword [ebp - 4]
mov ecx, 2
call fcn.10001578
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000244a
push 0x155
push 0x4010654
push 6
call fcn.100025f6
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000245a
push ebx
call fcn.10002602
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000246a
push ebx
call fcn.10002602
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000247d
mov eax, 0x1001a2bf
push eax
push 1
mov ebx, 0x238
call fcn.100036f0
add esp, 0x10
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x100024a5
mov eax, 0x1001a2bf
push eax
push 1
mov ebx, 0x24c
call fcn.10003740
add esp, 0x10
and eax, 1
xor eax, 1
jmp 0x100024c3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100024d4
push ebx
call fcn.10002602
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.10002602
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4