Function at 0x42b740
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov esi, dword fs:[0x18]
sub esp, 0x4c
mov eax, dword [sym.imp.winhttp.dll_WinHttpOpen]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.winetest
mov dword [ebp - 0x38], eax
call eax
sub esp, 0x14
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfc6
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_session__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00410490
mov edx, dword [sym.imp.winhttp.dll_WinHttpConnect]
movzx eax, bx
mov dword [esp + 0xc], 0
mov dword [ebp - 0x28], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.localhost
mov dword [ebp - 0x30], edi
mov dword [esp], edi
mov dword [ebp - 0x2c], edx
call edx
sub esp, 0x10
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfc9
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_connection__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov eax, dword [sym.imp.winhttp.dll_WinHttpOpenRequest]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie
mov dword [esp + 4], 0
mov dword [ebp - 0x34], ebx
mov dword [esp], ebx
mov dword [ebp - 0x24], eax
call eax
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfcc
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov edx, dword [sym.imp.winhttp.dll_WinHttpSendRequest]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x18], edx
call edx
sub esp, 0x1c
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfcf
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_send_request__lu_n
call fcn.00410490
mov edi, dword [sym.imp.winhttp.dll_WinHttpReceiveResponse]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], edi
call edi
sub esp, 8
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfd2
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_receive_response__lu_n
call fcn.00410490
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [sym.imp.winhttp.dll_WinHttpQueryHeaders]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [ebp - 0x20], ecx
call ecx
sub esp, 0x18
mov edi, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfd7
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfd8
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
cmp eax, 0xc8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov edi, dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie2
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x34]
mov dword [esp], ebx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfdd
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x18]
call edx
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfe0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_send_request__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x1c]
call ecx
sub esp, 8
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfe3
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_receive_response__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov ecx, dword [ebp - 0x20]
call ecx
sub esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfe8
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
mov eax, 0xfe9
call fcn.0040fbc0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
cmp eax, 0xc8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
call edi
mov ebx, dword [ebp - 0x34]
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0xc], 0
mov ebx, dword [ebp - 0x28]
mov dword [esp + 4], str.localhost
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x30]
mov dword [esp], ebx
mov ebx, dword [ebp - 0x2c]
call ebx
sub esp, 0x10
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xfef
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_connection__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie2
mov dword [esp + 4], 0
mov dword [ebp - 0x34], ebx
mov dword [esp], ebx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xff2
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x18]
call edx
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xff5
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_send_request__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x1c]
call ecx
sub esp, 8
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xff8
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_receive_response__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov ecx, dword [ebp - 0x20]
call ecx
sub esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xffd
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0xffe
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
cmp eax, 0xc8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie3
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x34]
mov dword [esp], ebx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1003
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], str.Cookie:_namevalue2_r_n
mov dword [esp], ebx
mov edx, dword [ebp - 0x18]
call edx
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1005
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_send_request__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
mov dword [esp + 4], 0
mov dword [esp], ebx
mov ecx, dword [ebp - 0x1c]
call ecx
sub esp, 8
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1008
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_receive_response__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], ebx
mov ecx, dword [ebp - 0x20]
call ecx
sub esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x100d
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], 0x100e
mov eax, 1
cmp edx, 0xc8
je 0x42bf99
mov ecx, dword [0x4720d0]
test ecx, ecx
sete cl
xor eax, eax
cmp edx, 0x190
sete al
and eax, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
mov dword [esp], eax
mov esi, dword fs:[0x18]
call fcn.00410490
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x34]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.winetest
mov eax, dword [ebp - 0x38]
call eax
sub esp, 0x14
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1015
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_session__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0x28]
mov dword [esp + 4], str.localhost
mov dword [esp + 8], edx
mov dword [ebp - 0x30], ebx
mov dword [esp], ebx
mov ecx, dword [ebp - 0x2c]
call ecx
sub esp, 0x10
mov ebx, eax
call fcn.00431c30
test ebx, ebx
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1018
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_connection__lu_n
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie2
mov dword [esp + 4], 0
mov dword [ebp - 0x34], ebx
mov dword [esp], ebx
mov edx, dword [ebp - 0x24]
call edx
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x101b
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x101e
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_send_request__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 8
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1021
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_receive_response__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov edx, dword [ebp - 0x20]
call edx
sub esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1026
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], ecx
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1027
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
cmp eax, 0x190
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x34]
sub esp, 4
mov dword [esp], eax
call edi
mov ebx, dword [ebp - 0x30]
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.winetest
mov ebx, dword [ebp - 0x38]
call ebx
sub esp, 0x14
mov ebx, eax
mov dword [ebp - 0x30], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x102e
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_session__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], str.localhost
mov dword [esp + 8], eax
mov dword [esp], ebx
mov ebx, dword [ebp - 0x2c]
call ebx
sub esp, 0x10
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1031
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_connection__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie4
mov dword [esp + 4], 0
mov dword [ebp - 0x28], ebx
mov dword [esp], ebx
mov edx, dword [ebp - 0x24]
call edx
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1034
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x1c
mov dword [ebp - 0x2c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1037
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_send_request__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp], ecx
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 8
mov dword [ebp - 0x2c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x103a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_receive_response__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp], ecx
call fcn.00410490
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov edx, dword [ebp - 0x20]
call edx
sub esp, 0x18
mov dword [ebp - 0x2c], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x103f
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp], ecx
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1040
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
cmp eax, 0xc8
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str._cookie5
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x28]
mov dword [esp], ebx
mov edx, dword [ebp - 0x24]
call edx
sub esp, 0x1c
mov ebx, eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1044
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov ecx, dword [ebp - 0x18]
call ecx
sub esp, 0x1c
mov dword [ebp - 0x18], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x1047
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_send_request__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call fcn.00410490
mov dword [esp + 4], 0
mov dword [esp], ebx
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 8
mov dword [ebp - 0x18], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x104a
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_receive_response__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call fcn.00410490
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0xdeadbeef
mov dword [ebp - 0x10], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20000013
mov dword [esp], ebx
mov edx, dword [ebp - 0x20]
call edx
sub esp, 0x18
mov dword [ebp - 0x18], eax
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x104f
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_query_status_code__lu_n
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x18]
mov dword [esp], ecx
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], 0x1050
mov eax, 1
cmp edx, 0xc8
je 0x42c6a8
mov eax, dword [0x4720d0]
test eax, eax
sete cl
xor eax, eax
cmp edx, 0x190
sete al
and eax, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str.request_failed_unexpectedly__lu_n
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret