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

Disassembly:
push 0x24
mov eax, 0x467463
call fcn.0043d25b
mov edi, ecx
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x10]
xor esi, esi
push esi
push eax
push esi
push esi
push 0x16
push dword [edi + 0x80]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
call ebx
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040f68b
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push esi
push 0x16
push dword [edi + 0x80]
call ebx
test eax, eax
jne 0x411615
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetResponseStatusCode_:__Error_in_WinHttpQueryHeaders______d
mov dword [ebp - 0x14], esi
call fcn.004064a1
pop ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x48607c
call fcn.004042c5
and dword [ebp - 4], 0
push ecx
mov ecx, esp
push str.GetResponseStatusCode
call fcn.004042c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov edx, esi
call fcn.004098c9
add esp, 4
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x479a58
call fcn.004042c5
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
push eax
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.WIN_ELEC_GETRESPONSESTATUSCODE
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push str.TRACK_FEATURE
call fcn.004042c5
mov byte [ebp - 4], 1
call fcn.00406f9d
add esp, 0x14
push dword [ebp - 0x14]
call fcn.0040f9b2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401696
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea esi, [edi + 8]
push esi
push 0
push 0x20000013
push dword [edi + 0x80]
call ebx
test eax, eax
jne 0x41171a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetResponseStatusCode_:_WinHttpQueryHeaders_failed_with_the_error_code_while_getting_http_status_code__d
mov dword [ebp - 0x14], esi
call fcn.004064a1
pop ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.WinHttpQueryHeaders_failed_with_the_error_code_while_getting_http_status_code
call fcn.004042c5
push ecx
mov ecx, esp
mov dword [ebp - 4], 6
push str.GetResponseStatusCode
call fcn.004042c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov edx, esi
call fcn.004098c9
add esp, 4
mov dword [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x479a58
call fcn.004042c5
push ecx
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
push eax
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.WIN_ELEC_GETRESPONSESTATUSCODE
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push str.TRACK_FEATURE
call fcn.004042c5
mov byte [ebp - 4], 7
call fcn.00406f9d
add esp, 0x14
push dword [ebp - 0x14]
call fcn.0040f9b2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401696
lea esi, [edi + 8]
push dword [esi]
push str.GetResponseStatusCode_:_Status_code_:__d
call fcn.004064a1
mov esi, dword [esi]
add esp, 4
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.Status_code
call fcn.004042c5
push ecx
mov ecx, esp
mov dword [ebp - 4], 0xc
push str.GetResponseStatusCode
call fcn.004042c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov edx, esi
call fcn.004098c9
add esp, 4
mov dword [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x479a58
call fcn.004042c5
push ecx
mov byte [ebp - 4], 0xf
mov esi, esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
push eax
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.WIN_ELEC_GETRESPONSESTATUSCODE
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x11
push str.TRACK_FEATURE
call fcn.004042c5
mov byte [ebp - 4], 0xd
call fcn.00406f9d
add esp, 0x14
cmp dword [edi + 8], 0xc8
jne 0x4119e0
xor ecx, ecx
lea eax, [ebp - 0x10]
push ecx
push eax
push ecx
push ecx
push 1
push dword [edi + 0x80]
mov dword [ebp - 0x10], ecx
call ebx
mov edx, dword [ebp - 0x10]
lea ecx, [edi + 0x5c]
call fcn.0040f68b
push 0
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x5c]
push 0
push 1
push dword [edi + 0x80]
call ebx
test eax, eax
jne 0x4118e6
mov esi, dword [ebp - 0x14]
push esi
push str.GetResponseStatusCode_:__Error_in_WinHttpQueryHeaders______d
call fcn.004064a1
pop ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.HTTP_STATUS_OK___WinHttpQueryHeaders
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x12
push str.GetResponseStatusCode
call fcn.004042c5
mov edx, esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
call fcn.004098c9
add esp, 4
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x479a58
call fcn.004042c5
push ecx
mov byte [ebp - 4], 0x15
mov esi, esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
push eax
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.WIN_ELEC_GETRESPONSESTATUSCODE
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x17
push str.TRACK_FEATURE
call fcn.004042c5
mov byte [ebp - 4], 0x13
call fcn.00406f9d
mov byte [ebp - 4], 0xd
add esp, 0x14
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401696
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [edi + 0x4c]
push eax
push 0
push 0x20000005
push dword [edi + 0x80]
call ebx
test eax, eax
jne 0x4119dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
push str.GetResponseStatusCode_:_WinHttpQueryHeaders_failed_with_the_error_code_while_getting_http_status_code__d
mov dword [ebp - 0x14], ebx
call fcn.004064a1
pop ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.HTTP_STATUS_OK___WinHttpQueryHeaders_failed_with_the_error_code_while_getting_http_status_code
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x18
push str.GetResponseStatusCode
call fcn.004042c5
mov edx, ebx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c]
call fcn.004098c9
add esp, 4
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x47ea50
call fcn.004042c5
push ecx
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x479a58
call fcn.004042c5
push ecx
mov byte [ebp - 4], 0x1b
mov esi, esp
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
push eax
call fcn.00404a80
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.WIN_ELEC_GETRESPONSESTATUSCODE
call fcn.004042c5
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x1d
push str.TRACK_FEATURE
call fcn.004042c5
mov byte [ebp - 4], 0x19
call fcn.00406f9d
add esp, 0x14
push ebx
call fcn.0040f9b2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00401696
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401696
mov eax, dword [ebp - 0x14]
call fcn.0043d229
ret