Function at 0x406064
Capabilities:
Delete file

Disassembly:
mov eax, 0x414ee9
call fcn.0040c7c8
sub esp, 0x144
mov eax, dword [0x41c120]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x13c], ebx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi - 0xc]
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], 1
je 0x406360
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], esi
je 0x406360
lea ecx, [ebp - 0x140]
call fcn.00401722
push esi
push 0x4169c8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00401496
cmp eax, 0xffffffff
je 0x40633b
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402d78
push eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 3
call fcn.00401b90
mov ecx, dword [ebp - 0x144]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004012f9
mov eax, dword [ebp - 0x140]
cmp dword [eax - 0xc], esi
je 0x40633b
lea ecx, [ebp - 0x130]
call fcn.00401c3e
lea ecx, [ebp - 0x144]
call fcn.00401722
lea ecx, [ebp - 0x134]
call fcn.00401722
push dword [ebp - 0x140]
lea eax, [ebp - 0x134]
push str._s.zip
push eax
mov byte [ebp - 4], 6
call fcn.00402ffc
lea esi, [ebx + 0x10]
push dword [esi]
lea eax, [ebp - 0x144]
push str.Accept:___r_nUser_Agent:_Mozilla_4.0_r_nHost:_s_r_nConnection:_close_r_n
push eax
call fcn.00402ffc
mov ebx, dword [ebp - 0x144]
add esp, 0x18
push ebx
push ecx
lea eax, [ebp - 0x134]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.00401515
push ecx
mov dword [ebp - 0x148], esp
mov ecx, esp
push esi
mov byte [ebp - 4], 7
call fcn.00401515
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 6
call fcn.0040246f
lea ecx, [ebp - 0x130]
mov esi, eax
call fcn.00401229
cmp esi, 0xc8
jne 0x406314
cmp dword [ebp - 0x40], 0
je 0x406314
lea ecx, [ebp - 0x138]
call fcn.00401722
push edi
push dword [ebp + 8]
mov edi, str._s_s
lea eax, [ebp - 0x138]
push edi
push eax
mov byte [ebp - 4], 8
call fcn.00402ffc
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push dword [ebp - 0x138]
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x138]
push dword [ebp + 8]
push str._s_s.bak
push eax
call fcn.00402ffc
add esp, 0x10
push dword [ebp - 0x138]
call esi
push dword [ebp - 0x3c]
lea eax, [ebp + 8]
push dword [ebp - 0x40]
push ecx
mov dword [ebp - 0x148], esp
mov ecx, esp
push eax
call fcn.00401515
push ecx
lea eax, [ebp - 0x134]
mov dword [ebp - 0x14c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 9
call fcn.00401515
mov ecx, dword [ebp - 0x13c]
mov byte [ebp - 4], 8
call fcn.004030b2
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14c], esp
mov ecx, esp
push eax
call fcn.00401515
push ecx
lea eax, [ebp - 0x134]
mov dword [ebp - 0x148], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.00401515
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x150], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.00401515
mov ecx, dword [ebp - 0x13c]
mov byte [ebp - 4], 8
call fcn.004057b8
lea ecx, [ebp - 0x13c]
call fcn.00401722
push dword [ebp - 0x134]
lea eax, [ebp - 0x13c]
push dword [ebp + 8]
mov byte [ebp - 4], 0xc
push edi
push eax
call fcn.00402ffc
mov edi, dword [ebp - 0x13c]
add esp, 0x10
push edi
call esi
lea ecx, [edi - 0x10]
call fcn.004012f9
mov ecx, dword [ebp - 0x138]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
call fcn.004012f9
lea ecx, [ebx - 0x10]
call fcn.004012f9
mov edi, dword [ebp + 0xc]
xor esi, esi
inc esi
jmp 0x40632c
mov ecx, dword [ebp - 0x134]
add ecx, 0xfffffff0
call fcn.004012f9
lea ecx, [ebx - 0x10]
call fcn.004012f9
xor esi, esi
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 2
call fcn.00401854
mov ecx, dword [ebp - 0x140]
add ecx, 0xfffffff0
call fcn.004012f9
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012f9
lea ecx, [edi - 0x10]
call fcn.004012f9
mov eax, esi
jmp 0x406375
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012f9
lea ecx, [edi - 0x10]
call fcn.004012f9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040bd6e
pop edi
pop esi
pop ebx
leave
ret 8