Function at 0x10041fb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004990a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10056024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
push 0x1004f438
mov ebx, 0x28
call fcn.10044ab0
mov eax, dword [edi + 4]
push 0x1004f434
push eax
mov edx, 0x1004f48c
call fcn.10043750
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.10045d70
add esp, 8
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], ebx
jb 0x1004202c
mov eax, dword [eax + 4]
jmp 0x1004202f
add eax, 4
push eax
mov eax, dword [edi + 4]
push eax
mov edx, 0x1004f490
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], ebx
jb 0x10042069
mov eax, dword [eax + 4]
jmp 0x1004206c
add eax, 4
push eax
mov eax, dword [edi + 4]
push eax
mov edx, 0x1004f498
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x30]
call fcn.10042530
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], ebx
jb 0x100420a1
mov eax, dword [eax + 4]
jmp 0x100420a4
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f4a0
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], ebx
jb 0x100420de
mov eax, dword [eax + 4]
jmp 0x100420e1
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f4dc
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], ebx
jb 0x1004211b
mov eax, dword [eax + 4]
jmp 0x1004211e
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f4fc
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], ebx
jb 0x10042158
mov eax, dword [eax + 4]
jmp 0x1004215b
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f504
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x20]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], ebx
jb 0x10042195
mov eax, dword [eax + 4]
jmp 0x10042198
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f50c
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], bl
cmp dword [eax + 0x18], ebx
jb 0x100421d1
mov eax, dword [eax + 4]
jmp 0x100421d4
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f514
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebp + 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 9
cmp dword [eax + 0x18], ebx
jb 0x1004220e
mov eax, dword [eax + 4]
jmp 0x10042211
add eax, 4
mov ecx, dword [edi + 4]
push eax
push ecx
mov edx, 0x1004f51c
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp + 0x2c]
lea esi, [ebp - 0x30]
call fcn.10042610
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], ebx
jb 0x10042246
mov eax, dword [eax + 4]
jmp 0x10042249
add eax, 4
mov edx, dword [edi + 4]
push eax
push edx
mov edx, 0x1004f4f4
call fcn.10043750
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [edi + 4]
lea eax, [ebp + 0xc]
push eax
call fcn.100438b0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x100422c1
push 0
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
push ecx
push 0x20000013
push eax
mov dword [ebp + 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x14], 0xc8
jne 0x100422c1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28