Function at 0x10045220
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094e85
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
lea ecx, [ebp - 0x20]
call fcn.1001a080
lea ecx, [ebp - 0x20]
call fcn.1002ad20
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x14]
call fcn.10016b50
lea ecx, [ebp - 0x14]
call fcn.1002ee90
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100450c0
add esp, 0xc
test eax, eax
jne 0x100452a2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100455b0
jmp 0x10045593
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x20]
call fcn.1002c510
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x100452c9
push 0
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x14]
call fcn.10045740
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x20]
call fcn.1002c540
push eax
lea ecx, [ebp - 0x14]
call fcn.1002c7a0
movzx ecx, al
test ecx, ecx
je 0x10045584
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x14]
call fcn.10045720
add eax, 0x18
mov ecx, eax
call fcn.100102e0
push eax
call fcn.10013130
add esp, 4
movzx edx, al
test edx, edx
jne 0x1004531a
jmp 0x100452b8
push 0x100a766c
lea ecx, [ebp - 0x14]
call fcn.10045720
push eax
call fcn.100374f0
add esp, 8
movzx eax, al
test eax, eax
je 0x10045426
push 0
lea ecx, [ebp - 0x14]
call fcn.10045720
add eax, 0x30
push eax
lea ecx, [ebp - 0xfc]
push ecx
call fcn.10011950
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x14]
call fcn.10045720
add eax, 0x18
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10011950
add esp, 0xc
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 2
push 0x100a7670
mov edx, dword [ebp - 0x8c]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.100145d0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.10014460
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.1000e020
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.1000e020
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xfc]
call fcn.1000e020
mov byte [ebp - 0x51], 0
lea edx, [ebp - 0x51]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.10040060
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.1000e020
jmp 0x10045562
push 0x100a7674
lea ecx, [ebp - 0x14]
call fcn.10045720
push eax
call fcn.100374f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1004555d
push 0
lea ecx, [ebp - 0x14]
call fcn.10045720
add eax, 0x30
push eax
lea edx, [ebp - 0x144]
push edx
call fcn.10011950
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0x14]
call fcn.10045720
add eax, 0x18
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10011950
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x70]
push eax
push 0x100a767c
lea ecx, [ebp - 0xe4]
push ecx
call fcn.10014760
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 0xa
push 0x100a7678
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.100145d0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.10014460
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xcc]
call fcn.1000e020
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xe4]
call fcn.1000e020
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x114]
call fcn.1000e020
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x144]
call fcn.1000e020
mov byte [ebp - 0x52], 0
lea eax, [ebp - 0x52]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.10040060
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1000e020
jmp 0x10045562
jmp 0x100452b8
push 4
push 0
lea ecx, [ebp - 0x14]
call fcn.10045720
add eax, 0x18
mov ecx, eax
call fcn.100102e0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x100452b8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100455b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret