Function at 0x402b20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x52038c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x168], ebx
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 0x6c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x16c], esi
call fcn.00418473
add esp, 4
test eax, eax
je 0x402b93
push eax
call fcn.004186b5
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x54]
mov eax, dword [ebp - 0x114]
cmp ecx, eax
je 0x402bb7
push 0xffffffffffffffff
push 0
push eax
call fcn.00404260
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x14], 8
jb 0x402bbf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x10], 0
jne 0x402bd3
xor edi, edi
jmp 0x402ee7
push 2
push ecx
mov ecx, dword [ebp - 0x114]
push 0x50d690
call fcn.00403070
cmp eax, 0xffffffff
je 0x402c30
mov ecx, dword [ebp - 0x114]
push eax
push 0
lea eax, [ebp - 0x15c]
push eax
call fcn.00403020
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00402f30
mov eax, dword [ebp - 0x148]
cmp eax, 8
jb 0x402c30
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.00404840
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 0x10
jb 0x402c8f
mov eax, dword [edi]
jmp 0x402c91
mov eax, edi
push str.http:__
push eax
call fcn.004bd550
add esp, 8
test eax, eax
jne 0x402ce5
cmp dword [edi + 0x14], 0x10
jb 0x402cad
mov eax, dword [edi]
jmp 0x402caf
mov eax, edi
push str.https:__
push eax
call fcn.004bd550
add esp, 8
test eax, eax
jne 0x402ce5
push 7
push str.http:__
lea ecx, [ebp - 0x12c]
call fcn.004039c0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x12c]
call fcn.00403cc0
jmp 0x402cfb
lea eax, [ebp - 0x12c]
cmp eax, edi
je 0x402cfb
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00403890
push dword [ebp - 0x164]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov edi, dword [ebp - 0x168]
cmovae eax, dword [ebp - 0x12c]
push ecx
push eax
mov ecx, edi
call fcn.004026b0
mov bl, al
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x114]
push eax
push 0x200002
push dword [edi + 0x30]
call fcn.0046cc40
mov ecx, dword [ebp - 0x114]
add esp, 0xc
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x168], ecx
test bl, bl
jne 0x402dea
mov ebx, dword [edi + 0x30]
test ebx, ebx
jne 0x402d7e
mov ecx, dword [ebp - 0x160]
push 0x1a
push str.InitLibCurl_is_not_invoked
call fcn.004039c0
jmp 0x402e6f
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004be240
lea eax, [ebp - 0x110]
push eax
push 0x271a
push ebx
call fcn.0046f8f0
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402db0
sub ecx, edx
je 0x402dd2
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x110]
push eax
call fcn.00403ac0
jmp 0x402e6f
mov eax, dword [ebp - 0x160]
add edi, 0x34
cmp eax, edi
je 0x402e6f
mov ecx, eax
jmp 0x402e65
mov ebx, dword [ebp - 0x160]
lea eax, [edi + 0x18]
cmp ebx, eax
je 0x402e03
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00403890
cmp dword [ebx + 0x10], 0
jne 0x402e59
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004be240
lea eax, [ebp - 0x110]
push eax
push 0x271a
push dword [edi + 0x30]
call fcn.0046f8f0
lea ecx, [ebp - 0x110]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402e40
sub ecx, edx
je 0x402e59
lea eax, [ebp - 0x110]
mov ecx, ebx
push eax
call fcn.00403ac0
lea eax, [ebp - 0x144]
cmp eax, edi
je 0x402e6f
mov ecx, eax
push 0xffffffffffffffff
push 0
push edi
call fcn.00403890
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x402e8d
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.004049b0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp eax, 0x10
jb 0x402ec6
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.004049b0
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
push esi
mov dword [ebp - 4], 5
call fcn.00418498
add esp, 4
test eax, eax
je 0x402f04
push eax
call fcn.004186b5
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c3a
mov esp, ebp
pop ebp
ret 0x14