Function at 0x408620
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4483ed
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x45701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x45981c]
cmp eax, dword [ecx + 4]
jg 0x408a3c
cmp dword [0x457960], 0
jne 0x40894d
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x80]
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
jne 0x40893c
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x78]
push edx
push 0x64
lea edx, [ebp - 0x74]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
cmp dword [ebp - 0x78], 0
je 0x408931
lea eax, [ebp - 0x74]
mov edi, 2
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4086e0
sub eax, edx
xor ecx, ecx
lea esi, [eax + 1]
mov eax, esi
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401250
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x94], eax
push ecx
push esi
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
call fcn.0041e30d
mov edx, dword [0x457964]
add esp, 0x18
mov ecx, dword [0x457960]
mov eax, edx
mov edi, dword [ebp - 0x78]
sub eax, ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x98], edx
cmp edi, eax
ja 0x408788
lea eax, [edi + ecx]
cmp edx, 8
mov dword [0x457960], eax
mov esi, 0x457950
cmovae esi, dword [0x457950]
lea eax, [edi + edi]
push eax
push dword [ebp - 0x94]
lea eax, [esi + ecx*2]
push eax
call fcn.00414ed0
mov eax, dword [ebp - 0x88]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x40890e
mov esi, 0x7ffffffe
mov eax, esi
sub eax, ecx
cmp eax, edi
jb 0x408a77
lea eax, [edi + ecx]
mov edi, eax
mov dword [ebp - 0x90], eax
or edi, 7
cmp edi, esi
jbe 0x4087af
mov edi, esi
jmp 0x4087c7
mov ecx, edx
mov eax, esi
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x4087bf
mov edi, esi
jmp 0x4087c7
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x408a72
add ecx, ecx
cmp ecx, 0x1000
jb 0x408812
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x408a72
push eax
call fcn.00413474
add esp, 4
test eax, eax
je 0x408a7c
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x408825
test ecx, ecx
je 0x408823
push ecx
call fcn.00413474
add esp, 4
mov esi, eax
jmp 0x408825
xor esi, esi
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
mov dword [0x457960], eax
mov eax, dword [ebp - 0x84]
mov dword [0x457964], edi
lea edi, [ecx + ecx]
lea edx, [eax + eax]
add eax, ecx
cmp dword [ebp - 0x98], 8
mov dword [ebp - 0x88], edx
lea edx, [esi + edi]
mov dword [ebp - 0x84], edx
lea eax, [esi + eax*2]
mov dword [ebp - 0x90], eax
jb 0x4088d9
mov edi, dword [0x457950]
lea eax, [ecx + ecx]
push eax
push edi
push esi
call fcn.00414ed0
push dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
push dword [ebp - 0x94]
push eax
call fcn.00414ed0
mov eax, dword [ebp - 0x90]
xor ecx, ecx
add esp, 0x18
mov word [eax], cx
mov ecx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4088cd
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x408a7c
mov edi, edx
push ecx
push edi
call fcn.0041382e
add esp, 8
jmp 0x408908
push edi
push 0x457950
push esi
call fcn.00414ed0
push dword [ebp - 0x88]
lea eax, [esi + edi]
push dword [ebp - 0x94]
push eax
call fcn.00414ed0
mov eax, dword [ebp - 0x90]
add esp, 0x18
xor ecx, ecx
mov word [eax], cx
mov dword [0x457950], esi
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x78]
push edx
push 0x64
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x78], 0
jne 0x4086cf
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40894d
push 2
push 0x452378
mov ecx, 0x457950
call fcn.0040b020
mov ecx, 0x457950
call fcn.00408100
mov dword [esi], 0
mov eax, 0x457950
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [0x457964], 8
mov edi, dword [0x457960]
cmovae eax, dword [0x457950]
mov dword [ebp - 0x84], eax
cmp edi, 8
jae 0x40899c
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov esi, 7
jmp 0x4089d9
mov esi, edi
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00404cc0
mov ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], ecx
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x84]
push ecx
call fcn.00414ed0
add esp, 0xc
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x408a21
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a7c
push edx
push ecx
call fcn.0041382e
mov eax, dword [ebp - 0x8c]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413245
mov esp, ebp
pop ebp
ret
push 0x45981c
call fcn.00413386
add esp, 4
cmp dword [0x45981c], 0xffffffff
jne 0x408681
push 0x448c80
call fcn.00413819
push 0x45981c
call fcn.0041333c
add esp, 8
jmp 0x408681
call fcn.00401190
call fcn.00404230
call fcn.0041df19
int3