Function at 0x469f48
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x469f51
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00405370
mov eax, dword [ebp + 0xc]
call fcn.00405370
mov eax, dword [ebp + 8]
call fcn.00405370
xor eax, eax
push ebp
push 0x46a2d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040969c
test al, al
je 0x46a029
mov eax, dword [ebp + 0xc]
mov edx, 0x46a2f0
call fcn.00405318
jne 0x469fbb
mov eax, dword [ebp - 4]
call fcn.00405380
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x46a029
mov eax, dword [ebp + 0xc]
mov edx, 0x46a2fc
call fcn.00405318
jne 0x469fd1
mov bl, 1
jmp 0x46a2a6
push 0x1124
lea ecx, [ebp - 0x24]
mov edx, 0x46a308
mov eax, dword [ebp - 8]
call fcn.00467e3c
mov eax, dword [ebp - 0x24]
call fcn.00405380
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x46a328
mov eax, dword [ebp - 8]
call fcn.00467e3c
mov eax, dword [ebp - 0x28]
call fcn.00405380
push eax
push 0
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
jne 0x46a01b
mov bl, 1
jmp 0x46a2a6
mov eax, dword [ebp - 4]
call fcn.00405380
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x46a254
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41687c]
call fcn.0041a92c
mov dword [ebp - 0xc], eax
push dword [ebx + 0x114]
push dword [ebx + 0x110]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.0041a498
movzx esi, word [ebx + 0x34a]
cmp si, 1
je 0x46a0d1
push dword [ebx + 0x13c]
push dword [ebx + 0x138]
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.00466b6c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00465024
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
call fcn.004676f8
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
mov edx, 0x46a348
mov eax, dword [ebp - 8]
call fcn.00467e3c
mov eax, dword [ebp - 0x38]
push eax
mov ecx, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 0xc]
call fcn.00465f54
cmp word [ebx + 0x34a], 1
je 0x46a240
mov eax, dword [ebx + 0x108]
mov edx, dword [ebx + 0x10c]
sub eax, dword [ebx + 0x138]
sbb edx, dword [ebx + 0x13c]
cmp edx, 0
jne 0x46a107
cmp eax, 0
jbe 0x46a240
jmp 0x46a10d
jle 0x46a240
mov eax, dword [ebx + 0x108]
mov edx, dword [ebx + 0x10c]
sub eax, dword [ebx + 0x138]
sbb edx, dword [ebx + 0x13c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x46a1d6
mov eax, dword [0x470480]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [0x4701cc]
sub eax, dword [ecx]
sbb edx, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.0041a714
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x4701cc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov edx, 0x46a2f0
call fcn.00405318
jne 0x46a1d6
lea ecx, [ebp - 0x3c]
mov edx, 0x46a348
mov eax, dword [ebp - 8]
call fcn.00467e3c
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00466b6c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00465024
mov edx, dword [ebp - 0x40]
pop eax
call fcn.004051bc
mov eax, dword [ebp - 0x3c]
mov ecx, 1
mov edx, 2
call fcn.0046596c
mov eax, dword [0x4701cc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov ecx, dword [0x470480]
cmp edx, dword [ecx + 4]
jne 0x46a1fb
cmp eax, dword [ecx]
ja 0x46a130
jmp 0x46a201
jg 0x46a130
cmp dword [ebp - 0x14], 0
jne 0x46a20f
cmp dword [ebp - 0x18], 0
jbe 0x46a240
jmp 0x46a211
jle 0x46a240
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.0041a714
mov eax, dword [0x4701cc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov ecx, dword [0x4701cc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0xc]
call fcn.004040c4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a2a6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a2dd
lea eax, [ebp - 0x4c]
mov edx, 0xb
call fcn.00404f14
lea eax, [ebp - 4]
call fcn.00404ef0
lea eax, [ebp + 8]
mov edx, 2
call fcn.00404f14
ret