Function at 0x40126b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x40b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ecx, ecx
push 7
xor edx, edx
pop esi
lea ebx, [eax + 0x40]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x70], dx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], ecx
mov word [ebp - 0x8c], dx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], ecx
jb 0x4012c7
mov eax, dword [ebx]
jmp 0x4012c9
mov eax, ebx
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040151f
test eax, eax
jne 0x401312
push 1
xor edi, edi
lea esi, [ebp - 0x8c]
call fcn.00402702
push 1
lea esi, [ebp - 0x70]
call fcn.00402702
xor eax, eax
jmp 0x40150e
lea edi, [ebp - 0x70]
lea eax, [ebp - 0x110]
call fcn.004020c5
mov edi, str.PerfSpy.perf4
push edi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push edi
mov edi, eax
lea eax, [ebp - 0x110]
call fcn.00401e94
xor edi, edi
xor eax, eax
mov word [ebp - 0xa8], ax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00403a65
xor eax, eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
call fcn.00404ca9
test eax, eax
je 0x40143f
push dword [ebp - 0x134]
mov esi, dword [ebp - 0x13c]
push dword [ebp - 0x130]
lea eax, [esi + 0x24]
push eax
push dword [esi + 0x5c]
lea eax, [ebp - 0xf4]
push dword [ebp - 0x138]
lea edx, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403ae9
test eax, eax
je 0x40143f
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.004017c3
test eax, eax
je 0x40143f
lea edi, [ebp - 0x54]
lea eax, [ebp - 0x12c]
call fcn.004020c5
mov ebx, eax
mov eax, edi
call fcn.0040225c
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00402702
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00404228
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x401436
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x401465
lea edi, [ebp - 0x70]
lea eax, [ebp - 0x12c]
call fcn.004020c5
push eax
call fcn.00402a88
xor ebx, ebx
pop ecx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x12c]
call fcn.00402702
push ebx
xor edi, edi
lea esi, [ebp - 0x54]
call fcn.00402702
cmp dword [ebp - 0xbc], edi
je 0x40148a
push dword [ebp - 0xbc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
and dword [ebp - 0xbc], edi
lea esi, [ebp - 0xb8]
call fcn.00404c21
push ebx
xor edi, edi
lea esi, [ebp - 0xd8]
call fcn.00402702
push ebx
lea esi, [ebp - 0xf4]
call fcn.00402702
lea ebx, [ebp - 0x38]
call fcn.004052f6
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x4014c8
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
pop ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
push ebx
xor edi, edi
lea esi, [ebp - 0x38]
call fcn.00402702
push ebx
lea esi, [ebp - 0xa8]
call fcn.00402702
push ebx
lea esi, [ebp - 0x110]
call fcn.00402702
push ebx
lea esi, [ebp - 0x8c]
call fcn.00402702
push ebx
lea esi, [ebp - 0x70]
call fcn.00402702
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004080ae
leave
ret 4