Function at 0x10039b30
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2e89
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x141], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.10037990
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.10037ec0
add esp, 8
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x158]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.10037fb0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call fcn.1000c290
lea ecx, [ebp - 0x68]
call fcn.10007200
cmp eax, 3
jbe 0x10039c21
push 3
push 0
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x68]
call fcn.10035660
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x190], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x148]
or eax, 1
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x150], ecx
jmp 0x10039c51
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0xb0]
call fcn.1002d7f0
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x148]
or eax, 2
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x188]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000c210
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x148]
and ecx, 2
je 0x10039c93
and dword [ebp - 0x148], 0xfffffffd
lea ecx, [ebp - 0xb0]
call fcn.1000c290
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x148]
and edx, 1
je 0x10039cb4
and dword [ebp - 0x148], 0xfffffffe
lea ecx, [ebp - 0x140]
call fcn.1000c290
mov dword [ebp - 0x14c], 0
jmp 0x10039ccf
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0xa
jae 0x10039e23
call fcn.100acb01
xor edx, edx
mov ecx, 0x10000
div ecx
mov dword [ebp - 0x184], edx
mov edx, dword [ebp - 0x184]
push edx
push str._04X
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.1003c450
add esp, 0x10
mov ecx, dword [ebp + 0xc]
push ecx
push 0x100ce1c8
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xe0]
push edx
call fcn.10036080
add esp, 0xc
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x17c]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x174]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x198]
push ecx
lea edx, [ebp - 0x128]
push edx
call fcn.10036040
add esp, 0xc
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.1002e250
lea ecx, [ebp - 0x128]
call fcn.1000c290
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x110]
call fcn.1000c290
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf8]
call fcn.1000c290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.1000c290
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10039360
add esp, 4
movzx edx, al
test edx, edx
jne 0x10039e1e
mov byte [ebp - 0x141], 1
jmp 0x10039e23
jmp 0x10039cc0
movzx eax, byte [ebp - 0x141]
test eax, eax
jne 0x10039e6d
mov dword [ebp - 0x160], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000c290
mov eax, dword [ebp - 0x160]
jmp 0x10039f55
mov ecx, dword [ebp + 0x10]
call fcn.10049c40
push eax
mov ecx, dword [ebp + 8]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x10039ec8
mov dword [ebp - 0x164], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000c290
mov eax, dword [ebp - 0x164]
jmp 0x10039f55
push 4
push 0
mov ecx, dword [ebp + 0x10]
call fcn.10049c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10039f1b
mov dword [ebp - 0x168], 3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000c290
mov eax, dword [ebp - 0x168]
jmp 0x10039f55
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.1000c290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1000c290
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret