Function at 0x10033340
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006dd88
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100c400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x64], edi
mov ecx, dword [esi + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10032ba0
mov byte [ebp - 4], 1
cmp dword [esi + 0x64], 0
je 0x1003342e
mov ebx, 1
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x60], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp ecx, eax
je 0x100333dd
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.100199c0
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10033b80
mov eax, dword [esi + 0x64]
lea ecx, [ebp - 0x2c]
add eax, 4
cmp ecx, eax
je 0x10033410
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10033404
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100199c0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.10035660
test eax, eax
je 0x1003342e
mov ebx, 2
jmp 0x100333a6
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.10035ad0
test eax, eax
jne 0x10033485
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edi, eax
je 0x1003352a
cmp dword [ebp - 0x18], 8
mov ecx, eax
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
jmp 0x10033523
cmp dword [esi + 0x64], 0
jne 0x100334da
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.10035660
test eax, eax
je 0x100334da
cmp dword [ebp - 0x18], 8
lea ebx, [ebp - 0x2c]
push 0
cmovae ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
mov edx, ebx
call fcn.100346a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x100334c1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.10008ff0
test esi, esi
je 0x1003355a
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 8
cmovae ecx, dword [ebp - 0x44]
push ecx
call fcn.10035770
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
add esp, 4
mov word [edi], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp edi, eax
je 0x1003352a
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.100199c0
lea ecx, [ebp - 0x2c]
call fcn.10008ff0
lea ecx, [ebp - 0x44]
call fcn.10008ff0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10069076
mov esp, ebp
pop ebp
ret 4
mov edx, ebx
mov ecx, 0xda
call fcn.1002bdd0
int3