Function at 0x10001d80
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f44b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7d0
mov eax, dword [0x1003d02c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x258
push 0
lea eax, [ebp - 0x720]
push eax
call fcn.10017d50
add esp, 0xc
push 0x258
lea ecx, [ebp - 0x720]
push ecx
call fcn.1001d19b
add esp, 8
push 0x258
push 0
lea edx, [ebp - 0x270]
push edx
call fcn.10017d50
add esp, 0xc
lea ecx, [ebx + 8]
call fcn.1000b3e0
mov dword [ebp - 0x764], eax
xor eax, eax
mov byte [ebp - 0x730], al
xor ecx, ecx
mov byte [ebp - 0x729], cl
movzx edx, byte [ebp - 0x730]
push edx
movzx eax, byte [ebp - 0x729]
push eax
movzx ecx, byte [ebp - 0x731]
push ecx
lea ecx, [ebp - 0x7b0]
call fcn.1000c6d0
mov ecx, eax
call fcn.1000a8d0
mov dword [ebp - 0x768], eax
mov edx, dword [ebp - 0x764]
push edx
lea eax, [ebp - 0x720]
push eax
mov ecx, dword [ebp - 0x768]
push ecx
lea edx, [ebp - 0x270]
push edx
call fcn.10001270
add esp, 0x10
movzx eax, byte [0x1003ecc8]
test eax, eax
jne 0x10001eff
xor ecx, ecx
mov byte [ebp - 0x72a], cl
xor edx, edx
mov byte [ebp - 0x72b], dl
movzx eax, byte [ebp - 0x72a]
push eax
movzx ecx, byte [ebp - 0x72b]
push ecx
movzx edx, byte [ebp - 0x732]
push edx
lea ecx, [ebp - 0x7c0]
call fcn.1000c720
mov ecx, eax
call fcn.1000a8d0
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.10019d81
add esp, 8
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x10001ef8
mov ecx, dword [ebp - 0x744]
push ecx
call fcn.1001a009
add esp, 4
lea edx, [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x1003ecc8], 1
xor eax, eax
mov byte [ebp - 0x72c], al
xor ecx, ecx
mov byte [ebp - 0x72d], cl
movzx edx, byte [ebp - 0x72c]
push edx
movzx eax, byte [ebp - 0x72d]
push eax
movzx ecx, byte [ebp - 0x733]
push ecx
lea ecx, [ebp - 0x7d0]
call fcn.1000c770
mov ecx, eax
call fcn.1000a8d0
push eax
lea edx, [ebp - 0x270]
push edx
call fcn.10019d81
add esp, 8
mov dword [ebp - 0x73c], eax
cmp dword [ebp - 0x73c], 0
je 0x100020ee
push 0
call fcn.100012e0
add esp, 4
mov dword [ebp - 0x728], eax
mov dword [ebp - 0x724], edx
lea eax, [ebp - 0x728]
push eax
call fcn.100012c0
add esp, 4
mov dword [ebp - 0x738], eax
push 0x258
push 0
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.10017d50
add esp, 0xc
mov edx, dword [ebp - 0x738]
mov eax, dword [edx]
mov dword [ebp - 0x748], eax
mov ecx, dword [ebp - 0x738]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x74c], edx
mov eax, dword [ebp - 0x738]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x750], ecx
xor edx, edx
mov byte [ebp - 0x72e], dl
xor eax, eax
mov byte [ebp - 0x72f], al
movzx ecx, byte [ebp - 0x72e]
push ecx
movzx edx, byte [ebp - 0x72f]
push edx
movzx eax, byte [ebp - 0x734]
push eax
lea ecx, [ebp - 0x7e0]
call fcn.1000c7c0
mov ecx, eax
call fcn.1000a8d0
mov dword [ebp - 0x754], eax
mov ecx, dword [ebp - 0x748]
push ecx
mov edx, dword [ebp - 0x74c]
push edx
mov eax, dword [ebp - 0x750]
push eax
mov ecx, dword [ebp - 0x754]
push ecx
lea edx, [ebp - 0x4c8]
push edx
call fcn.10001270
add esp, 0x14
mov eax, dword [ebx + 0x20]
push eax
lea ecx, [ebp - 0x798]
call fcn.100075b0
mov dword [ebp - 0x758], eax
mov ecx, dword [ebp - 0x758]
mov dword [ebp - 0x75c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x75c]
push edx
push 0x10037d6c
lea eax, [ebp - 0x780]
push eax
call fcn.1000c810
add esp, 0xc
mov dword [ebp - 0x760], eax
mov ecx, dword [ebp - 0x760]
call fcn.1000b3e0
push eax
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.1001d2e0
add esp, 8
lea ecx, [ebp - 0x780]
call fcn.1000b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x798]
call fcn.1000b640
lea edx, [ebx + 0x24]
mov dword [ebp - 0x740], edx
mov eax, dword [ebp - 0x740]
push eax
lea ecx, [ebp - 0x4c8]
push ecx
mov edx, dword [ebp - 0x73c]
push edx
call fcn.10001190
add esp, 0xc
mov dword [ebp - 0x740], 0
mov eax, dword [ebp - 0x73c]
push eax
call fcn.1001a009
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 8]
call fcn.1000b640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10015f53
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret