Function at 0x413e50
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 0x44971d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2734
call fcn.004213b0
mov eax, dword [0x4668f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x26c8], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x26ec], ecx
mov ecx, dword [ebp + 0x28]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2724], ecx
mov dword [ebp - 0x26f4], eax
mov eax, dword [ebp + 0x20]
mov edi, str.127.0.0.1
mov ecx, 0xa
xor ebx, ebx
mov dword [ebp - 0x26d8], esi
repe cmpsb byte [esi], byte es:[edi]
mov dword [ebp - 0x26c4], eax
mov dword [ebp - 0x26d4], edx
mov dword [ebp - 4], 0
jne 0x413f19
mov edx, dword [0x467980]
push str.Skip_127.0.0.1
push 0x266
push str..HLib.cpp
push ebx
push str.HR::DoRequest
push edx
call fcn.0040ebc0
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004205fd
mov esp, ebp
pop ebp
ret 0x24
xor esi, esi
cmp edx, esi
jne 0x413f24
mov edx, 0x44c409
cmp eax, esi
mov ecx, 0x44c409
je 0x413f2f
mov ecx, eax
mov al, byte [ebp + 0x14]
test al, al
mov eax, 0x44e408
jne 0x413f40
mov eax, 0x44e404
push edx
mov edx, dword [ebp + 0x10]
push ecx
movsx ecx, byte [ebp + 0x1c]
push ecx
push eax
mov eax, dword [ebp - 0x26d8]
push edx
push eax
lea ecx, [ebp - 0x1694]
push str._s_t_d_t_s_t_c_t_s_t_s
push ecx
call fcn.004217f1
add esp, 0x20
mov dword [ebp - 0x26bc], esi
mov dword [ebp - 0x26b8], esi
mov dword [ebp - 0x26b4], esi
push 1
mov ebx, 0xf
push 0x44c3d0
lea ecx, [ebp - 0x2714]
mov byte [ebp - 4], 1
mov dword [ebp - 0x26fc], ebx
mov dword [ebp - 0x2700], esi
mov byte [ebp - 0x2710], 0
call fcn.004014a5
mov eax, 0x46e5a0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2698], ebx
mov dword [ebp - 0x269c], esi
mov byte [ebp - 0x26ac], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413fc6
sub eax, edx
push eax
push 0x46e5a0
lea ecx, [ebp - 0x26b0]
call fcn.004014a5
lea edx, [ebp - 0x26c0]
push edx
lea eax, [ebp - 0x2714]
push eax
lea ecx, [ebp - 0x26b0]
push ecx
mov byte [ebp - 4], 3
call fcn.0040cc30
mov eax, dword [ebp - 0x2698]
mov edi, 0x10
add esp, 0xc
cmp eax, edi
jb 0x41401f
mov edx, dword [ebp - 0x26ac]
push edx
call fcn.0043beef
add esp, 4
cmp dword [ebp - 0x26fc], edi
mov dword [ebp - 0x2698], ebx
mov dword [ebp - 0x269c], esi
mov byte [ebp - 0x26ac], 0
mov byte [ebp - 4], 1
jb 0x41404d
mov eax, dword [ebp - 0x2710]
push eax
call fcn.0043beef
add esp, 4
xor edi, edi
mov eax, dword [ebp - 0x26bc]
cmp eax, esi
mov dword [ebp - 0x26d0], edi
je 0x41444e
mov ecx, dword [ebp - 0x26b8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41444e
mov dword [ebp - 0x26e4], esi
mov dword [ebp - 0x26e0], esi
mov dword [ebp - 0x26dc], esi
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x26b0]
push edx
mov byte [ebp - 4], 4
call fcn.0040a960
add esp, 8
push 1
push 0x44f09c
lea ecx, [ebp - 0x2714]
mov byte [ebp - 4], 5
mov dword [ebp - 0x26fc], ebx
mov dword [ebp - 0x2700], esi
mov byte [ebp - 0x2710], 0
call fcn.004014a5
mov eax, dword [ebp - 0x26bc]
mov edx, edi
imul edx, edx, 0x1c
cmp dword [edx + eax + 0x18], 0x10
mov byte [ebp - 4], 6
mov dword [ebp - 0x26cc], edx
jb 0x4140fa
mov edx, dword [edx + eax + 4]
jmp 0x4140fe
lea edx, [edx + eax + 4]
mov eax, edx
mov dword [ebp - 0x272c], ebx
mov dword [ebp - 0x2730], 0
mov byte [ebp - 0x2740], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414120
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2744]
call fcn.004014a5
lea eax, [ebp - 0x26e8]
push eax
lea ecx, [ebp - 0x2714]
push ecx
lea edx, [ebp - 0x2744]
push edx
mov byte [ebp - 4], 7
call fcn.0040cc30
mov eax, dword [ebp - 0x272c]
mov esi, 0x10
add esp, 0xc
cmp eax, esi
jb 0x414175
mov eax, dword [ebp - 0x2740]
push eax
call fcn.0043beef
add esp, 4
cmp dword [ebp - 0x26fc], esi
mov dword [ebp - 0x272c], ebx
mov dword [ebp - 0x2730], 0
mov byte [ebp - 0x2740], 0
mov byte [ebp - 4], 5
jb 0x4141a7
mov ecx, dword [ebp - 0x2710]
push ecx
call fcn.0043beef
add esp, 4
mov esi, dword [ebp - 0x26e4]
test esi, esi
mov dword [ebp - 0x26fc], ebx
mov dword [ebp - 0x2700], 0
mov byte [ebp - 0x2710], 0
je 0x4143ce
mov ecx, dword [ebp - 0x26e0]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
jne 0x4143ce
mov esi, dword [ebp - 0x26d8]
mov byte [ebp - 0x294], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [ebp - 0x293]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x294]
stosw word es:[edi], ax
push edx
push esi
stosb byte es:[edi], al
call fcn.0040c290
mov edi, dword [ebp - 0x26e4]
mov edx, dword [edi + 0x18]
add esp, 8
add edi, 4
cmp edx, 0x10
jb 0x414234
mov eax, dword [edi]
jmp 0x414236
mov eax, edi
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41425a
test cl, cl
je 0x414256
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41425a
add eax, 2
add esi, 2
test cl, cl
jne 0x414236
xor eax, eax
jmp 0x41425f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4142a9
cmp edx, 0x10
jb 0x41426c
mov eax, dword [edi]
jmp 0x41426e
mov eax, edi
lea esi, [ebp - 0x294]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41429c
test cl, cl
je 0x414298
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41429c
add eax, 2
add esi, 2
test cl, cl
jne 0x414274
xor eax, eax
jmp 0x4142a1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4143bd
mov eax, dword [ebp - 0x26bc]
mov ecx, dword [ebp - 0x26cc]
add ecx, eax
lea eax, [ebp - 0x1694]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4142c0
sub eax, esi
push eax
lea edx, [ebp - 0x1694]
push edx
call fcn.004014a5
cmp dword [ebp - 0x2698], 0x10
jb 0x4142ee
mov eax, dword [ebp - 0x26ac]
push eax
call fcn.0043beef
add esp, 4
mov eax, dword [ebp - 0x26e4]
test eax, eax
mov dword [ebp - 0x2698], 0xf
mov dword [ebp - 0x269c], 0
mov byte [ebp - 0x26ac], 0
mov byte [ebp - 4], 1
je 0x414341
mov ecx, dword [ebp - 0x26f0]
push ecx
mov ecx, dword [ebp - 0x26e0]
lea edx, [ebp - 0x26e8]
push edx
push ecx
push eax
call fcn.0040a720
mov edx, dword [ebp - 0x26e4]
push edx
call fcn.0043beef
add esp, 0x14
mov byte [0x46e5a0], 0
xor ebx, ebx
lea ebx, [ebx]
mov esi, dword [ebp - 0x26bc]
test esi, esi
je 0x4144a8
mov ecx, dword [ebp - 0x26b8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4144a8
mov al, byte [0x46e5a0]
test al, al
je 0x4143a1
mov edi, 0x46e5a0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414390
mov ax, word [0x44c3d0]
mov word [edi], ax
mov eax, ebx
imul eax, eax, 0x1c
mov ecx, dword [eax + esi + 0x18]
add eax, esi
cmp ecx, 0x10
jb 0x414580
mov eax, dword [eax + 4]
jmp 0x414583
mov esi, dword [ebp - 0x26e4]
mov edi, dword [ebp - 0x26d0]
mov ebx, 0xf
cmp dword [ebp - 0x2698], 0x10
jb 0x4143ec
mov eax, dword [ebp - 0x26ac]
push eax
call fcn.0043beef
mov esi, dword [ebp - 0x26e4]
add esp, 4
xor eax, eax
cmp esi, eax
mov dword [ebp - 0x2698], ebx
mov dword [ebp - 0x269c], eax
mov byte [ebp - 0x26ac], al
mov byte [ebp - 4], 1
je 0x414434
mov ecx, dword [ebp - 0x26f0]
mov eax, dword [ebp - 0x26e0]
push ecx
lea edx, [ebp - 0x26e8]
push edx
push eax
push esi
call fcn.0040a720
mov ecx, dword [ebp - 0x26e4]
push ecx
call fcn.0043beef
add esp, 0x14
xor eax, eax
inc edi
mov dword [ebp - 0x26e4], eax
mov dword [ebp - 0x26e0], eax
mov dword [ebp - 0x26dc], eax
xor esi, esi
jmp 0x41404f
mov al, 1
test al, al
je 0x414341
mov al, byte [0x46e5a0]
test al, al
je 0x414479
mov edi, 0x46e5a0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414467
mov dx, word [0x44c3d0]
mov word [edi], dx
lea eax, [ebp - 0x1694]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414481
mov edi, 0x46e5a0
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414490
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x26f4]
lea ecx, [ebp - 0x694]
push ecx
push edx
call fcn.00405ec0
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
add esp, 8
push 4
lea eax, [ebp - 0x26f8]
push eax
push 0x49
push 0
mov dword [ebp - 0x26f8], 0xa
call ebx
push 4
lea ecx, [ebp - 0x26f8]
push ecx
push 0x4a
push 0
call ebx
mov edi, dword [ebp - 0x26d4]
movsx eax, byte [ebp + 0x1c]
mov esi, dword [ebp - 0x26c4]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x694]
push edx
mov edx, dword [ebp - 0x26d8]
push edi
push esi
push eax
mov eax, dword [0x467980]
push ecx
push edx
push str.Begin_HR::DoRequest____sIP___s__iPort___d__cPType_c__sByPass_s__sPAddress_s__URL_s
push 0x2aa
push str..HLib.cpp
push 0
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov cl, byte [ebp + 0x1c]
add esp, 0x30
test esi, esi
mov byte [0x465863], cl
je 0x41455a
mov ecx, esi
mov edx, 0x46c5a0
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x414550
test edi, edi
je 0x41456f
mov ecx, edi
mov edx, 0x46d5a0
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x414565
mov al, byte [ebp + 0x1c]
cmp al, 0x44
push 0
jne 0x4145b2
push 0
push 0
push 1
jmp 0x4145c2
add eax, 4
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414585
mov edi, 0x46e5a0
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x414594
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebx
jmp 0x414350
cmp al, 0x4c
jne 0x4145be
push 0
push 0
push 0
jmp 0x4145c2
push esi
push edi
push 3
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov esi, dword [ebp - 0x26c8]
mov dword [esi + 0x14], eax
je 0x414eaf
push 4
lea edx, [ebp - 0x26c4]
push edx
push 2
push eax
mov dword [ebp - 0x26c4], 0x186a0
call ebx
test eax, eax
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
jne 0x414641
call edi
mov esi, eax
push esi
call fcn.0040f290
mov ecx, dword [0x467980]
add esp, 4
push eax
mov eax, dword [ebp - 0x26c4]
push esi
push eax
push str.Conn_lTimeout_d__error_code:__d__error:__s
push 0x2d1
push str..HLib.cpp
push 3
push str.HR::DoRequest
push ecx
call fcn.0040ebc0
mov esi, dword [ebp - 0x26c8]
add esp, 0x24
mov eax, dword [esi + 0x14]
push 4
lea edx, [ebp - 0x26c4]
push edx
push 6
push eax
call ebx
test eax, eax
jne 0x414697
call edi
mov esi, eax
push esi
call fcn.0040f290
mov ecx, dword [ebp - 0x26c4]
mov edx, dword [0x467980]
add esp, 4
push eax
push esi
push ecx
push str.Recv_lTimeout_d__error_code:__d__error:__s
push 0x2d7
push str..HLib.cpp
push 3
push str.HR::DoRequest
push edx
call fcn.0040ebc0
mov esi, dword [ebp - 0x26c8]
add esp, 0x24
mov ecx, dword [esi + 0x14]
push 4
lea eax, [ebp - 0x26c4]
push eax
push 5
push ecx
call ebx
test eax, eax
jne 0x4146ec
call edi
mov esi, eax
push esi
call fcn.0040f290
mov edx, dword [ebp - 0x26c4]
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push edx
push str.Send_lTimeout_d__error_code:__d__error:__s
push 0x2dd
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26c8]
add esp, 0x24
mov ebx, dword [ebp - 0x26f4]
lea ecx, [ebp - 0x26cc]
push ecx
call fcn.004221ed
push 0x3f
push ebx
call fcn.00422240
add esp, 0xc
test eax, eax
je 0x414723
mov edx, dword [ebp - 0x26cc]
push edx
push ebx
push str._srdm_ld
lea eax, [ebp - 0x2694]
push eax
jmp 0x414737
mov ecx, dword [ebp - 0x26cc]
push ecx
push ebx
push str._s_rdm_ld
lea edx, [ebp - 0x2694]
push edx
call fcn.004217f1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x26d8]
mov edx, dword [esi + 0x14]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 0xc], eax
jne 0x4147de
call edi
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.failed_to_connect._error_code:__d__error:__s
push 0x2ef
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
mov ebx, 0xf
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x4147cb
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x4147b1
mov cl, byte [ebp + 0x14]
mov edx, dword [ebp - 0x26ec]
test cl, cl
push 0
lea ecx, [ebp - 0x2694]
je 0x4147fa
push 0x4c00000
jmp 0x4147fc
push 0
push 0
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x41488f
call edi
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.failed_to_open_r:_error_code:__d__error:__s
push 0x30b
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
mov ebx, 0xf
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x41487c
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414862
mov ebx, dword [ebp - 0x26c8]
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x2728]
push eax
lea ecx, [ebp - 0x26d4]
push ecx
push 0x1f
push edx
mov dword [ebp - 0x2728], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
mov edi, dword [ebp - 0x26d4]
mov ecx, dword [ebx + 0x10]
push 4
lea eax, [ebp - 0x26d4]
push eax
push 0x1f
or edi, 0x3380
push ecx
mov dword [ebp - 0x26d4], edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x26ec]
mov edi, str.POST
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x414940
mov edi, dword [ebp - 0x2724]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414913
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x94]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414927
mov ecx, dword [ebx + 0x10]
push edx
push edi
sub eax, esi
push eax
lea eax, [ebp - 0x94]
push eax
push ecx
jmp 0x41494c
mov edx, dword [ebx + 0x10]
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4149d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.HSR_failed._error_code:__d__error:__s
push 0x339
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
xor ebx, ebx
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x4149c1
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x4149a7
mov edx, dword [ebx + 0x10]
push 0
lea eax, [ebp - 0x26d0]
push eax
lea ecx, [ebp - 0x26f0]
push ecx
push 0x20000013
push edx
mov dword [ebp - 0x26d0], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x414a7f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.HQ___failed_error_code:__d__error:__s
push 0x343
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
xor ebx, ebx
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x414a6c
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414a52
mov eax, dword [ebp - 0x26f0]
cmp eax, 0x191
je 0x414a97
cmp eax, 0x197
jne 0x414b1e
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ecx]
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x26d0]
push eax
push 0x32
lea ecx, [ebp - 0x494]
push ecx
push edx
call esi
mov eax, dword [ebp - 0x26d0]
test eax, eax
jne 0x414aa0
mov eax, dword [ebx + 0x10]
push 0
push 7
push 0x2eee
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x414b1e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
mov ecx, dword [0x467980]
add esp, 4
push eax
push esi
push str.HSR_resend____ERROR_INTERNET_FORCE_RETRY_failed_error_code:__d__error:__s
push 0x35d
push str..HLib.cpp
push 3
push str.HR::DoRequest
push ecx
call fcn.0040ebc0
add esp, 0x20
jmp 0x414895
mov al, byte [ebx + 1]
test al, al
mov eax, 0x44e408
jne 0x414b2f
mov eax, 0x44e404
mov edx, dword [ebx + 8]
push eax
mov eax, dword [0x467980]
push edx
push str.HR::DoRequest_succeeded__m_iExpectedReceiveSize___d__m_bUseMinReadBuffer___s
push 0x36a
push str..HLib.cpp
push 0
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov eax, dword [ebx + 0x1c]
add esp, 0x20
test eax, eax
je 0x414e5a
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 0x20]
mov ecx, edx
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [ebx + 1]
test al, al
mov ecx, dword [ebx + 0x20]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x2720], 0x28
mov dword [ebp - 0x270c], ecx
mov dword [ebp - 0x2708], edx
mov byte [ebp - 4], 8
je 0x414cc0
test edi, edi
jle 0x414cc0
mov edi, edi
test edi, edi
jle 0x414cb1
mov esi, 0x3800
cmp edi, esi
mov dword [ebp - 0x26cc], 0
jge 0x414bcd
mov esi, edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x26cc]
push edx
mov edx, dword [ebx + 0x20]
push esi
add eax, edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x414c34
mov eax, dword [ebp - 0x26cc]
test eax, eax
je 0x414c34
mov edx, dword [ebx + 4]
add edx, eax
sub edi, eax
mov dword [ebx + 4], edx
mov al, byte [0x46f5a4]
test al, al
jns 0x414bb0
mov edx, dword [0x467980]
push esi
push str.InternetReadFile___iSizeToRead___d
push 0x389
push str..HLib.cpp
push 3
push str.HR::DoRequest
push edx
call fcn.0040ebc0
add esp, 0x1c
jmp 0x414bb0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.IRE___error_code:__d__error:__s
push 0x38e
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
mov ebx, 0xf
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x414c9e
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414c84
push str.HR::DoRequest_succeeded__Read1_Completed_
push 0x393
jmp 0x414d67
mov edx, dword [ebx + 0x10]
push 0
push 4
lea ecx, [ebp - 0x2720]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
jne 0x414d5d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.IRE___error_code:__d__error:__s
push 0x39b
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
mov ebx, 0xf
lea ecx, [ecx]
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x414d4a
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414d30
push str.HR::DoRequest_succeeded__Read2_Completed_
push 0x39f
mov eax, dword [0x467980]
push str..HLib.cpp
push 0
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov eax, dword [ebx + 0x1c]
mov cl, byte [eax]
add esp, 0x18
test cl, cl
je 0x414e5a
mov ecx, dword [ebx + 0x20]
push eax
push ecx
call fcn.00422370
add esp, 8
test eax, eax
jne 0x414e5a
mov edx, dword [ebx + 0x20]
push edx
push str.Invalid_page_returned:__s
push 0x3a4
push str..HLib.cpp
push eax
mov eax, dword [0x467980]
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x1c
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
xor ebx, ebx
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x414dfa
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414de0
mov esi, dword [ebp - 0x26bc]
test esi, esi
je 0x414ea8
mov edi, dword [ebp - 0x26b8]
xor ebx, ebx
lea esp, [esp]
cmp esi, edi
je 0x414e99
cmp dword [esi + 0x18], 0x10
jb 0x414e86
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414e70
mov edx, dword [ebp - 0x26bc]
push edx
call fcn.0043beef
add esp, 4
mov al, 1
jmp 0x413efc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0040f290
add esp, 4
push eax
mov eax, dword [0x467980]
push esi
push str.I_Open_failed_error_code:__d__error:__s
push 0x366
push str..HLib.cpp
push 3
push str.HR::DoRequest
push eax
call fcn.0040ebc0
mov esi, dword [ebp - 0x26bc]
add esp, 0x20
test esi, esi
je 0x413efa
mov edi, dword [ebp - 0x26b8]
mov ebx, 0xf
nop
cmp esi, edi
je 0x414f29
cmp dword [esi + 0x18], 0x10
jb 0x414f16
mov ecx, dword [esi + 4]
push ecx
call fcn.0043beef
add esp, 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
add esi, 0x1c
jmp 0x414f00
mov edx, dword [ebp - 0x26bc]
push edx
call fcn.0043beef
add esp, 4
jmp 0x413efa