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 0x1011ac2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7d0
mov eax, dword [0x10128040]
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.10103520
add esp, 0xc
push 0x258
lea ecx, [ebp - 0x720]
push ecx
call fcn.1010896b
add esp, 8
push 0x258
push 0
lea edx, [ebp - 0x270]
push edx
call fcn.10103520
add esp, 0xc
lea ecx, [ebx + 8]
call fcn.100c2460
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.100c3880
mov ecx, eax
call fcn.1000ab30
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 [0x10129d18]
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.100c38d0
mov ecx, eax
call fcn.1000ab30
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.10105551
add esp, 8
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x10001ec8
mov ecx, dword [ebp - 0x744]
push ecx
call fcn.101057d9
add esp, 4
lea edx, [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x10129d18], 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.100c3920
mov ecx, eax
call fcn.1000ab30
push eax
lea edx, [ebp - 0x270]
push edx
call fcn.10105551
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.10103520
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.100c3970
mov ecx, eax
call fcn.1000ab30
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 0x10122dc4
lea eax, [ebp - 0x780]
push eax
call fcn.100c39c0
add esp, 0xc
mov dword [ebp - 0x760], eax
mov ecx, dword [ebp - 0x760]
call fcn.100c2460
push eax
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.10108ab0
add esp, 8
lea ecx, [ebp - 0x780]
call fcn.100c26c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x798]
call fcn.100c26c0
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.101057d9
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 8]
call fcn.100c26c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10101743
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret