Function at 0x41f5d0
Capabilities:
Check http status code
Create http request
Download and write a file
Print debug messages
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1b70
call fcn.0043e160
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x120]
push eax
call fcn.0042ef90
mov edx, dword [ebx + 0x120]
mov cl, byte [ebx + 0x8a]
push edx
mov byte [ebp - 9], cl
call fcn.0042efb0
add esp, 8
cmp byte [ebp - 9], 0
jne 0x41f6c2
mov eax, dword [ebx + 0x1a0]
push eax
call fcn.0042ef90
add dword [ebx + 0x198], 1
mov ecx, dword [ebx + 0x1a0]
push ecx
adc dword [ebx + 0x19c], 0
call fcn.0042efb0
mov edx, dword [ebp + 0xc]
add esp, 8
push esi
push edi
push 0
push edx
mov ecx, ebx
call fcn.00419890
mov edi, eax
mov eax, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
call fcn.00419890
mov esi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 8], 0
test edi, edi
je 0x41f67e
cmp byte [edi], 0
mov eax, edi
je 0x41f67e
nop
cmp byte [eax], 0x5c
jne 0x41f678
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x41f670
test esi, esi
je 0x41f69e
cmp byte [esi], 0
mov eax, esi
je 0x41f69e
lea esp, [esp]
cmp byte [eax], 0x5c
jne 0x41f698
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x41f690
mov eax, dword [ebp + 0x2c]
dec eax
je 0x41f6cb
dec eax
je 0x41f6b3
push edi
mov ecx, ebx
call fcn.004191d0
test al, al
je 0x41f6cb
push 0
push edi
mov ecx, ebx
call fcn.00419890
mov dword [ebp - 0x44], eax
jmp 0x41f70d
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f6d0
sub eax, edx
add eax, 2
push eax
push esi
mov ecx, ebx
call fcn.00419890
push 0
mov esi, eax
push edi
mov ecx, ebx
mov dword [ebp - 0x44], esi
call fcn.00419890
push 0x2f
push eax
push esi
mov ecx, ebx
mov dword [ebp + 0x2c], eax
call fcn.0041be40
lea ecx, [ebp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00419a50
lea edx, [ebp - 0x158]
xor esi, esi
push edx
push edi
mov ecx, ebx
mov byte [ebp - 0x28c], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call fcn.0041f280
mov edi, dword [ebp + 0x20]
test al, al
je 0x41f9d9
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.0043bd23
add esp, 8
test eax, eax
jne 0x41fa92
push eax
push 0x10
mov ecx, ebx
call fcn.00431d10
test edi, edi
je 0x41fa84
lea edx, [ebp - 0x158]
push 0x44f80c
push edx
call fcn.0043cc0b
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
mov ecx, ebx
test esi, esi
je 0x41fa3a
lea eax, [ebp - 8]
push eax
push esi
call fcn.0041c1e0
test al, al
je 0x41f7f2
mov esi, dword [ebp - 8]
mov eax, esi
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x41f7c2
test cl, cl
je 0x41f7be
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x41f7c2
add eax, 2
add edi, 2
test cl, cl
jne 0x41f7a2
xor eax, eax
jmp 0x41f7c7
sbb eax, eax
sbb eax, 0xffffffff
push 0
mov ecx, ebx
test eax, eax
je 0x41f7e8
push 0x12
call fcn.00431d10
push esi
call fcn.0043ac0b
add esp, 4
mov dword [ebp - 8], 0
jmp 0x41f7ef
push 0x11
call fcn.00431d10
mov esi, dword [ebp - 4]
push esi
call fcn.0043c7b7
xor esi, esi
add esp, 4
mov dword [ebp - 4], esi
cmp dword [ebp - 8], esi
je 0x41fa43
xor eax, eax
jmp 0x41f810
mov cl, byte [ebp + eax - 0x158]
mov byte [ebp + eax - 0x28c], cl
inc eax
test cl, cl
jne 0x41f810
push 1
push 1
push 0x104
lea ecx, [ebp - 0x158]
push ecx
mov ecx, ebx
call fcn.0041f0d0
test al, al
je 0x41fa5e
mov edi, dword [ebp - 0x174]
add edi, 0xffffff80
mov dword [ebp - 0x34], edi
mov byte [ebp + 0x2f], 1
cmp edi, 0x1000
jbe 0x41f993
push 1
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x158]
push ecx
sub edi, 0x1000
mov ecx, ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
call fcn.0041d490
test al, al
je 0x41f993
mov eax, dword [ebp - 0x30]
push 0
push 0
lea edx, [edi + 0x80]
push edx
push eax
lea ecx, [ebp - 0x158]
push ecx
mov ecx, ebx
call fcn.0041d0a0
test al, al
je 0x41f97e
lea edx, [ebp - 0x158]
push 0x44fc94
push edx
call fcn.0043cc0b
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x41f97e
xor eax, eax
push eax
push edi
lea eax, [ebp - 0x33c]
push str.Range:bytes_llu__n
push eax
mov byte [ebp + 0x2f], 0
call fcn.0043c2fb
add esp, 0x10
push 0
lea ecx, [ebp - 0x33c]
push ecx
mov ecx, ebx
call fcn.00419890
mov dword [ebp - 0x20], eax
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f910
sub eax, edx
cmp dword [ebp + 0x30], 0
mov dword [ebp - 0x38], eax
je 0x41f92e
mov ecx, dword [ebp + 0x30]
xor eax, eax
push eax
push edi
call fcn.00417f10
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0x30]
mov eax, dword [edx + 0x20]
push ecx
push eax
mov dword [ebp - 0x3c], edi
fild dword [ebp - 0x3c]
push edi
test edi, edi
jns 0x41f94a
fadd qword [0x44f820]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
test eax, eax
jns 0x41f95a
fadd qword [0x44f820]
fdivp st(1)
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x158]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fstp dword [esp]
push edx
push 0x20
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
mov edx, dword [ebp - 0x30]
push edx
mov ecx, ebx
call fcn.004197d0
cmp byte [ebp + 0x2f], 0
je 0x41fa51
lea eax, [ebp - 0x158]
push 0x44fa34
push eax
call fcn.0043cc0b
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x41f9d9
mov ecx, dword [ebp - 8]
push ecx
push esi
mov ecx, ebx
call fcn.0041a340
test al, al
jne 0x41faab
push esi
call fcn.0043c7b7
add esp, 4
xor esi, esi
mov byte [ebp - 0x28c], 0
mov dword [ebp - 4], esi
push 0
push 0x24
mov ecx, ebx
call fcn.00431d10
mov eax, dword [ebx + 0x110]
push eax
call fcn.0042ef90
mov edx, dword [ebx + 0x110]
mov cl, byte [ebx + 0x82]
push edx
mov byte [ebp + 0x2f], cl
call fcn.0042efb0
add esp, 8
cmp byte [ebp + 0x2f], 0
push 0
mov ecx, ebx
je 0x41fb1b
push 0x1a
call fcn.00431d10
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x41fa27
mov byte [eax], 0
test esi, esi
je 0x41fb81
push esi
call fcn.0043c7b7
jmp 0x41fb7e
push 0
push 0x22
call fcn.00431d10
push 0x44fa34
lea edx, [ebp - 0x158]
push edx
jmp 0x41fa9e
push 0
push 0x23
mov ecx, ebx
call fcn.00431d10
jmp 0x41faab
push 0
push 0x23
mov ecx, ebx
call fcn.00431d10
xor esi, esi
push esi
push 0x12
mov ecx, ebx
mov dword [ebp - 4], esi
mov byte [ebp - 0x28c], 0
call fcn.00431d10
jmp 0x41f9d9
push 0x44fa34
lea eax, [ebp - 0x158]
push eax
jmp 0x41fa9e
push 0x44fa34
lea ecx, [ebp - 0x158]
push ecx
call fcn.0043cc0b
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x41f9d9
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.0043bd23
add esp, 8
test eax, eax
jne 0x41f9e4
mov eax, dword [ebp - 0x2b6]
test eax, 0x4000
je 0x41faf7
lea ecx, [ebp - 0x158]
push 0x1ff
push ecx
call fcn.0044e26b
add esp, 8
jmp 0x41f9e4
test eax, 0x8000
je 0x41f9e4
lea edx, [ebp - 0x158]
push 0x1b6
push edx
call fcn.0044e26b
add esp, 8
jmp 0x41f9e4
push 0x13
call fcn.00431d10
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_GB__rv:1.9.0.5__Gecko_2008120122_Firefox_3.0.5
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x41fc19
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 0x30], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [ebp + 0x30]
push eax
call edx
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x41fb81
fldz
push esi
push esi
push esi
push ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp]
push eax
mov eax, dword [ebp + 0x18]
push 0x11
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
mov edx, dword [ebp + 0x30]
push edx
call fcn.0043ac96
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419a50
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.00419a50
mov eax, dword [ebp - 8]
test eax, eax
je 0x41fba7
push eax
call fcn.0043ac0b
add esp, 4
mov edx, dword [ebx + 0x1a0]
push edx
call fcn.0042ef90
mov eax, dword [ebx + 0x198]
mov ecx, dword [ebx + 0x19c]
mov edx, eax
add esp, 4
or edx, ecx
je 0x41fbdc
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x19c], ecx
jmp 0x41fbe7
push str.Attempt_to_reduce_CMuppet_ref_count___0_IGNORED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx + 0x1a0]
push eax
call fcn.0042efb0
mov ecx, dword [ebx + 0x120]
push ecx
call fcn.0042ef90
mov eax, dword [ebx + 0x120]
push eax
call fcn.0042efb0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, dword [ebx + 0x24]
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea edx, [ebp - 0x48]
push edx
push 6
push esi
mov dword [ebp - 0x48], ecx
call edi
push 4
lea eax, [ebp - 0x48]
push eax
push 2
push esi
call edi
push 4
lea ecx, [ebp - 0x4c]
push ecx
push 0x1f
push esi
mov dword [ebp - 0x4c], 0x3180
call edi
push 0
push 0x14
mov ecx, ebx
call fcn.00431d10
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x44]
push 0
push 0x40300
push edx
push eax
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea edx, [ebp - 0x44]
push edx
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.00419a50
xor edi, edi
mov dword [ebp - 0x50], 0x400
cmp dword [ebp - 0x14], edi
jne 0x41fd57
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 0x30], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [ebp + 0x30]
push edx
call eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x73c]
push edx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 0x30]
lea ecx, [ebp - 0x73c]
push ecx
push edx
push eax
lea ecx, [ebp - 0xb70]
push str._s____d_::__s
push ecx
call fcn.0043c2fb
mov edx, dword [ebp + 0x30]
push edx
call fcn.0043ac96
fldz
mov edx, dword [ebp + 0x14]
add esp, 0x18
push edi
push edi
push edi
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [esp]
lea eax, [ebp - 0xb70]
push eax
push 0x11
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419a50
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.00419a50
mov eax, dword [ebp - 8]
test eax, eax
je 0x41fd32
push eax
call fcn.0043ac0b
add esp, 4
mov ecx, ebx
call fcn.004187b0
test al, al
je 0x4205d7
push 0
push 0x28
mov ecx, ebx
call fcn.00431d10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov edx, dword [ebx + 0x144]
push edx
call fcn.0042ef90
mov eax, dword [ebx + 0x164]
add esp, 4
test eax, eax
je 0x41fd79
mov ecx, dword [ebx + 0x18]
add dword [eax + 0x10], ecx
adc dword [eax + 0x14], edi
mov edx, dword [ebx + 0x144]
push edx
call fcn.0042efb0
mov eax, dword [ebp - 0x14]
add esp, 4
push 0x13
push eax
mov ecx, ebx
mov byte [ebp + 0x2f], 0
call fcn.00419170
mov esi, eax
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], edi
je 0x41fdae
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
call fcn.00419a50
cmp byte [ebx + 0x13], 0
mov byte [ebp - 9], 0
mov dword [ebp - 0x18], edi
je case.0x41fdcf.302
lea eax, [esi - 0x12d]
cmp eax, 0xcb
ja case.0x41fdcf.302
movzx edx, byte [eax + 0x420b54]
jmp dword [edx*4 + 0x420b2c]
push 0
push 0x29
jmp 0x41fe0a
push 0
push 0x2a
jmp 0x41fe0a
push 0
push 0x2b
jmp 0x41fe0a
push 0
push 0x2c
jmp 0x41fe0a
push 0
push 0x2d
jmp 0x41fe0a
push 0
push 0x2e
jmp 0x41fe0a
push 0
push 0x2f
jmp 0x41fe0a
push 0
push 0x30
jmp 0x41fe0a
push 0
push 0x31
mov ecx, ebx
call fcn.00431d10
lea eax, [esi - 0xc8]
cmp eax, 0xd8
ja case.0x41fe29.201
movzx eax, byte [eax + 0x420c30]
jmp dword [eax*4 + 0x420c20]
mov ecx, dword [ebp - 0x14]
push 5
push ecx
mov ecx, ebx
call fcn.00419170
cmp dword [ebp - 8], 0
mov edx, dword [ebp - 0x34]
lea edi, [eax + edx]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], edi
jne 0x41fe95
push 0x24
call fcn.0043ac16
add esp, 4
test eax, eax
je 0x41fe6b
mov ecx, dword [ebp + 0x20]
push edi
push ecx
mov ecx, eax
call fcn.00418020
jmp 0x41fe6d
xor eax, eax
mov edx, dword [ebp + 0x30]
fldz
push edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp + 0x14]
push 0
push ecx
mov ecx, dword [ebp - 0x10]
fstp dword [esp]
push ecx
push 0x1b
push edx
push eax
mov ecx, ebx
call fcn.0041e940
mov ecx, dword [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x20], esi
test ecx, ecx
je 0x42036e
cmp dword [ebp - 4], esi
je 0x41ffdd
mov eax, dword [ebp - 0x24]
cmp eax, 0xce
jne 0x41ff77
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
sub eax, dword [ebp - 0x174]
add eax, 0x1080
cmp ecx, eax
je 0x420017
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043c7b7
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
push edx
call esi
mov eax, dword [ebp - 0x40]
push eax
call esi
lea ecx, [ebp - 0x158]
push ecx
call fcn.0043def0
lea edx, [ebp - 0x28c]
push edx
call fcn.0043def0
add esp, 8
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419a50
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.00419a50
mov edx, dword [ebp - 8]
push edx
call fcn.0043ac0b
add esp, 4
mov ecx, ebx
call fcn.004187b0
test al, al
je 0x4205d7
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
push 0
push 0
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0041f5d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
cmp eax, 0xc8
jne 0x420017
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push ecx
mov dword [eax + 0x20], edi
call fcn.0043c7b7
lea edx, [ebp - 0x158]
push 0x44fa34
push edx
call fcn.0043cc0b
mov dword [ebp - 4], eax
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.0041a140
add esp, 0x14
cmp dword [ebp - 4], esi
je 0x41ffdd
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push ecx
push edx
mov ecx, ebx
call fcn.0041a340
test al, al
jne 0x420017
mov eax, dword [ebp - 4]
push eax
call fcn.0043c7b7
add esp, 4
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0x1c]
lea edx, [edi + ecx]
push edx
mov ecx, ebx
call fcn.00419560
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x420011
mov eax, dword [ebp - 8]
test eax, eax
je 0x4205c9
push eax
call fcn.0043ac0b
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x30], esi
jbe 0x4204f0
mov ecx, dword [ebp - 0x24]
sub ecx, esi
cmp ecx, dword [ebx + 0x1c]
jbe 0x420082
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp - 0x34]
push ecx
lea eax, [esi + edx]
push edi
push eax
imul eax, eax, 0x64
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
test eax, eax
jns 0x42004c
fadd qword [0x44f820]
mov edx, edi
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
test edx, edx
jns 0x42005e
fadd qword [0x44f820]
fdivp st(1)
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp dword [esp]
push eax
push 0x1b
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x30]
sub eax, esi
mov dword [ebp - 0x38], eax
cmp eax, 0x1000
jle 0x420098
mov dword [ebp - 0x38], 0x1000
cmp dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
je 0x420231
mov eax, dword [ebx + 0x110]
push eax
mov byte [ebp + 0xb], 0
call fcn.0042ef90
mov edx, dword [ebx + 0x110]
mov cl, byte [ebx + 0x80]
push edx
mov byte [ebp + 0xf], cl
call fcn.0042efb0
add esp, 8
cmp byte [ebp + 0xf], 0
je 0x420131
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
cmp byte [ebp + 0xb], 0
jne 0x4200f1
push 0
push 0x1b
mov ecx, ebx
call fcn.00431d10
push 0xfa
mov byte [ebp + 0xb], 1
call esi
mov eax, dword [ebx + 0x110]
push eax
call fcn.0042ef90
mov edx, dword [ebx + 0x110]
mov cl, byte [ebx + 0x80]
push edx
mov byte [ebp + 0xf], cl
call fcn.0042efb0
add esp, 8
cmp byte [ebp + 0xf], 0
jne 0x4200e0
push 0
push 0x1c
mov ecx, ebx
call fcn.00431d10
push 0
push 0x15
mov ecx, ebx
call fcn.00431d10
mov ecx, ebx
call fcn.004188b0
test al, al
jne 0x4202c6
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1b70]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42025b
cmp byte [ebx + 0xa4], 0
je 0x4201a5
mov ecx, dword [ebx + 0x9c]
push ecx
call fcn.0042ef90
mov edx, dword [ebx + 0xa0]
push edx
call fcn.0042ef90
mov eax, dword [ebx + 0x98]
mov byte [eax], 1
mov ecx, dword [ebx + 0xa0]
push ecx
call fcn.0042efb0
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
push edx
push eax
lea ecx, [ebp - 0x1b70]
push 1
push ecx
call fcn.0043d6c5
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call fcn.0043d987
add esp, 0x14
cmp esi, dword [ebp - 0x28]
mov ecx, ebx
setne byte [ebp + 0xf]
call fcn.004188b0
test al, al
jne 0x4202ff
cmp byte [ebp + 0xf], al
jne 0x4202ff
mov eax, dword [ebx + 0xa0]
push eax
call fcn.0042ef90
add esp, 4
cmp dword [ebx + 0x98], 0
je 0x42020f
mov ecx, dword [ebx + 0x9c]
push ecx
call fcn.0042efb0
add esp, 4
mov edx, dword [ebx + 0xa0]
push edx
call fcn.0042efb0
add esp, 4
cmp byte [ebx + 0x8d], 0
je 0x42025b
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42025b
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push ecx
add edx, esi
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x42025b
push eax
push 0x16
mov ecx, ebx
mov byte [ebp + 0x2f], 1
call fcn.00431d10
cmp dword [ebp - 0x28], 0
jbe 0x4204ed
mov ecx, dword [ebx + 0x144]
push ecx
call fcn.0042ef90
mov eax, dword [ebx + 0x164]
add esp, 4
test eax, eax
je 0x420287
mov edx, dword [ebp - 0x28]
add dword [eax], edx
adc dword [eax + 4], 0
mov eax, dword [ebx + 0x144]
push eax
call fcn.0042efb0
add esp, 4
mov ecx, ebx
call fcn.0041b370
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4202af
mov edx, dword [ebp - 0x28]
push 0
push edx
call fcn.00417f10
mov esi, dword [ebp - 0x20]
add esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
cmp esi, dword [ebp - 0x30]
jb 0x420023
jmp 0x4204f0
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x28c]
push ecx
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x158]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0041f4f0
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419a50
lea ecx, [ebp - 0x2c]
push ecx
jmp 0x4205ab
mov edx, dword [ebx + 0xa0]
push edx
call fcn.0042ef90
add esp, 4
cmp dword [ebx + 0x98], 0
je 0x420326
mov eax, dword [ebx + 0x9c]
push eax
call fcn.0042efb0
add esp, 4
mov ecx, dword [ebx + 0xa0]
push ecx
call fcn.0042efb0
mov edx, dword [ebp + 0x28]
add esp, 4
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0041f4f0
lea edx, [ebp - 0x10]
push edx
mov ecx, ebx
call fcn.00419a50
lea eax, [ebp - 0x2c]
push eax
jmp 0x4205ab
fldz
push 0
push 0x15
fstp dword [ebp + 8]
mov ecx, ebx
mov byte [ebp - 9], 1
mov dword [ebp + 0x2c], esi
call fcn.00431d10
mov ecx, dword [ebp + 0x30]
fld dword [ebp + 8]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
push ecx
push edi
push edx
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [esp]
push eax
push 0x1b
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
fld dword [ebp + 8]
fld qword [0x454de8]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4203cb
fsub st(1)
fmul qword [0x44f768]
faddp st(1)
fstp dword [ebp + 8]
jmp 0x4203cf
fstp st(1)
fstp st(0)
cmp dword [ebp - 4], 0
je 0x42047a
push 0
push 0x15
mov ecx, ebx
call fcn.00431d10
mov edx, dword [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
push 0x1000
lea ecx, [ebp - 0x1b70]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
add edi, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebx + 0x144]
push eax
call fcn.0042ef90
mov eax, dword [ebx + 0x164]
add esp, 4
test eax, eax
je 0x420425
mov ecx, dword [ebp + 0xc]
add dword [eax], ecx
adc dword [eax + 4], 0
mov edx, dword [ebx + 0x144]
push edx
call fcn.0042efb0
add esp, 4
mov ecx, ebx
call fcn.0041b370
mov ecx, ebx
call fcn.004188b0
test al, al
jne 0x420549
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1b70]
push 1
push edx
call fcn.0043d6c5
add esp, 0x10
cmp eax, dword [ebp + 0xc]
jne 0x420549
mov eax, dword [ebp - 4]
push eax
call fcn.0043d987
add esp, 4
jmp 0x4204ca
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x18]
add eax, 0x1000
push eax
push ecx
mov ecx, ebx
mov dword [ebp + 0x2c], eax
call fcn.0041c960
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4205d4
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
push edx
push 0x1000
add eax, edi
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
mov eax, dword [ebp + 0xc]
add edi, eax
cmp dword [ebp + 0x30], 0
je 0x4204ca
mov ecx, dword [ebp + 0x30]
push 0
push eax
call fcn.00417f10
test esi, esi
je 0x4204d8
cmp dword [ebp + 0xc], 0
ja 0x420385
push 0
push 0x1f
mov ecx, ebx
mov dword [ebp - 0x1c], edi
call fcn.00431d10
mov byte [ebp + 0x2f], 1
mov dword [ebp - 0x20], edi
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 4], 0
je 0x420714
mov eax, dword [ebp - 4]
push eax
call fcn.0043c7b7
mov ecx, dword [ebp - 0x34]
add esi, ecx
add esp, 4
cmp edi, esi
je 0x4205e2
mov edx, dword [ebp - 8]
cmp dword [edx + 0x20], 0
je 0x4205e2
fldz
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [esp]
push eax
push 5
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
mov esi, dword [ebp + 0x24]
jmp 0x420879
mov edx, dword [ebp - 4]
push edx
mov dword [ebp - 0x1c], edi
call fcn.0043c7b7
fld dword [ebp + 8]
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp - 0x34]
add esp, 4
push eax
mov eax, dword [ebp + 0x18]
push edi
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp]
lea edx, [ebp - 0x158]
push edx
push 8
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42058a
mov byte [eax], 1
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x40]
push eax
call esi
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
call fcn.00419a50
lea edx, [ebp - 0x2c]
push edx
mov ecx, ebx
call fcn.00419a50
mov eax, dword [ebp - 8]
test eax, eax
je 0x4205c2
push eax
call fcn.0043ac0b
add esp, 4
mov ecx, ebx
call fcn.004187b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov dword [ebp - 0x1c], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
push 1
neg eax
push 0
sbb eax, eax
and eax, 0x80
push eax
push 0
push 1
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x158]
push eax
mov ecx, ebx
call fcn.0041d490
mov esi, dword [ebp + 0x24]
test al, al
jne 0x420627
xor edi, edi
mov dword [ebp - 0x1c], edi
test esi, esi
jne 0x42062a
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edi
jmp 0x42062a
mov edi, dword [ebp - 0x1c]
cmp byte [ebp - 9], 0
jne 0x42063f
lea edx, [ebp - 0x158]
push edx
call fcn.0043def0
add esp, 4
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x420717
push 0x44fc98
push eax
call fcn.0043b2a0
add esp, 8
test eax, eax
jne 0x420717
mov dword [ebp + 0xc], eax
test esi, esi
jne 0x42066a
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x18]
push ecx
push esi
lea edx, [ebp + 0xc]
push edx
push edi
push eax
mov ecx, ebx
call fcn.0041ef70
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0xc]
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4206b0
test cl, cl
je 0x4206ac
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4206b0
add eax, 2
add esi, 2
test cl, cl
jne 0x420690
xor eax, eax
jmp 0x4206b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420709
cmp byte [ebx + 8], 0
je 0x4206d9
lea ecx, [ebp - 0x18]
push ecx
mov ecx, ebx
call fcn.0041c830
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [ebp + 0x24], edi
jne 0x4206d9
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
inc dword [ebx + 0x154]
cmp dword [ebx + 0xa8], 0
je 0x420709
fldz
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [esp]
push eax
push 4
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.00419a50
mov esi, dword [ebp + 0x24]
test edi, edi
je 0x42087b
test esi, esi
je 0x42087b
mov edx, dword [ebp - 0x18]
lea ecx, [ebp + 0xc]
push ecx
push 0
push edi
push edx
push esi
mov ecx, ebx
mov byte [ebp + 0x23], 1
mov dword [ebp + 0xc], 0
call fcn.0041d0a0
test al, al
je 0x42074f
mov byte [ebp + 0x23], 0
jmp 0x42076d
fldz
mov eax, dword [ebp + 0x18]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp]
push esi
push 8
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
cmp dword [ebp + 0xc], 0
je 0x420873
push 0
lea edx, [ebp + 8]
push edx
push 0x44fc98
push esi
mov dword [ebp + 8], 0
call fcn.00430350
add esp, 0x10
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x420855
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4207a3
sub eax, edx
add eax, 3
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov ecx, ebx
call fcn.00419890
mov dword [ebp - 0x24], eax
test eax, eax
je 0x420855
lea edi, [eax - 1]
jmp 0x4207d0
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4207d0
mov dx, word [0x44fc98]
mov ecx, dword [ebp + 0xc]
mov word [edi], dx
mov esi, ecx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4207e7
sub ecx, esi
mov edx, ecx
lea edi, [eax - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4207f5
mov ecx, edx
fldz
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp]
push eax
mov eax, dword [ebp + 0x18]
push 0x3b
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
mov edx, dword [ebp + 0xc]
push edx
call fcn.0043ac96
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.0042fb80
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
mov ecx, ebx
call fcn.00419a50
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x24]
jmp 0x420873
fldz
mov eax, dword [ebp + 0x18]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp]
push esi
push 8
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
cmp byte [ebp + 0x23], 0
je 0x42087b
xor edi, edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x420889
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
jmp 0x420894
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0041c830
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4208be
test edi, edi
je 0x4208be
test esi, esi
jne 0x4208be
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
lea ecx, [edi + eax]
push ecx
push edx
mov ecx, ebx
call fcn.0041c960
mov dword [esi], eax
test eax, eax
je 0x4205d7
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x420a3c
mov byte [eax], 1
jmp 0x420a3c
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4208db
mov byte [eax], 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x4208eb
push eax
call fcn.0043c7b7
add esp, 4
lea eax, [ebp - 0x158]
push eax
call fcn.0043def0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0043def0
xor edi, edi
add esp, 8
cmp dword [ebp + 0x24], edi
jne 0x420912
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
fldz
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [esp]
push eax
push 3
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
jmp 0x420a3c
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x420942
mov byte [eax], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x420952
push eax
call fcn.0043c7b7
add esp, 4
lea eax, [ebp - 0x158]
push eax
call fcn.0043def0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0043def0
fldz
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
add esp, 8
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x14]
fstp dword [esp]
push edx
push 6
push eax
push ecx
mov ecx, ebx
call fcn.0041e940
xor edi, edi
cmp dword [ebp + 0x24], edi
jne 0x420a3c
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
jmp 0x420a3c
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4209ad
mov byte [eax], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4209bd
push eax
call fcn.0043c7b7
add esp, 4
lea eax, [ebp - 0x158]
push eax
call fcn.0043def0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0043def0
mov eax, dword [ebp - 0x10]
add esp, 8
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4209e0
sub eax, edx
add eax, 0x20
push eax
push 0
mov ecx, ebx
call fcn.00419890
mov edx, dword [ebp - 0x24]
push 0
mov esi, eax
mov eax, dword [ebp - 0x10]
push edx
push eax
push str._s_llu
push esi
mov dword [ebp + 0x24], esi
call fcn.0043c2fb
fldz
mov edx, dword [ebp + 0x14]
add esp, 0x14
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x18]
fstp dword [esp]
push esi
push 0x10
push ecx
push edx
mov ecx, ebx
call fcn.0041e940
lea eax, [ebp + 0x24]
push eax
mov ecx, ebx
call fcn.00419a50
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x40]
push edx
call esi
mov esi, dword [ebp - 8]
test esi, esi
je 0x420a89
mov eax, dword [esi + 0x20]
cmp edi, eax
je 0x420a64
test edi, edi
je 0x420a89
test eax, eax
jne 0x420a89
mov eax, dword [ebp + 0x30]
fld dword [0x454de4]
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push edi
push edi
push ecx
mov ecx, dword [ebp - 0x10]
fstp dword [esp]
push ecx
push 0x1b
push edx
push eax
mov ecx, ebx
call fcn.0041e940
push esi
call fcn.0043ac0b
add esp, 4
test edi, edi
je 0x420ac6
mov ecx, dword [ebx + 0x144]
push ecx
call fcn.0042ef90
mov eax, dword [ebx + 0x164]
add esp, 4
test eax, eax
je 0x420ab7
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
mov edx, dword [ebx + 0x144]
push edx
call fcn.0042efb0
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419a50
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.00419a50
mov ecx, ebx
call fcn.004187b0
test al, al
je 0x4205d7
lea eax, [ebp - 0x28c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420af4
sub eax, edx
je 0x420b0e
lea edx, [ebp - 0x28c]
push edx
call fcn.0043def0
add esp, 4
cmp byte [ebp + 0x2f], 0
jne 0x420b1f
push 0
push 0x1e
mov ecx, ebx
call fcn.00431d10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c