Function at 0x49d52c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x49d535
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
call fcn.00405410
xor eax, eax
push ebp
push 0x49d9cd
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x49d588
mov eax, dword [ebp - 0x1c]
mov esi, ebx
mov dword [eax + 0x300], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2f0]
mov eax, esi
mov dl, 1
call dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x2fc], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x314
mov edx, dword [ebp - 0x20]
call fcn.00404fc4
cmp byte [0x4b8918], 0
je 0x49d62d
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x314]
call fcn.00405844
mov eax, dword [ebp - 0x24]
call fcn.00456070
test al, al
je 0x49d5d7
mov eax, dword [ebp - 0x1c]
add eax, 0x310
mov edx, dword [ebp - 0x20]
call fcn.00404fc4
jmp 0x49d66f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x314]
mov eax, dword [ebp - 0x1c]
add eax, 0x314
mov edx, 0x49d9e4
call fcn.00405274
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
call fcn.00405844
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov edx, dword [0x4b8924]
call fcn.00405844
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
pop edx
call fcn.00455f84
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
add eax, 0x310
call fcn.004051f0
jmp 0x49d66f
mov eax, dword [ebp - 0x1c]
add eax, 0x310
mov edx, dword [ebp - 0x20]
call fcn.00404fc4
cmp dword [0x4b8928], 0
jne 0x49d66f
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x310]
call fcn.00405844
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0045ae2c
mov edx, dword [ebp - 0x34]
mov eax, 0x4b8928
call fcn.004051f0
mov edx, dword [ebp - 0x20]
mov eax, 0x49d9f4
call fcn.00405564
dec eax
je 0x49d68f
mov edx, dword [ebp - 0x20]
mov eax, 0x49da04
call fcn.00405564
dec eax
jne 0x49d6b0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
call fcn.00405844
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2f0]
call fcn.0048d908
jmp 0x49d827
lea eax, [ebp - 0x10]
mov edx, 2
mov cl, 1
call fcn.004061e8
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x4c]
call fcn.0040612c
lea eax, [ebp - 0x5c]
mov edx, 4
mov cl, 1
call fcn.004061e8
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x4c]
call fcn.004061f0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6c]
mov edx, 8
mov cl, 1
call fcn.004061e8
lea edx, [ebp - 0x6c]
pop eax
call fcn.004061f0
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x10]
call fcn.0040612c
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x318], 0
jne 0x49d734
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x314]
call fcn.00405844
mov eax, dword [ebp - 0x70]
call fcn.00456070
test al, al
je 0x49d766
lea eax, [ebp - 0x18]
call fcn.00404f70
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x310]
call fcn.00405844
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2f0]
call fcn.0048d974
jmp 0x49d827
mov ebx, 0x15
lea edx, [ebp - 0x84]
mov eax, 0x49da18
call fcn.00457b84
push dword [ebp - 0x84]
mov eax, 0xf230
call fcn.00403560
lea edx, [ebp - 0x88]
call fcn.00458b58
push dword [ebp - 0x88]
push 0x49da38
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.004052e8
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
call fcn.00405844
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x310]
call fcn.00405844
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0045ae2c
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x78]
pop edx
call fcn.00455f84
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x18]
call fcn.004051f0
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
call fcn.00405844
mov eax, dword [ebp - 0x94]
call fcn.0045a9f0
test al, al
jne 0x49d820
dec ebx
jne 0x49d76b
push ebp
call fcn.0049d2a8
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2f0]
mov edx, 0x4e20
call fcn.00498234
cmp dword [ebp - 0x18], 0
je 0x49d870
xor eax, eax
push ebp
push 0x49d866
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.00405420
push eax
call sub.KERNEL32.DLL_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d870
mov edx, 0xfffff060
mov eax, dword [ebp - 0x1c]
call fcn.00434804
mov eax, dword [ebp - 0x1c]
call fcn.0049dbd8
push 0x49da44
push 0x49da60
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 8]
call fcn.00405844
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2fc]
mov edx, 0x49da88
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0x49da98
push 0x49dab4
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 8]
call fcn.00405844
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2fc]
mov edx, 0x49da88
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0x49dad0
push 0x49daf0
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 8]
call fcn.00405844
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2fc]
mov edx, 0x49da88
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0x49db18
push 0x49db34
lea eax, [ebp - 0xa4]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 8]
call fcn.00405844
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x2fc]
mov edx, 0x49da88
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d9d4
lea eax, [ebp - 0xa4]
mov edx, 7
call fcn.00405678
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00404f94
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00405678
lea eax, [ebp - 0x6c]
mov edx, dword [0x4010f8]
mov ecx, 3
call fcn.00405c04
lea eax, [ebp - 0x3c]
mov edx, 7
call fcn.00405678
lea eax, [ebp - 0x20]
call fcn.00404f70
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404f94
lea eax, [ebp - 0x10]
call fcn.00406208
ret