Function at 0x40e700
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450bcb
mov eax, dword fs:[0]
push eax
mov eax, 0x190f8
call fcn.00434120
mov eax, dword [0x460adc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x190fc], eax
mov dword [ebp - 0x19100], ecx
lea edx, [ebp - 0x190f4]
push edx
mov dword [ebp - 4], 4
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x40e814
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0x40e775
mov eax, dword [ebp + 8]
push eax
call fcn.004204e8
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], cx
cmp dword [ebp + 0x3c], edi
jb 0x40e799
mov edx, dword [ebp + 0x28]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], ax
jb 0x40e7b7
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40e7df
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov edx, dword [ebp + 0x6c]
push edx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
cmp eax, ebx
je 0x40e80d
mov ecx, dword [ebp - 0x190f4]
mov ebx, dword [ebp + 0x80]
push ecx
call fcn.00411c90
mov edx, dword [ebp + 0x7c]
push edx
call fcn.004204e8
add esp, 8
xor al, al
jmp 0x40f69f
movzx esi, byte [ebp + 0x64]
mov eax, dword [ebp + 0x28]
neg esi
sbb esi, esi
and esi, 0x10000000
cmp dword [ebp + 0x3c], 8
jae 0x40e82e
lea eax, [ebp + 0x28]
push 0x456e84
push eax
call fcn.004214d1
add esp, 8
push esi
xor ebx, ebx
push ebx
push ebx
push 1
test eax, eax
jne 0x40ebe3
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x190e4], eax
cmp eax, ebx
jne 0x40e8f6
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0x40e876
mov eax, dword [ebp + 8]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], cx
cmp dword [ebp + 0x3c], edi
jb 0x40e898
mov edx, dword [ebp + 0x28]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], ax
jb 0x40e8b6
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40e8de
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov edx, dword [ebp + 0x6c]
push edx
call fcn.004204e8
add esp, 4
lea esi, [ebp + 0x7c]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
call fcn.0040fcf0
xor al, al
jmp 0x40f69f
xor esi, esi
cmp edi, ebx
je 0x40e946
push 0x24
call fcn.00420ba1
add esp, 4
cmp eax, ebx
je 0x40e91b
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov esi, eax
jmp 0x40e91d
xor esi, esi
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x44]
push eax
lea ecx, [esi + 4]
mov dword [esi], edi
call fcn.00402690
mov edx, dword [ebp - 0x190e4]
mov ecx, dword [ebp + 0x68]
push 0x40e470
push edx
mov dword [esi + 0x20], ecx
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x40e952
lea eax, [ebp + 8]
push esi
push 0x102
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x190e4]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
jne 0x40e9dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40e9a0
lea ecx, [ebp + 8]
call fcn.004389c0
lea ecx, [ebp + 0x28]
call fcn.004389c0
lea ecx, [ebp + 0x44]
call fcn.00402490
lea esi, [ebp + 0x6c]
call fcn.00406f10
jmp 0x40f695
mov ecx, dword [ebp - 0x190e4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp + 8]
call fcn.004389c0
lea ecx, [ebp + 0x28]
call fcn.004389c0
lea ecx, [ebp + 0x44]
call fcn.00402490
lea esi, [ebp + 0x6c]
call fcn.00406f10
lea esi, [ebp + 0x7c]
call fcn.0040fcf0
xor al, al
jmp 0x40f69f
cmp byte [ebp + 0x64], bl
jne 0x40f5f4
push ebx
lea edx, [ebp - 0x190f0]
push edx
lea eax, [ebp - 0x190ec]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x190f0], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x190ec], 0xc8
je 0x40ea2a
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ecx, dword [ebp - 0x190e4]
push ecx
call esi
jmp 0x40e9ad
push 0x18fff
lea edx, [ebp - 0x19013]
push ebx
push edx
mov byte [ebp - 0x19014], bl
call fcn.00422fb0
add esp, 0xc
lea eax, [ebp - 0x190e8]
push eax
push 0x19000
lea ecx, [ebp - 0x19014]
push ecx
push edi
mov dword [ebp - 0x190e8], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40f5f4
lea ecx, [ecx]
mov eax, dword [ebp - 0x190e8]
cmp eax, ebx
jbe 0x40f5f4
cmp dword [ebp + 0x58], 0x10
mov esi, dword [ebp + 0x44]
mov byte [ebp + eax - 0x19014], bl
jae 0x40ea91
lea esi, [ebp + 0x44]
mov eax, esi
mov dword [ebp - 0x1901c], 0xf
mov dword [ebp - 0x19020], ebx
mov byte [ebp - 0x19030], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40eab0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x19030]
call fcn.00402e70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x19014]
mov dword [ebp - 0x19038], 0xf
mov dword [ebp - 0x1903c], ebx
mov byte [ebp - 0x1904c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40eaf0
sub eax, esi
push eax
lea edx, [ebp - 0x19014]
push edx
lea ecx, [ebp - 0x1904c]
call fcn.00402e70
lea eax, [ebp - 0x19030]
push eax
lea ecx, [ebp - 0x1904c]
lea esi, [ebp - 0x19068]
mov byte [ebp - 4], 6
call fcn.004185d0
add esp, 4
mov ecx, dword [ebp - 0x190fc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 7
call fcn.00403170
cmp dword [ebp - 0x19054], 8
jb 0x40eb56
mov ecx, dword [ebp - 0x19068]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
mov esi, 0x10
mov dword [ebp - 0x19054], 7
mov dword [ebp - 0x19058], ebx
mov word [ebp - 0x19068], dx
cmp dword [ebp - 0x19038], esi
jb 0x40eb8b
mov eax, dword [ebp - 0x1904c]
push eax
call fcn.004204e8
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x19038], 0xf
mov dword [ebp - 0x1903c], ebx
mov byte [ebp - 0x1904c], bl
cmp dword [ebp - 0x1901c], esi
jb 0x40ebbc
mov ecx, dword [ebp - 0x19030]
push ecx
call fcn.004204e8
add esp, 4
lea edx, [ebp - 0x190e8]
push edx
push 0x19000
lea eax, [ebp - 0x19014]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40ea70
jmp 0x40f5f4
push 0x456df8
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x190e4], eax
mov dword [ebp - 0x190ec], ebx
cmp edi, ebx
je 0x40ec4e
push 0x24
call fcn.00420ba1
add esp, 4
cmp eax, ebx
je 0x40ec1d
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov esi, eax
jmp 0x40ec1f
xor esi, esi
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x44]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x190ec], esi
mov dword [esi], edi
call fcn.00402690
mov eax, dword [ebp - 0x190e4]
mov edx, dword [ebp + 0x68]
push 0x40e470
push eax
mov dword [esi + 0x20], edx
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edi, 7
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x190c8], edi
mov dword [ebp - 0x190cc], ebx
mov word [ebp - 0x190dc], cx
mov dword [ebp - 0x190a8], edi
mov dword [ebp - 0x190ac], ebx
mov word [ebp - 0x190bc], dx
mov dword [ebp - 0x1908c], edi
mov dword [ebp - 0x19090], ebx
mov word [ebp - 0x190a0], ax
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x190f0], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
lea esi, [ebp - 0x190dc]
mov word [ecx], dx
call fcn.00402a70
call fcn.0040f6c0
xor ecx, ecx
push edi
mov word [ebp - 0x19030], cx
push str.http:__
lea ecx, [ebp - 0x19030]
mov dword [ebp - 0x1901c], edi
mov dword [ebp - 0x19020], ebx
call fcn.00403280
push 0xffffffffffffffff
push ebx
mov edx, esi
push edx
lea ecx, [ebp - 0x19030]
mov byte [ebp - 4], 9
call fcn.00403170
cmp dword [ebp - 0x190c8], 8
mov eax, dword [ebp - 0x190dc]
jae 0x40ed0d
mov eax, esi
mov ecx, dword [ebp - 0x190c0]
mov edx, dword [ebp - 0x190e4]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x190f0], eax
cmp eax, ebx
jne 0x40edfc
cmp dword [ebp - 0x1901c], 8
jb 0x40ed4e
mov eax, dword [ebp - 0x19030]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
lea esi, [ebp - 0x190dc]
mov dword [ebp - 0x1901c], edi
mov dword [ebp - 0x19020], ebx
mov word [ebp - 0x19030], cx
call fcn.0040e360
cmp dword [ebp + 0x1c], 8
jb 0x40ed80
mov edx, dword [ebp + 8]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
jb 0x40ed9e
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], dx
jb 0x40edbc
mov eax, dword [ebp + 0x44]
push eax
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40ede4
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.004204e8
add esp, 4
lea esi, [ebp + 0x7c]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
call fcn.0040fcf0
xor al, al
jmp 0x40f69f
mov ecx, dword [ebp + 0x70]
sub ecx, dword [ebp + 0x6c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041cab1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x190e8], eax
cmp esi, ebx
jle 0x40ee8a
mov dword [ebp - 0x190e0], ebx
mov edi, dword [ebp + 0x70]
sub edi, dword [ebp + 0x6c]
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x40f000
mov eax, dword [ebp - 0x190e0]
add eax, dword [ebp + 0x6c]
cmp dword [eax + 0x14], 8
jb 0x40ee75
mov eax, dword [eax]
mov edx, dword [ebp - 0x190e8]
add dword [ebp - 0x190e0], 0x1c
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x40ee43
mov eax, dword [ebp - 0x190e8]
mov dword [eax + esi*4], ebx
mov edx, dword [ebp - 0x19030]
mov eax, 8
cmp dword [ebp - 0x1901c], eax
jae 0x40eeac
lea edx, [ebp - 0x19030]
mov ecx, dword [ebp - 0x190bc]
cmp dword [ebp - 0x190a8], eax
jae 0x40eec0
lea ecx, [ebp - 0x190bc]
cmp dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x28]
jae 0x40eecb
lea eax, [ebp + 0x28]
mov esi, dword [ebp - 0x190ec]
mov edi, dword [ebp - 0x190f0]
push esi
push 0x4000000
push ebx
push edx
push str.HTTP_1.0
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x190e0], eax
cmp eax, ebx
jne 0x40f00a
mov ecx, dword [ebp - 0x190e8]
push ecx
call fcn.00420b1b
add esp, 4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x1901c], 8
jb 0x40ef29
mov edx, dword [ebp - 0x19030]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
mov edi, 7
lea esi, [ebp - 0x190dc]
mov dword [ebp - 0x1901c], edi
mov dword [ebp - 0x19020], ebx
mov word [ebp - 0x19030], ax
call fcn.0040e360
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x40ef64
mov ecx, dword [ebp + 8]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], dx
cmp dword [ebp + 0x3c], esi
jb 0x40ef81
mov eax, dword [ebp + 0x28]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], cx
jb 0x40ef9f
mov edx, dword [ebp + 0x44]
push edx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40efc7
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov eax, dword [ebp + 0x6c]
push eax
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
cmp eax, ebx
je 0x40e80d
mov ecx, dword [ebp - 0x190f4]
mov ebx, dword [ebp + 0x80]
push ecx
call fcn.00411c90
mov edx, dword [ebp + 0x7c]
push edx
call fcn.004204e8
add esp, 8
xor al, al
jmp 0x40f69f
push str.invalid_vector_T__subscript
call fcn.0041c317
mov eax, dword [ebp + 0x80]
mov esi, dword [ebp + 0x7c]
mov dword [ebp - 0x190ec], eax
lea esp, [esp]
cmp esi, dword [ebp - 0x190ec]
je 0x40f1ca
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x1904c], cx
push esi
lea ecx, [ebp - 0x1904c]
mov dword [ebp - 0x19038], 7
mov dword [ebp - 0x1903c], ebx
call fcn.00402a70
push 2
push 0x456eb8
lea ecx, [ebp - 0x1904c]
mov byte [ebp - 4], 0xa
call fcn.00402950
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0x1c]
push edx
lea ecx, [ebp - 0x1904c]
call fcn.00403170
cmp dword [ebp - 0x19038], 8
mov eax, dword [ebp - 0x1904c]
jae 0x40f091
lea eax, [ebp - 0x1904c]
push 0xa0000000
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x190e0]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
je 0x40f0ce
mov byte [ebp - 4], 9
cmp dword [ebp - 0x19038], 8
jb 0x40f0c6
mov ecx, dword [ebp - 0x1904c]
push ecx
call fcn.004204e8
add esp, 4
add esi, 0x38
jmp 0x40f020
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x190e0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
push edi
call esi
cmp dword [ebp - 0x19038], 8
jb 0x40f0fe
mov eax, dword [ebp - 0x1904c]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x1901c], 8
mov edi, 7
mov dword [ebp - 0x19038], edi
mov dword [ebp - 0x1903c], ebx
mov word [ebp - 0x1904c], cx
jb 0x40f130
mov edx, dword [ebp - 0x19030]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
lea esi, [ebp - 0x190dc]
mov dword [ebp - 0x1901c], edi
mov dword [ebp - 0x19020], ebx
mov word [ebp - 0x19030], ax
call fcn.0040e360
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x40f166
mov ecx, dword [ebp + 8]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], dx
cmp dword [ebp + 0x3c], esi
jb 0x40f183
mov eax, dword [ebp + 0x28]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], cx
jb 0x40f1a1
mov edx, dword [ebp + 0x44]
push edx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40ede4
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov eax, dword [ebp + 0x6c]
push eax
jmp 0x40eddc
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp - 0x19100]
mov esi, dword [ebp - 0x190e0]
push ecx
push edx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
cmp eax, ebx
mov eax, dword [ebp - 0x190e8]
push eax
jne 0x40f3fa
call fcn.00420b1b
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40f2f9
cmp dword [ebp - 0x1901c], 8
jb 0x40f224
mov ecx, dword [ebp - 0x19030]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
mov edi, 7
lea esi, [ebp - 0x190dc]
mov dword [ebp - 0x1901c], edi
mov dword [ebp - 0x19020], ebx
mov word [ebp - 0x19030], dx
call fcn.0040e360
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x40f25f
mov eax, dword [ebp + 8]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], cx
cmp dword [ebp + 0x3c], esi
jb 0x40f27c
mov edx, dword [ebp + 0x28]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], ax
jb 0x40f29a
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40f2c2
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov edx, dword [ebp + 0x6c]
push edx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
cmp eax, ebx
je 0x40f69d
mov ecx, dword [ebp - 0x190f4]
mov ebx, dword [ebp + 0x80]
push ecx
call fcn.00411c90
mov edx, dword [ebp + 0x7c]
push edx
call fcn.004204e8
add esp, 8
jmp 0x40f69d
mov eax, dword [ebp - 0x190e0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
cmp dword [ebp - 0x1901c], 8
jb 0x40f323
mov ecx, dword [ebp - 0x19030]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
mov edi, 7
lea esi, [ebp - 0x190dc]
mov dword [ebp - 0x1901c], edi
mov dword [ebp - 0x19020], ebx
mov word [ebp - 0x19030], dx
call fcn.0040e360
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x40f35e
mov eax, dword [ebp + 8]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], cx
cmp dword [ebp + 0x3c], esi
jb 0x40f37b
mov edx, dword [ebp + 0x28]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], ax
jb 0x40f399
mov ecx, dword [ebp + 0x44]
push ecx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40f3c1
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov edx, dword [ebp + 0x6c]
push edx
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
cmp eax, ebx
je 0x40e80d
mov ecx, dword [ebp - 0x190f4]
mov ebx, dword [ebp + 0x80]
push ecx
call fcn.00411c90
mov edx, dword [ebp + 0x7c]
push edx
call fcn.004204e8
add esp, 8
xor al, al
jmp 0x40f69f
call fcn.00420b1b
push 0x18fff
lea ecx, [ebp - 0x19013]
push ebx
push ecx
mov byte [ebp - 0x19014], bl
call fcn.00422fb0
add esp, 0x10
lea edx, [ebp - 0x190f8]
push edx
push 0x19000
lea eax, [ebp - 0x19014]
push eax
push esi
mov dword [ebp - 0x190f8], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40f5a5
mov edi, 0xf
mov eax, dword [ebp - 0x190f8]
cmp eax, ebx
jbe 0x40f5a5
cmp dword [ebp + 0x58], 0x10
mov esi, dword [ebp + 0x44]
mov byte [ebp + eax - 0x19014], bl
jae 0x40f468
lea esi, [ebp + 0x44]
mov eax, esi
mov dword [ebp - 0x19054], edi
mov dword [ebp - 0x19058], ebx
mov byte [ebp - 0x19068], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f480
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x19068]
call fcn.00402e70
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x19014]
mov dword [ebp - 0x19038], edi
mov dword [ebp - 0x1903c], ebx
mov byte [ebp - 0x1904c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f4b5
sub eax, esi
push eax
lea ecx, [ebp - 0x19014]
push ecx
lea ecx, [ebp - 0x1904c]
call fcn.00402e70
lea edx, [ebp - 0x19068]
push edx
lea ecx, [ebp - 0x1904c]
lea esi, [ebp - 0x19084]
mov byte [ebp - 4], 0xc
call fcn.004185d0
add esp, 4
mov ecx, dword [ebp - 0x190fc]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0xd
call fcn.00403170
cmp dword [ebp - 0x19070], 8
jb 0x40f51b
mov eax, dword [ebp - 0x19084]
push eax
call fcn.004204e8
add esp, 4
xor ecx, ecx
mov esi, 0x10
mov dword [ebp - 0x19070], 7
mov dword [ebp - 0x19074], ebx
mov word [ebp - 0x19084], cx
cmp dword [ebp - 0x19038], esi
jb 0x40f550
mov edx, dword [ebp - 0x1904c]
push edx
call fcn.004204e8
add esp, 4
mov byte [ebp - 4], 9
mov dword [ebp - 0x19038], edi
mov dword [ebp - 0x1903c], ebx
mov byte [ebp - 0x1904c], bl
cmp dword [ebp - 0x19054], esi
jb 0x40f57d
mov eax, dword [ebp - 0x19068]
push eax
call fcn.004204e8
add esp, 4
mov eax, dword [ebp - 0x190e0]
lea ecx, [ebp - 0x190f8]
push ecx
push 0x19000
lea edx, [ebp - 0x19014]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x40f447
cmp dword [ebp - 0x1901c], 8
jb 0x40f5bd
mov ecx, dword [ebp - 0x19030]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
lea esi, [ebp - 0x190dc]
mov dword [ebp - 0x1901c], 7
mov dword [ebp - 0x19020], ebx
mov word [ebp - 0x19030], dx
call fcn.0040e360
mov eax, dword [ebp - 0x190e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x190f0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
cmp dword [ebp - 0x190e4], ebx
je 0x40f60e
mov ecx, dword [ebp - 0x190e4]
push ecx
call esi
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0x40f624
mov edx, dword [ebp + 8]
push edx
call fcn.004204e8
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
cmp dword [ebp + 0x3c], edi
jb 0x40f646
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.004204e8
add esp, 4
xor edx, edx
cmp dword [ebp + 0x58], 0x10
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], ebx
mov word [ebp + 0x28], dx
jb 0x40f664
mov eax, dword [ebp + 0x44]
push eax
call fcn.004204e8
add esp, 4
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], 0xf
mov dword [ebp + 0x54], ebx
mov byte [ebp + 0x44], bl
cmp eax, ebx
je 0x40f68c
mov edi, dword [ebp + 0x70]
call fcn.00407050
mov ecx, dword [ebp + 0x6c]
push ecx
call fcn.004204e8
add esp, 4
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
lea esi, [ebp + 0x7c]
call fcn.0040fcf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004204f3
mov esp, ebp
pop ebp
ret 0x84