Function at 0x401e40
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a8c1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
mov edi, dword [ebx + 0x18]
add ecx, 0x54
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x170], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x174], eax
lea eax, [edi + 0x14]
mov dword [ebp - 0x16c], eax
cmp ecx, edi
je 0x401ec6
cmp dword [eax], 7
mov edx, edi
jbe 0x401eb8
mov edx, dword [edi]
push dword [edi + 0x10]
push edx
call fcn.004034a0
lea eax, [edi + 0x14]
jmp 0x401ecc
mov dword [ebp - 0x16c], eax
cmp dword [eax], 7
mov ecx, edi
jbe 0x401ed5
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x10], 0
jne 0x401ee9
xor eax, eax
jmp 0x40235f
mov eax, dword [ebp - 0x16c]
mov ecx, edi
mov eax, dword [eax]
mov dword [ebp - 0x16c], eax
cmp eax, 7
jbe 0x401f00
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 2
push 0x5d0f10
push ecx
call fcn.00403a10
add esp, 0xc
cmp eax, 0xffffffff
je 0x401fbd
cmp dword [edi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x14c], xmm0
cmovb eax, dword [edi + 0x10]
cmp dword [ebp - 0x16c], 7
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
jbe 0x401f4c
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x14c]
call fcn.00403b60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14c]
mov edi, dword [ebp - 0x11c]
mov ecx, edi
push eax
call fcn.00402590
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x138]
cmp ecx, 7
jbe 0x401fc3
mov edx, dword [ebp - 0x14c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401fb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40237f
push ecx
push edx
call fcn.004234d3
add esp, 8
jmp 0x401fc3
mov edi, dword [ebp - 0x11c]
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 0
movups xmmword [ebp - 0x14c], xmm0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
mov dword [ebp - 4], 1
movups xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
mov byte [ebp - 4], 3
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x402041
mov eax, dword [esi]
push str.http:__
push eax
call fcn.00548670
add esp, 8
test eax, eax
jne 0x4020ff
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x402061
mov eax, dword [esi]
push str.https:__
push eax
call fcn.00548670
add esp, 8
test eax, eax
jne 0x4020ff
push 7
push str.http:__
lea ecx, [ebp - 0x134]
call fcn.004035b0
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x402093
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x120]
mov esi, dword [ebp - 0x124]
sub eax, esi
mov dword [ebp - 0x11c], ecx
push ecx
push edx
cmp ecx, eax
ja 0x4020e4
cmp dword [ebp - 0x120], 0xf
lea eax, [esi + ecx]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x134]
cmova eax, dword [ebp - 0x134]
add esi, eax
push esi
call fcn.00548d90
mov eax, dword [ebp - 0x11c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x402122
mov byte [ebp - 0x11c], 0
push dword [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x134]
call fcn.00403fb0
jmp 0x402122
lea eax, [ebp - 0x134]
cmp eax, esi
je 0x402122
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x402113
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x134]
push eax
call fcn.004035b0
push dword [ebp - 0x174]
cmp dword [ebp - 0x120], 0xf
lea ecx, [ebp - 0x11c]
push dword [ebx + 0xc]
lea eax, [ebp - 0x134]
mov dword [ebp - 0x11c], 0
cmova eax, dword [ebp - 0x134]
push ecx
push eax
mov ecx, edi
call fcn.00401700
mov byte [ebp - 0x165], al
lea eax, [ebp - 0x11c]
push eax
push 0x200002
push dword [edi + 0x30]
mov dword [ebp - 0x11c], 0
call fcn.004b8180
mov ecx, dword [ebp - 0x11c]
xor edx, edx
add esp, 0xc
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x174], ecx
cmp byte [ebp - 0x165], dl
jne 0x402233
mov esi, dword [edi + 0x30]
test esi, esi
jne 0x4021b7
mov ecx, dword [ebp - 0x170]
push 0x1a
push str.InitLibCurl_is_not_invoked
jmp 0x4022c9
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00548bf0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x271a
push esi
call fcn.004bc690
lea ecx, [ebp - 0x118]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4021f0
sub ecx, edx
je 0x40220d
push ecx
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x118]
jmp 0x4022c8
mov eax, dword [ebp - 0x170]
add edi, 0x34
cmp eax, edi
je 0x4022ce
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x402228
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
jmp 0x4022c9
mov esi, dword [ebp - 0x170]
lea eax, [edi + 0x18]
cmp esi, eax
je 0x402255
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x40224a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004035b0
cmp dword [esi + 0x10], 0
jne 0x4022ab
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00548bf0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x271a
push dword [edi + 0x30]
call fcn.004bc690
lea ecx, [ebp - 0x118]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402291
sub ecx, edx
je 0x4022ab
push ecx
lea eax, [ebp - 0x118]
mov ecx, esi
push eax
call fcn.004035b0
lea eax, [ebp - 0x164]
cmp eax, edi
je 0x4022ce
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x4022bf
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x164]
push eax
call fcn.004035b0
mov ecx, dword [ebp - 0x120]
cmp ecx, 0xf
jbe 0x402308
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402384
push ecx
push edx
call fcn.004234d3
add esp, 8
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x402359
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40234f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402384
push ecx
push edx
call fcn.004234d3
add esp, 8
mov eax, dword [ebp - 0x174]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423495
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
call fcn.0054d06c
call fcn.0054d06c
int3