Function at 0x493390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x493398
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040547c
xor eax, eax
push ebp
push 0x493794
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x314
mov edx, dword [ebp - 8]
call fcn.00405030
cmp byte [0x49bdec], 0
je 0x49342d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x314]
mov eax, dword [ebp - 4]
add eax, 0x314
mov edx, 0x4937b0
call fcn.004052e0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [0x49bdf8]
call fcn.004058b0
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
pop edx
call fcn.0045b988
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 0x310
call fcn.0040525c
jmp 0x49346f
mov eax, dword [ebp - 4]
add eax, 0x310
mov edx, dword [ebp - 8]
call fcn.00405030
cmp dword [0x49bdfc], 0
jne 0x49346f
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x310]
call fcn.004058b0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0045faac
mov edx, dword [ebp - 0x30]
mov eax, 0x49bdfc
call fcn.0040525c
mov edx, dword [ebp - 8]
mov eax, 0x4937c0
call fcn.004055d0
dec eax
je 0x49348f
mov edx, dword [ebp - 8]
mov eax, 0x4937d0
call fcn.004055d0
dec eax
jne 0x4934b0
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
call fcn.004058b0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.004711bc
jmp 0x4936bb
lea eax, [ebp - 0x20]
mov edx, 2
mov cl, 1
call fcn.00406164
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x48]
call fcn.004060a0
lea eax, [ebp - 0x58]
mov edx, 4
mov cl, 1
call fcn.00406164
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x48]
call fcn.0040616c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
mov edx, 8
mov cl, 1
call fcn.00406164
lea edx, [ebp - 0x68]
pop eax
call fcn.0040616c
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x20]
call fcn.004060a0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x318], 0
je 0x493549
lea eax, [ebp - 0x10]
call fcn.00404fdc
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x310]
call fcn.004058b0
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00471228
jmp 0x4936bb
lea edx, [ebp - 0x7c]
mov eax, 0x4937e4
call fcn.0045ca34
push dword [ebp - 0x7c]
mov eax, 0xf230
call fcn.004035c4
lea edx, [ebp - 0x80]
call fcn.0045d3ac
push dword [ebp - 0x80]
push 0x493804
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00405354
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
call fcn.004058b0
mov eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x310]
call fcn.004058b0
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0045faac
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x70]
pop edx
call fcn.0045b988
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x10]
call fcn.0040525c
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x10]
call fcn.004058b0
mov eax, dword [ebp - 0x8c]
call fcn.0045f664
test al, al
jne 0x493549
lea edx, [ebp - 0xc]
mov eax, 0x493814
call fcn.0045ca34
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00460978
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x10]
call fcn.004058b0
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00471228
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, 0xbb8
call fcn.0047eddc
lea edx, [ebp - 0x94]
mov eax, 0x493838
call fcn.0045ca34
push dword [ebp - 0x94]
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, 0x4938e8
mov edx, 0x4938f4
mov eax, dword [ebp - 8]
call fcn.0045c47c
push dword [ebp - 0x98]
lea edx, [ebp - 0x9c]
mov eax, 0x493900
call fcn.0045ca34
push dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405354
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0xc]
call fcn.004058b0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.0047ecbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, 0xbb8
call fcn.0047eddc
cmp dword [ebp - 0x10], 0
je 0x493704
xor eax, eax
push ebp
push 0x4936fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0040548c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x493704
mov eax, dword [ebp - 4]
call fcn.00493af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49379e
lea eax, [ebp - 0xa0]
call fcn.004056cc
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00405000
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.004056e4
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00405000
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.004056e4
lea eax, [ebp - 0x68]
mov edx, dword [0x4010f8]
mov ecx, 3
call fcn.00405c70
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.004056e4
lea eax, [ebp - 0x20]
call fcn.00406194
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405000
ret