Function at 0x431a00
Capabilities:
Check http status code
Read http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548366
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0x20000013
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 4
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
mov ebx, eax
test esi, esi
jne 0x431b85
lea eax, [esp + 0xc4]
push eax
call fcn.0040a0e0
push ebx
push ecx
push str.._Last_win_error
push ecx
push 0x95
push ecx
push str._at_line
push ecx
push str._http_client.cpp_
push ecx
push str._at_file
push ecx
push str.WinHttpQueryHeaders___request.get____19_0x20000000__nullptr__status_code__size__nullptr__
push ecx
push str.._Failed_expression_
push ecx
lea ecx, [esp + 0x104]
push str.Failed_to_get_http_status_code
push ecx
mov dword [esp + 0x1f0], esi
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00409560
add esp, 4
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00409730
lea ecx, [esp + 0x17c]
lea eax, [esp + 0xc4]
call fcn.0040a180
mov ecx, eax
lea ebx, [esp + 0x160]
mov byte [esp + 0x1a8], 1
call fcn.004045b0
mov byte [esp + 0x1a8], 2
cmp dword [eax + 0x14], 0x10
jb 0x431b5c
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x431b60
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0049ce20
push 0x58c098
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], vtable.std::runtime_error.0
call fcn.004a60bb
cmp dword [esp + 0x18], 0xc8
sete bl
call edi
mov esi, eax
test bl, bl
jne 0x431ca8
lea edx, [esp + 0x2c]
push edx
call fcn.0040a0e0
push esi
push ecx
push str.._Last_win_error
push ecx
push 0x96
push ecx
push str._at_line
push ecx
push str._http_client.cpp_
push ecx
push str._at_file
push ecx
push str.status_code__200
push ecx
push str.._Failed_expression_
push ecx
mov dword [esp + 0x1e8], 3
mov eax, dword [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x74]
push str.Received_http_status_code
push ecx
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00409730
add esp, 4
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00409560
add esp, 4
push eax
call fcn.00415b80
add esp, 0xc
push eax
call fcn.00409730
lea ecx, [esp + 0x160]
lea eax, [esp + 0x2c]
call fcn.0040a180
mov ecx, eax
lea ebx, [esp + 0x17c]
mov byte [esp + 0x1a8], 4
call fcn.004045b0
mov byte [esp + 0x1a8], 5
cmp dword [eax + 0x14], 0x10
jb 0x431c7f
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x431c83
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0049ce20
push 0x58c098
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], vtable.std::runtime_error.0
call fcn.004a60bb
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret