Function at 0x10001d50
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 0x1002f58b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7d0
mov eax, dword [0x1003e040]
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.10017e80
add esp, 0xc
push 0x258
lea ecx, [ebp - 0x720]
push ecx
call fcn.1001d2cb
add esp, 8
push 0x258
push 0
lea edx, [ebp - 0x270]
push edx
call fcn.10017e80
add esp, 0xc
lea ecx, [ebx + 8]
call fcn.1000b230
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.1000c650
mov ecx, eax
call fcn.1000a690
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.10001240
add esp, 0x10
movzx eax, byte [0x1003fd10]
test eax, eax
jne 0x10001ecf
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.1000c6a0
mov ecx, eax
call fcn.1000a690
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.10019eb1
add esp, 8
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x10001ec8
mov ecx, dword [ebp - 0x744]
push ecx
call fcn.1001a139
add esp, 4
lea edx, [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x1003fd10], 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.1000c6f0
mov ecx, eax
call fcn.1000a690
push eax
lea edx, [ebp - 0x270]
push edx
call fcn.10019eb1
add esp, 8
mov dword [ebp - 0x73c], eax
cmp dword [ebp - 0x73c], 0
je 0x100020be
push 0
call fcn.100012b0
add esp, 4
mov dword [ebp - 0x728], eax
mov dword [ebp - 0x724], edx
lea eax, [ebp - 0x728]
push eax
call fcn.10001290
add esp, 4
mov dword [ebp - 0x738], eax
push 0x258
push 0
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.10017e80
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.1000c740
mov ecx, eax
call fcn.1000a690
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.10001240
add esp, 0x14
mov eax, dword [ebx + 0x20]
push eax
lea ecx, [ebp - 0x798]
call fcn.10007550
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 0x10037dc4
lea eax, [ebp - 0x780]
push eax
call fcn.1000c790
add esp, 0xc
mov dword [ebp - 0x760], eax
mov ecx, dword [ebp - 0x760]
call fcn.1000b230
push eax
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.1001d410
add esp, 8
lea ecx, [ebp - 0x780]
call fcn.1000b490
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x798]
call fcn.1000b490
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.10001160
add esp, 0xc
mov dword [ebp - 0x740], 0
mov eax, dword [ebp - 0x73c]
push eax
call fcn.1001a139
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 8]
call fcn.1000b490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100160a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret