Function at 0x40b0c7
Capabilities:
Check http status code

Disassembly:
mov eax, 0x4aad1a
call fcn.0049f0d0
sub esp, 0x544
mov eax, dword [0x4f0dd0]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, ebp
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x528], ecx
call fcn.0040ae86
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [edi + 0x14]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x464]
push ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.0043c751
add esp, 0xc
push 0
push 0x20
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char__unsigned_int_const]
push 0x4b8a24
push 1
push eax
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::replace_unsigned_int__unsigned_int__char_const__]
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x74]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, dword [sym.imp.MSVCR71.dll__snprintf]
push eax
push str._scriptreport_appname_sappversion_speerid_ssttime_ssids
mov ebx, 0x400
lea eax, [ebp - 0x410]
push ebx
push eax
call edi
add esp, 0x1c
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
mov dword [ebp - 0x520], ecx
jmp 0x40b20b
push dword [ecx + 0x28]
add ecx, 0xc
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str._s:_d
lea eax, [ebp - 0x410]
push ebx
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
lea ecx, [ebp - 0x520]
call fcn.0047ff33
mov eax, dword [esi + 0xb0]
mov ecx, dword [ebp - 0x520]
cmp ecx, eax
jne 0x40b1c2
mov eax, dword [ebp - 0x434]
push 1
dec eax
push eax
lea ecx, [ebp - 0x448]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
lea ecx, [ebp - 0x51c]
call fcn.00406062
push str.scriptreport.client.sandai.net
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x50
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 3
call fcn.004060e6
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x4b8a28
lea ecx, [ebp - 0x550]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x4b89b0
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 5
call fcn.00406100
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str.scriptreport.client.sandai.net
push str.Connection:_close_r_nHost:__s_r_n_r_n
lea eax, [ebp - 0x410]
push ebx
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x49c]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x49c]
push eax
xor ebx, ebx
push ebx
push ebx
push edi
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 7
call fcn.004061bd
test al, al
je 0x40b4e5
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x52c]
push eax
push 0x20000013
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x52c], ebx
mov dword [ebp - 0x534], 4
call fcn.00406328
test al, al
je 0x40b4e5
cmp dword [ebp - 0x52c], 0xc8
jne 0x40b4e5
lea ecx, [ebp - 0x480]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, dword [ebp - 0x46c]
and dword [ebp - 0x524], 0
test edi, edi
mov ebx, eax
mov dword [ebp - 0x520], ebx
jbe 0x40b463
mov eax, dword [ebp - 0x524]
cmp byte [eax + ebx], 0x7c
jne 0x40b451
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x42c]
push eax
mov eax, dword [ebp - 0x524]
sub eax, dword [ebp - 0x520]
mov byte [ebp - 4], 8
add eax, ebx
push eax
push dword [ebp - 0x520]
call fcn.0043c7c9
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x520], eax
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x530]
push eax
lea ecx, [esi + 0xa0]
call fcn.0040a3b2
mov ecx, dword [ebp - 0x520]
cmp dword [eax], ecx
je 0x40b431
mov ecx, dword [ebp - 0x528]
lea eax, [ebp - 0x42c]
push eax
call fcn.0040af51
mov eax, dword [ebp - 0x524]
lea eax, [eax + ebx + 1]
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x520], eax
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
inc dword [ebp - 0x524]
cmp dword [ebp - 0x524], edi
jb 0x40b3ac
lea eax, [edi + ebx]
cmp dword [ebp - 0x520], eax
jae 0x40b4e1
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
sub edi, dword [ebp - 0x520]
lea eax, [ebp - 0x42c]
push eax
add edi, ebx
push edi
push dword [ebp - 0x520]
mov byte [ebp - 4], 9
call fcn.0043c7c9
mov edi, dword [esi + 0xa4]
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x530]
push eax
lea ecx, [esi + 0xa0]
call fcn.0040a3b2
cmp dword [eax], edi
je 0x40b4d1
mov ecx, dword [ebp - 0x528]
lea eax, [ebp - 0x42c]
push eax
call fcn.0040af51
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov bl, 1
jmp 0x40b4e7
xor bl, bl
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 1
call fcn.00406358
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 8