Function at 0x57d1c0
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x74a8b4
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x8bb040]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp + 4], ebx
mov al, 1
xchg byte [ebx], al
push ecx
lea ecx, [ebp - 0x154]
call fcn.00482850
mov edx, str.agentStella_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x154]
lea esi, [ebx + 0x4c]
call fcn.004853b0
mov edx, str.ver
mov ecx, eax
call fcn.004853b0
mov edx, str.7.0_pre
mov ecx, eax
call fcn.004853b0
mov edx, 0x81eb98
mov ecx, eax
call fcn.004853b0
mov edx, 0x81eb9c
mov ecx, eax
call fcn.004853b0
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x57d25d
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0048b260
add esp, 4
lea esi, [ebx + 0x34]
mov edx, 0x81eb98
mov ecx, eax
call fcn.004853b0
mov edx, str.nick
mov ecx, eax
call fcn.004853b0
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x57d290
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0048b260
xor eax, eax
mov dword [ebp + 0x6c], 0xf
mov dword [ebp + 0x58], eax
add esp, 4
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov byte [ebp + 0x58], al
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], 0xf
mov byte [ebp + 0x40], al
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x40]
add ebx, 4
push eax
push ebx
lea ecx, [ebp]
mov dword [ebp + 0xc], ebx
call fcn.0057ce10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x54]
cmp ecx, 0xf
jbe 0x57d324
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57d31a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57d5c0
push ecx
push edx
call fcn.00732c0f
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x6c]
cmp ecx, 0xf
jbe 0x57d35c
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57d352
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57d5c0
push ecx
push edx
call fcn.00732c0f
add esp, 8
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x150]
call fcn.00483110
xor eax, eax
mov dword [ebp + 0x20], 0xc
mov dword [ebp + 0x1c], eax
mov eax, dword [str.PlusROM_Info]
mov dword [ebp + 0x10], eax
mov eax, dword [0x81ec94]
mov dword [ebp + 0x14], eax
mov eax, dword [0x81ec98]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x24], 0xf
mov byte [ebp + 0x1c], 0
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0xf
mov byte [ebp + 0x40], 0
mov byte [ebp - 4], 5
lea esi, [ebp + 0x10]
push 0x40
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0073298e
mov edi, eax
add esp, 4
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [edi + 8], edi
mov word [edi + 0xc], 0x101
mov dword [ebp - 0x14], edi
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 6
cmp esi, eax
je 0x57d427
mov ebx, eax
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.005833d0
add esi, 0x30
cmp esi, ebx
jne 0x57d413
mov ebx, dword [ebp + 0xc]
push fcn.00489d90
push 1
push 0x30
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 8
push eax
call fcn.00732f26
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 9
call fcn.00481520
push dword [ebp]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0xbb8
mov dword [ebp + 0xc], 0
call fcn.00584930
push dword [ebp]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0xbb8
mov dword [ebp + 0xc], 0
call fcn.005849a0
push dword [ebp]
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0xbb8
mov dword [ebp + 0xc], 0
call fcn.00584a10
xor eax, eax
mov dword [ebp + 0xc], 0x1f
add esp, 0xc
mov dword [ebp + 0x5c], eax
lea edx, [ebp + 0xc]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
call fcn.00481700
mov ecx, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp + 0x6c], ecx
mov ecx, dword [str.application_octet_stream]
mov dword [ebp + 0x58], edx
mov dword [edx], ecx
mov ecx, dword [0x81eca4]
mov dword [edx + 4], ecx
mov eax, dword [0x81eca8]
mov dword [edx + 8], eax
mov eax, dword [0x81ecac]
mov dword [edx + 0xc], eax
mov eax, dword [0x81ecb0]
mov dword [edx + 0x10], eax
mov eax, dword [0x81ecb4]
mov dword [edx + 0x14], eax
mov dword [ebp + 0x68], 0x18
mov byte [edx + 0x18], 0
mov edi, dword [ebp + 4]
xor eax, eax
mov ecx, dword [ebp]
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
movzx esi, byte [edi + 0x164]
lea edx, [edi + 0x64]
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], 4
mov dword [ebp + 0x54], 0xf
mov dword [ebp + 0x40], 0x54534f50
mov byte [ebp + 0x44], al
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 0xb
push eax
sub esp, 0x28
mov eax, esp
sub esp, 0x28
add edi, 0x1c
mov dword [eax + 0x24], 0
mov eax, esp
push esi
push edx
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0057c210
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0x54]
cmp ecx, 0xf
jbe 0x57d596
mov edx, dword [ebp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57d58c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57d5c0
push ecx
push edx
call fcn.00732c0f
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x6c]
cmp ecx, 0xf
jbe 0x57d5d0
mov edx, dword [ebp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x57d5c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x57d5c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00732c0f
add esp, 8
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x57d6a8
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00482850
mov edx, str.PlusCart:_request_to
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbc]
call fcn.004853b0
cmp dword [ebx + 0x14], 0xf
mov ecx, dword [ebx + 0x10]
jbe 0x57d606
mov ebx, dword [ebx]
push ecx
mov edx, ebx
mov ecx, eax
call fcn.0048b260
add esp, 4
mov edx, 0x7764e4
mov ecx, eax
call fcn.004853b0
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x57d62a
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0048b260
add esp, 4
mov edx, str.:_failed
mov ecx, eax
call fcn.004853b0
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00483110
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x58]
cmp dword [ebp + 0x6c], 0xf
push dword [ebp + 0x68]
cmova eax, dword [ebp + 0x58]
push eax
call fcn.004b4890
add esp, 8
lea ecx, [ebp + 0x58]
call fcn.00481520
mov esi, dword [ebp + 4]
mov al, 3
xchg byte [esi], al
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], 0x775a90
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc0], eax
jmp 0x57d8a3
cmp dword [edx + 0x18], 0xc8
je 0x57d790
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00482850
mov edx, str.PlusCart:_request_to
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xbc]
call fcn.004853b0
cmp dword [ebx + 0x14], 0xf
mov ecx, dword [ebx + 0x10]
jbe 0x57d6e0
mov ebx, dword [ebx]
push ecx
mov edx, ebx
mov ecx, eax
call fcn.0048b260
add esp, 4
mov edx, 0x7764e4
mov ecx, eax
call fcn.004853b0
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x57d704
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0048b260
add esp, 4
mov edx, str.:_failed_with_HTTP_status
mov ecx, eax
call fcn.004853b0
mov ecx, dword [ebp - 0x24]
push dword [ecx + 0x18]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00483110
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x58]
cmp dword [ebp + 0x6c], 0xf
push dword [ebp + 0x68]
cmova eax, dword [ebp + 0x58]
push eax
call fcn.004b4890
add esp, 8
lea ecx, [ebp + 0x58]
call fcn.00481520
mov esi, dword [ebp + 4]
mov al, 3
xchg byte [esi], al
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], 0x775a90
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc0], eax
jmp 0x57d8a3
mov ecx, dword [edx + 0x4c]
test ecx, ecx
je 0x57d7d5
mov edi, dword [edx + 0x50]
add edx, 0x3c
mov eax, edx
cmp edi, 0xf
jbe 0x57d7a6
mov eax, dword [edx]
movzx eax, byte [eax]
dec ecx
cmp eax, ecx
jne 0x57d7d5
mov esi, dword [ebp + 4]
lea ecx, [esi + 0x168]
cmp ecx, edx
je 0x57d7cc
mov eax, dword [edx + 0x10]
cmp edi, 0xf
jbe 0x57d7c5
mov edx, dword [edx]
push eax
push edx
call fcn.004833e0
mov al, 2
xchg byte [esi], al
jmp 0x57d8d9
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00482850
mov ebx, dword [ebp + 4]
lea ecx, [ebp - 0xbc]
mov edx, str.PlusCart:_request_to
mov byte [ebp - 4], 0x12
lea edi, [ebx + 0x1c]
lea esi, [ebx + 4]
call fcn.004853b0
cmp dword [esi + 0x14], 0xf
mov ecx, dword [esi + 0x10]
jbe 0x57d809
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.0048b260
add esp, 4
mov edx, 0x7764e4
mov ecx, eax
call fcn.004853b0
cmp dword [edi + 0x14], 0xf
mov ecx, dword [edi + 0x10]
jbe 0x57d82d
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0048b260
add esp, 4
mov edx, str.:_invalid_response
mov ecx, eax
call fcn.004853b0
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00483110
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x58]
cmp dword [ebp + 0x6c], 0xf
push dword [ebp + 0x68]
cmova eax, dword [ebp + 0x58]
push eax
call fcn.004b4890
add esp, 8
lea ecx, [ebp + 0x58]
call fcn.00481520
mov al, 3
xchg byte [ebx], al
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], 0x775a90
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x775aac
call fcn.00483030
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.0049ad10
push 0x40
push dword [ebp - 0x1c]
call fcn.00732c0f
mov esi, dword [ebp - 0x24]
add esp, 8
test esi, esi
je 0x57d913
mov ecx, esi
call fcn.00576660
push 0xc8
push esi
call fcn.00732c0f
add esp, 8
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.0049ad10
push 0x40
push dword [ebp - 0x14]
call fcn.00732c0f
mov ecx, dword [ebp]
add esp, 8
test ecx, ecx
je 0x57d93e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x154], 0x775a90
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x158], eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x150], 0x775aac
call fcn.00483030
lea ecx, [ebp - 0x150]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.0073297b
lea esp, [ebp + 0x78]
pop ebp
ret