Function at 0x411d8b
Capabilities:
Check http status code

Disassembly:
mov eax, 0x4dc01e
call fcn.004d1ec0
sub esp, 0x544
mov eax, dword [0x52f220]
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.0040284a
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.00451da2
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]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x411e15
push 0x4edb94
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 ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
mov dword [ebp - 0x520], eax
jmp 0x411ed9
lea ecx, [eax + 0xc]
push dword [ecx + 0x1c]
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.00436bb7
mov ecx, dword [esi + 0xb0]
mov eax, dword [ebp - 0x520]
cmp eax, ecx
jne 0x411e90
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.00409c26
mov ebx, str.scriptreport.client.sandai.net
push ebx
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.00409caa
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 0x4edb98
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 0x4edb1c
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.00409cc4
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 ebx
push str.Connection:_close_r_nHost:__s_r_n_r_n
lea eax, [ebp - 0x410]
push 0x400
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.00409d81
test al, al
je 0x4121b4
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.00409eec
test al, al
je 0x4121b4
cmp dword [ebp - 0x52c], 0xc8
jne 0x4121b4
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 0x412132
mov eax, dword [ebp - 0x524]
cmp byte [eax + ebx], 0x7c
jne 0x412120
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.00451e1a
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.00411431
mov ecx, dword [ebp - 0x520]
cmp dword [eax], ecx
je 0x412100
mov ecx, dword [ebp - 0x528]
lea eax, [ebp - 0x42c]
push eax
call fcn.00402af5
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 0x41207b
lea eax, [edi + ebx]
cmp dword [ebp - 0x520], eax
jae 0x4121b0
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.00451e1a
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.00411431
cmp dword [eax], edi
je 0x4121a0
mov ecx, dword [ebp - 0x528]
lea eax, [ebp - 0x42c]
push eax
call fcn.00402af5
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 0x4121b6
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.00409f1c
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.004d1f17
leave
ret 8