Function at 0x10020d00
Capabilities:
Act as tcp client
Authenticate hmac
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003426e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xbb0
mov eax, dword [0x10048024]
xor eax, ebp
mov dword [ebp - 0x128], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa30], ecx
mov word [ebp - 0x24c], 0
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 0xb4
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0xa30]
mov dword [eax + 0x14c], 0xffffffff
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov ecx, dword [ebp - 0xa30]
mov dword [ecx + 0x14c], eax
mov edx, dword [ebp - 0xa30]
cmp dword [edx + 0x14c], 0xffffffff
jne 0x10020dcc
push 0x6a
lea ecx, [ebp - 0x854]
call fcn.10009f00
mov eax, dword [eax]
mov dword [ebp - 0x850], eax
push 0x10042bf4
lea ecx, [ebp - 0x850]
push ecx
call sub.MSVCR80.dll__CxxThrowException
movzx edx, word [ebp + 0xc]
test edx, edx
je 0x10020de7
mov ax, word [ebp + 0xc]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x24c], ax
jmp 0x10020e1b
push 0
push str.mail
call dword [sym.imp.WS2_32.dll_getservbyname]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10020e0d
push 0x19
call sub.WS2_32.dll_htons
mov word [ebp - 0x24c], ax
jmp 0x10020e1b
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + 8]
mov word [ebp - 0x24c], dx
mov word [ebp - 0x138], 2
mov ax, word [ebp - 0x24c]
mov word [ebp - 0x136], ax
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x10020ec3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x10020e8b
mov eax, dword [ebp - 0x254]
movsx ecx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x254]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x134]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x10020ec3
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
push ecx
call sub.WS2_32.dll_closesocket
push 0x69
lea ecx, [ebp - 0x85c]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0x858], edx
push 0x10042bf4
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [ebp - 0x124]
push ecx
push 0x8004667e
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x10020f2a
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x14c]
push edx
call sub.WS2_32.dll_closesocket
push 0x6c
lea ecx, [ebp - 0x864]
call fcn.10009f00
mov eax, dword [eax]
mov dword [ebp - 0x860], eax
push 0x10042bf4
lea ecx, [ebp - 0x860]
push ecx
call sub.MSVCR80.dll__CxxThrowException
push 0x10
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
push ecx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x10021005
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0x25c], eax
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x10021003
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x14c]
push eax
call sub.WS2_32.dll_closesocket
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xa34], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x138]
mov dword [ecx], edx
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x130]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 0xc], eax
push 0x309
push 0x1003b898
call fcn.1001fc90
add esp, 8
push eax
push str._s:_Connect_to_server__sockAddr__0x_x
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 0x1c
push 0x68
lea ecx, [ebp - 0x86c]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0x868], edx
push 0x10042bf4
lea eax, [ebp - 0x868]
push eax
call sub.MSVCR80.dll__CxxThrowException
jmp 0x1002100c
mov al, 1
jmp 0x100230f0
mov ecx, 1
test ecx, ecx
je 0x10021314
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x260], 0
jmp 0x10021048
mov edx, dword [ebp - 0x260]
add edx, 1
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x248]
jae 0x10021075
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0xa30]
mov eax, dword [ebp + ecx*4 - 0x244]
cmp eax, dword [edx + 0x14c]
jne 0x10021073
jmp 0x10021075
jmp 0x10021039
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x248]
jne 0x100210b4
cmp dword [ebp - 0x248], 0x40
jae 0x100210b4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
mov dword [ebp + edx*4 - 0x244], ecx
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
xor eax, eax
jne 0x1002102d
mov dword [ebp - 0x264], 0
jmp 0x100210d7
mov ecx, dword [ebp - 0x264]
add ecx, 1
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
cmp edx, dword [ebp - 0x120]
jae 0x10021104
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ebp + eax*4 - 0x11c]
cmp edx, dword [ecx + 0x14c]
jne 0x10021102
jmp 0x10021104
jmp 0x100210c8
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x120]
jne 0x10021143
cmp dword [ebp - 0x120], 0x40
jae 0x10021143
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x14c]
mov dword [ebp + ecx*4 - 0x11c], eax
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
xor edx, edx
jne 0x100210bc
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x248]
push edx
push 0
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
add ecx, 1
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x100211b9
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x14c]
push eax
call sub.WS2_32.dll_closesocket
push 0x6d
lea ecx, [ebp - 0x874]
call fcn.10009f00
mov ecx, dword [eax]
mov dword [ebp - 0x870], ecx
push 0x10042bf4
lea edx, [ebp - 0x870]
push edx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [ebp - 0x14], 0
jne 0x10021238
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
push ecx
call sub.WS2_32.dll_closesocket
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xa38], eax
mov edx, dword [ebp - 0x14]
push edx
push 0x329
push 0x1003b8e0
call fcn.1001fc90
add esp, 8
push eax
push str._s:_select_failed._res___d
mov eax, dword [ebp - 0xa38]
push eax
mov ecx, dword [ebp - 0xa38]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x10
push 0x193
lea ecx, [ebp - 0x87c]
call fcn.10009f00
mov ecx, dword [eax]
mov dword [ebp - 0x878], ecx
push 0x10042bf4
lea edx, [ebp - 0x878]
push edx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [ebp - 0x14], 0
je 0x10021260
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x14c]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10021260
jmp 0x10021314
cmp dword [ebp - 0x14], 0
je 0x1002130f
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x14c]
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1002130f
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
push ecx
call sub.WS2_32.dll_closesocket
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xa3c], eax
mov edx, dword [ebp - 0x268]
push edx
push 0x336
push 0x1003b91c
call fcn.1001fc90
add esp, 8
push eax
push str._s:_socket_error:__d
mov eax, dword [ebp - 0xa3c]
push eax
mov ecx, dword [ebp - 0xa3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
add esp, 0x10
push 0x6d
lea ecx, [ebp - 0x884]
call fcn.10009f00
mov ecx, dword [eax]
mov dword [ebp - 0x880], ecx
push 0x10042bf4
lea edx, [ebp - 0x880]
push edx
call sub.MSVCR80.dll__CxxThrowException
jmp 0x1002100c
mov dword [ebp - 0x26c], 0
jmp 0x1002132f
mov eax, dword [ebp - 0x26c]
add eax, 1
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
cmp ecx, dword [ebp - 0x248]
jae 0x100213aa
mov edx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0xa30]
mov ecx, dword [ebp + edx*4 - 0x244]
cmp ecx, dword [eax + 0x14c]
jne 0x100213a5
mov edx, dword [ebp - 0x248]
sub edx, 1
cmp dword [ebp - 0x26c], edx
jae 0x10021394
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ebp + ecx*4 - 0x240]
mov dword [ebp + eax*4 - 0x244], edx
mov eax, dword [ebp - 0x26c]
add eax, 1
mov dword [ebp - 0x26c], eax
jmp 0x10021358
mov ecx, dword [ebp - 0x248]
sub ecx, 1
mov dword [ebp - 0x248], ecx
jmp 0x100213aa
jmp 0x10021320
xor edx, edx
jne 0x10021314
mov dword [ebp - 0x270], 0
jmp 0x100213cd
mov eax, dword [ebp - 0x270]
add eax, 1
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
cmp ecx, dword [ebp - 0x120]
jae 0x10021448
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0xa30]
mov ecx, dword [ebp + edx*4 - 0x11c]
cmp ecx, dword [eax + 0x14c]
jne 0x10021443
mov edx, dword [ebp - 0x120]
sub edx, 1
cmp dword [ebp - 0x270], edx
jae 0x10021432
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x270]
mov edx, dword [ebp + ecx*4 - 0x118]
mov dword [ebp + eax*4 - 0x11c], edx
mov eax, dword [ebp - 0x270]
add eax, 1
mov dword [ebp - 0x270], eax
jmp 0x100213f6
mov ecx, dword [ebp - 0x120]
sub ecx, 1
mov dword [ebp - 0x120], ecx
jmp 0x10021448
jmp 0x100213be
xor edx, edx
jne 0x100213b2
cmp dword [ebp + 0x10], 6
je 0x10021465
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.10007850
mov ecx, dword [ebp - 0xa30]
call fcn.10007830
cmp eax, 1
je 0x10021485
mov ecx, dword [ebp - 0xa30]
call fcn.10007830
cmp eax, 2
jne 0x100214ab
mov ecx, dword [ebp - 0xa30]
call fcn.1001e7a0
mov ecx, dword [ebp - 0xa30]
call fcn.10007830
cmp eax, 2
jne 0x100214ab
mov ecx, dword [ebp - 0xa30]
call fcn.1001e390
push 0
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov ecx, dword [ebp - 0xa30]
call fcn.10020c30
mov ecx, dword [ebp - 0xa30]
call fcn.10007830
cmp eax, 1
jne 0x100214fe
mov ecx, dword [ebp - 0xa30]
call fcn.10020ae0
mov ecx, dword [ebp - 0xa30]
call fcn.10020c30
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x1002302f
push str.AUTH
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.1001e180
add esp, 8
movzx edx, al
cmp edx, 1
jne 0x1002302f
cmp dword [ebp + 0x18], 0
je 0x10021545
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.1001e000
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 0
jne 0x1002158f
push 0xcc
lea ecx, [ebp - 0x88c]
call fcn.10009f00
mov ecx, dword [eax]
mov dword [ebp - 0x888], ecx
push 0x10042bf4
lea edx, [ebp - 0x888]
push edx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [ebp + 0x1c], 0
je 0x100215a4
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.1001dfe0
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xa44], eax
cmp dword [ebp - 0xa44], 0
jne 0x100215ee
push 0xcd
lea ecx, [ebp - 0x894]
call fcn.10009f00
mov ecx, dword [eax]
mov dword [ebp - 0x890], ecx
push 0x10042bf4
lea edx, [ebp - 0x890]
push edx
call sub.MSVCR80.dll__CxxThrowException
push str.LOGIN
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.1001e180
add esp, 8
movzx edx, al
cmp edx, 1
jne 0x10021805
push 3
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
push str.AUTH_LOGIN_r_n
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xa48], eax
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa4c], eax
mov ecx, dword [ebp - 0xa48]
push ecx
mov edx, dword [ebp - 0xa4c]
push edx
lea eax, [ebp - 0x2a8]
push eax
call fcn.100326f0
add esp, 0xc
mov dword [ebp - 0xa50], eax
mov byte [ebp - 4], 1
push 7
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa54], eax
mov ecx, dword [ebp - 0xa54]
push ecx
push 0x1003b974
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xa58], eax
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa5c], eax
mov eax, dword [ebp - 0xa58]
push eax
mov ecx, dword [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0x28c]
push edx
call fcn.100326f0
add esp, 0xc
mov dword [ebp - 0xa60], eax
mov byte [ebp - 4], 2
push 8
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa64], eax
mov eax, dword [ebp - 0xa64]
push eax
push 0x1003b97c
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002302f
push str.PLAIN
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
call fcn.1001e180
add esp, 8
movzx ecx, al
cmp ecx, 1
jne 0x100219e4
push 2
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa68], eax
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa6c], eax
mov edx, dword [ebp - 0xa68]
push edx
mov eax, dword [ebp - 0xa6c]
push eax
push 0x1003b98c
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x10
mov dword [ebp - 0x2cc], 0
jmp 0x100218af
mov eax, dword [ebp - 0x2cc]
add eax, 1
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call sub.ntdll.dll_strlen
add esp, 4
cmp dword [ebp - 0x2cc], eax
jae 0x100218ff
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
mov edx, dword [ebp - 0x2cc]
movsx eax, byte [ecx + edx]
cmp eax, 0x5e
jne 0x100218fd
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
mov eax, dword [ebp - 0x2cc]
mov byte [edx + eax], 0
jmp 0x100218a0
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xa70], eax
mov eax, dword [ebp - 0xa70]
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov eax, dword [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.100326f0
add esp, 0xc
mov dword [ebp - 0xa74], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x898], edx
mov eax, dword [ebp - 0x898]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa78], eax
mov ecx, dword [ebp - 0xa78]
push ecx
push str.AUTH_PLAIN__s
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002302f
push str.CRAM_MD5
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.1001e180
add esp, 8
movzx edx, al
cmp edx, 1
jne 0x10021fa7
push 4
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
push str.AUTH_CRAM_MD5_r_n
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x148]
push edx
lea ecx, [ebp - 0x414]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xa7c], eax
mov byte [ebp - 4], 4
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 4
lea edx, [ebp - 0x8b4]
push edx
lea ecx, [ebp - 0x414]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xa80], eax
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0xa84], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa84]
push ecx
lea ecx, [ebp - 0x414]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8b4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x3f8]
push eax
call fcn.10032970
add esp, 8
mov dword [ebp - 0xa88], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa8c], eax
mov ecx, dword [ebp - 0xa8c]
push ecx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xa90], eax
mov edx, dword [ebp - 0xa90]
mov dword [ebp - 0x3d4], edx
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xa94], eax
mov eax, dword [ebp - 0xa94]
push eax
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xa98], eax
mov ecx, dword [ebp - 0xa98]
mov dword [ebp - 0x3d8], ecx
cmp dword [ebp - 0x3d4], 0
je 0x10021b6f
cmp dword [ebp - 0x3d8], 0
jne 0x10021b98
push 0xce
lea ecx, [ebp - 0x8bc]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0x8b8], edx
push 0x10042bf4
lea eax, [ebp - 0x8b8]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xa9c], eax
mov ecx, dword [ebp - 0xa9c]
mov dword [ebp - 0x3dc], ecx
cmp dword [ebp - 0x3dc], 0x40
jle 0x10021c1b
lea ecx, [ebp - 0x4f8]
call fcn.1002ebf0
mov edx, dword [ebp - 0x3dc]
push edx
mov eax, dword [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.1002f6d0
lea ecx, [ebp - 0x4f8]
call fcn.1002f800
lea ecx, [ebp - 0x4f8]
call fcn.1002f650
mov dword [ebp - 0xaa0], eax
mov ecx, dword [ebp - 0xaa0]
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x3dc], 0x10
push 0x40
push 0
lea edx, [ebp - 0x360]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x318]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x3dc]
push ecx
mov edx, dword [ebp - 0x3d8]
push edx
lea eax, [ebp - 0x360]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x3dc]
push ecx
mov edx, dword [ebp - 0x3d8]
push edx
lea eax, [ebp - 0x318]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x4fc], 0
jmp 0x10021c96
mov ecx, dword [ebp - 0x4fc]
add ecx, 1
mov dword [ebp - 0x4fc], ecx
cmp dword [ebp - 0x4fc], 0x40
jge 0x10021cdd
mov edx, dword [ebp - 0x4fc]
movzx eax, byte [ebp + edx - 0x360]
xor eax, 0x36
mov ecx, dword [ebp - 0x4fc]
mov byte [ebp + ecx - 0x360], al
mov edx, dword [ebp - 0x4fc]
movzx eax, byte [ebp + edx - 0x318]
xor eax, 0x5c
mov ecx, dword [ebp - 0x4fc]
mov byte [ebp + ecx - 0x318], al
jmp 0x10021c87
lea ecx, [ebp - 0x3d0]
call fcn.1002ebf0
push 0x40
lea edx, [ebp - 0x360]
push edx
lea ecx, [ebp - 0x3d0]
call fcn.1002f6d0
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xaa4], eax
mov eax, dword [ebp - 0xaa4]
push eax
mov ecx, dword [ebp - 0x3d4]
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.1002f6d0
lea ecx, [ebp - 0x3d0]
call fcn.1002f800
lea ecx, [ebp - 0x3d0]
call fcn.1002f650
mov dword [ebp - 0xaa8], eax
mov edx, dword [ebp - 0xaa8]
mov dword [ebp - 0x2d0], edx
lea ecx, [ebp - 0x488]
call fcn.1002ebf0
push 0x40
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x488]
call fcn.1002f6d0
push 0x10
mov ecx, dword [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x488]
call fcn.1002f6d0
lea ecx, [ebp - 0x488]
call fcn.1002f800
lea ecx, [ebp - 0x488]
call fcn.1002f590
mov dword [ebp - 0xaac], eax
mov edx, dword [ebp - 0xaac]
push edx
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.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 [ebp - 0x3d4]
mov dword [ebp - 0x8c0], eax
mov ecx, dword [ebp - 0x8c0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x8c4], edx
mov eax, dword [ebp - 0x8c4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x8c8], ecx
mov edx, dword [ebp - 0x8c8]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0x1003b9c0
mov eax, dword [ebp - 0xa30]
add eax, 0xe8
push eax
lea ecx, [ebp - 0x8e4]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
mov dword [ebp - 0xab0], eax
mov edx, dword [ebp - 0xab0]
mov dword [ebp - 0xab4], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x3f8]
push eax
mov ecx, dword [ebp - 0xab4]
push ecx
lea edx, [ebp - 0x900]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov dword [ebp - 0xab8], eax
mov eax, dword [ebp - 0xab8]
mov dword [ebp - 0xabc], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xabc]
push ecx
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x900]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8e4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xac0], eax
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xac4], eax
mov edx, dword [ebp - 0xac0]
push edx
mov eax, dword [ebp - 0xac4]
push eax
lea ecx, [ebp - 0x91c]
push ecx
call fcn.100326f0
add esp, 0xc
mov dword [ebp - 0xac8], eax
mov edx, dword [ebp - 0xac8]
mov dword [ebp - 0xacc], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xacc]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x91c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x414]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xad0], eax
mov ecx, dword [ebp - 0xad0]
push ecx
push 0x1003b9c4
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
push 8
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x414]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002302f
push str.DIGEST_MD5
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.1001e180
add esp, 8
movzx edx, al
cmp edx, 1
jne 0x10023006
push 6
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
push str.AUTH_DIGEST_MD5_r_n
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x148]
push edx
lea ecx, [ebp - 0x7ac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xad4], eax
mov byte [ebp - 4], 0xa
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 4
lea edx, [ebp - 0x938]
push edx
lea ecx, [ebp - 0x7ac]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xad8], eax
mov eax, dword [ebp - 0xad8]
mov dword [ebp - 0xadc], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xadc]
push ecx
lea ecx, [ebp - 0x7ac]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x938]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp - 0x7ac]
push edx
lea eax, [ebp - 0x790]
push eax
call fcn.10032970
add esp, 8
mov dword [ebp - 0xae0], eax
mov byte [ebp - 4], 0xc
push 0
push str.nonce
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov dword [ebp - 0xae4], eax
mov ecx, dword [ebp - 0xae4]
mov dword [ebp - 0x7c4], ecx
cmp dword [ebp - 0x7c4], 0
jge 0x1002210b
push 0xcf
lea ecx, [ebp - 0x940]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0x93c], edx
push 0x10042bf4
lea eax, [ebp - 0x93c]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x7c4]
add eax, 7
push eax
lea ecx, [ebp - 0x764]
push ecx
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xae8], eax
mov byte [ebp - 4], 0xd
push 0
push 0x1003b9f4
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov dword [ebp - 0xaec], eax
mov edx, dword [ebp - 0xaec]
mov dword [ebp - 0x7c4], edx
cmp dword [ebp - 0x7c4], 0
jge 0x10022192
push 0xcf
lea ecx, [ebp - 0x948]
call fcn.10009f00
mov eax, dword [eax]
mov dword [ebp - 0x944], eax
push 0x10042bf4
lea ecx, [ebp - 0x944]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov edx, dword [ebp - 0x7c4]
push edx
push 0
lea eax, [ebp - 0x964]
push eax
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xaf0], eax
mov ecx, dword [ebp - 0xaf0]
mov dword [ebp - 0xaf4], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xaf4]
push edx
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x964]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 0xaf8], eax
mov byte [ebp - 4], 0xf
push 0
push str.realm
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov dword [ebp - 0xafc], eax
mov eax, dword [ebp - 0xafc]
mov dword [ebp - 0x7c4], eax
cmp dword [ebp - 0x7c4], 0
jl 0x1002233a
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x7c4]
add eax, 7
push eax
lea ecx, [ebp - 0x980]
push ecx
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xb00], eax
mov edx, dword [ebp - 0xb00]
mov dword [ebp - 0xb04], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xb04]
push eax
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x980]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
push 0x1003ba00
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov dword [ebp - 0xb08], eax
mov ecx, dword [ebp - 0xb08]
mov dword [ebp - 0x7c4], ecx
cmp dword [ebp - 0x7c4], 0
jge 0x100222e5
push 0xcf
lea ecx, [ebp - 0x988]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0x984], edx
push 0x10042bf4
lea eax, [ebp - 0x984]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [ebp - 0x7c4]
push ecx
push 0
lea edx, [ebp - 0x9a4]
push edx
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0xb0c], eax
mov eax, dword [ebp - 0xb0c]
mov dword [ebp - 0xb10], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb10]
push ecx
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9a4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
call fcn.1001e350
add esp, 4
push eax
push 0x1003ba04
lea edx, [ebp - 0x7c0]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
push 1
push str._08d
lea eax, [ebp - 0x774]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
push str.auth
lea ecx, [ebp - 0x6d0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xb14], eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x6b4], 0x80
lea ecx, [ebp - 0x6b4]
push ecx
lea edx, [ebp - 0x848]
push edx
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x14c]
push ecx
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x100223e4
push 0xd0
lea ecx, [ebp - 0x9ac]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0x9a8], edx
push 0x10042bf4
lea eax, [ebp - 0x9a8]
push eax
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x52c], ecx
mov edx, dword [ebp - 0x52c]
mov eax, dword [edx + 4]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xb18], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x54c]
push ecx
push str.smtp_
lea edx, [ebp - 0x9c8]
push edx
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
mov dword [ebp - 0xb1c], eax
mov eax, dword [ebp - 0xb1c]
mov dword [ebp - 0xb20], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xb20]
push ecx
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x9c8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb24], eax
mov edx, dword [ebp - 0xb24]
push edx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb28], eax
mov eax, dword [ebp - 0xb28]
mov dword [ebp - 0x768], eax
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb2c], eax
mov ecx, dword [ebp - 0xb2c]
push ecx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb30], eax
mov edx, dword [ebp - 0xb30]
mov dword [ebp - 0x744], edx
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb34], eax
mov eax, dword [ebp - 0xb34]
push eax
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb38], eax
mov ecx, dword [ebp - 0xb38]
mov dword [ebp - 0x6b0], ecx
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb3c], eax
mov edx, dword [ebp - 0xb3c]
push edx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb40], eax
mov eax, dword [ebp - 0xb40]
mov dword [ebp - 0x500], eax
lea ecx, [ebp - 0x7c0]
push ecx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb44], eax
mov edx, dword [ebp - 0xb44]
mov dword [ebp - 0x50c], edx
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb48], eax
mov eax, dword [ebp - 0xb48]
push eax
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb4c], eax
mov ecx, dword [ebp - 0xb4c]
mov dword [ebp - 0x84c], ecx
lea edx, [ebp - 0x774]
push edx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb50], eax
mov eax, dword [ebp - 0xb50]
mov dword [ebp - 0x5c4], eax
lea ecx, [ebp - 0x6d0]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb54], eax
mov ecx, dword [ebp - 0xb54]
push ecx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb58], eax
mov edx, dword [ebp - 0xb58]
mov dword [ebp - 0x6ac], edx
cmp dword [ebp - 0x768], 0
je 0x10022633
cmp dword [ebp - 0x744], 0
je 0x10022633
cmp dword [ebp - 0x6b0], 0
je 0x10022633
cmp dword [ebp - 0x500], 0
je 0x10022633
cmp dword [ebp - 0x50c], 0
je 0x10022633
cmp dword [ebp - 0x84c], 0
je 0x10022633
cmp dword [ebp - 0x5c4], 0
je 0x10022633
cmp dword [ebp - 0x6ac], 0
jne 0x1002265c
push 0xce
lea ecx, [ebp - 0x9d0]
call fcn.10009f00
mov eax, dword [eax]
mov dword [ebp - 0x9cc], eax
push 0x10042bf4
lea ecx, [ebp - 0x9cc]
push ecx
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [ebp - 0x740]
call fcn.1002ebf0
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb5c], eax
mov edx, dword [ebp - 0xb5c]
push edx
mov eax, dword [ebp - 0x744]
push eax
lea ecx, [ebp - 0x740]
call fcn.1002f6d0
push 1
push str.::::
lea ecx, [ebp - 0x740]
call fcn.1002f6d0
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb60], eax
mov ecx, dword [ebp - 0xb60]
push ecx
mov edx, dword [ebp - 0x768]
push edx
lea ecx, [ebp - 0x740]
call fcn.1002f6d0
push 1
push 0x1003ba24
lea ecx, [ebp - 0x740]
call fcn.1002f6d0
mov ecx, dword [ebp - 0xa30]
add ecx, 0x104
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb64], eax
mov eax, dword [ebp - 0xb64]
push eax
mov ecx, dword [ebp - 0x6b0]
push ecx
lea ecx, [ebp - 0x740]
call fcn.1002f6d0
lea ecx, [ebp - 0x740]
call fcn.1002f800
lea ecx, [ebp - 0x740]
call fcn.1002f650
mov dword [ebp - 0xb68], eax
mov edx, dword [ebp - 0xb68]
mov dword [ebp - 0x748], edx
lea ecx, [ebp - 0x5c0]
call fcn.1002ebf0
push 0x10
mov eax, dword [ebp - 0x748]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.1002f6d0
push 1
push 0x1003ba28
lea ecx, [ebp - 0x5c0]
call fcn.1002f6d0
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb6c], eax
mov ecx, dword [ebp - 0xb6c]
push ecx
mov edx, dword [ebp - 0x500]
push edx
lea ecx, [ebp - 0x5c0]
call fcn.1002f6d0
push 1
push 0x1003ba2c
lea ecx, [ebp - 0x5c0]
call fcn.1002f6d0
lea eax, [ebp - 0x7c0]
push eax
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x50c]
push ecx
lea ecx, [ebp - 0x5c0]
call fcn.1002f6d0
lea ecx, [ebp - 0x5c0]
call fcn.1002f800
lea ecx, [ebp - 0x5c0]
call fcn.1002f590
mov dword [ebp - 0xb70], eax
mov edx, dword [ebp - 0xb70]
mov dword [ebp - 0x508], edx
lea ecx, [ebp - 0x6a8]
call fcn.1002ebf0
push 0xd
push 0x1003ba30
lea ecx, [ebp - 0x6a8]
call fcn.1002f6d0
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb74], eax
mov eax, dword [ebp - 0xb74]
push eax
mov ecx, dword [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x6a8]
call fcn.1002f6d0
lea ecx, [ebp - 0x6a8]
call fcn.1002f800
lea ecx, [ebp - 0x6a8]
call fcn.1002f590
mov dword [ebp - 0xb78], eax
mov edx, dword [ebp - 0xb78]
mov dword [ebp - 0x7c8], edx
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x9d4], eax
mov ecx, dword [ebp - 0x9d4]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0x508]
push edx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb7c], eax
mov eax, dword [ebp - 0xb7c]
mov dword [ebp - 0x748], eax
mov ecx, dword [ebp - 0x7c8]
push ecx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xb80], eax
mov edx, dword [ebp - 0xb80]
mov dword [ebp - 0x530], edx
lea ecx, [ebp - 0x638]
call fcn.1002ebf0
push 0x20
mov eax, dword [ebp - 0x748]
push eax
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
push 1
push str.:::::
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb84], eax
mov ecx, dword [ebp - 0xb84]
push ecx
mov edx, dword [ebp - 0x500]
push edx
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
push 1
push 0x1003ba44
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
lea eax, [ebp - 0x774]
push eax
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov ecx, dword [ebp - 0x5c4]
push ecx
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
push 1
push 0x1003ba48
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
lea edx, [ebp - 0x7c0]
push edx
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov eax, dword [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
push 1
push 0x1003ba4c
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
lea ecx, [ebp - 0x6d0]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov dword [ebp - 0xb88], eax
mov ecx, dword [ebp - 0xb88]
push ecx
mov edx, dword [ebp - 0x6ac]
push edx
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
push 1
push 0x1003ba50
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
push 0x20
mov eax, dword [ebp - 0x530]
push eax
lea ecx, [ebp - 0x638]
call fcn.1002f6d0
lea ecx, [ebp - 0x638]
call fcn.1002f800
lea ecx, [ebp - 0x638]
call fcn.1002f590
mov dword [ebp - 0xb8c], eax
mov ecx, dword [ebp - 0xb8c]
push ecx
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.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 edx, dword [ebp - 0x768]
mov dword [ebp - 0x9d8], edx
mov eax, dword [ebp - 0x9d8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 0x744]
mov dword [ebp - 0x9dc], ecx
mov edx, dword [ebp - 0x9dc]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x6b0]
mov dword [ebp - 0x9e0], eax
mov ecx, dword [ebp - 0x9e0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0x500]
mov dword [ebp - 0x9e4], edx
mov eax, dword [ebp - 0x9e4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x9e8], ecx
mov edx, dword [ebp - 0x9e8]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x84c]
mov dword [ebp - 0x9ec], eax
mov ecx, dword [ebp - 0x9ec]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0x5c4]
mov dword [ebp - 0x9f0], edx
mov eax, dword [ebp - 0x9f0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 0x6ac]
mov dword [ebp - 0x9f4], ecx
mov edx, dword [ebp - 0x9f4]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x9f8], eax
mov ecx, dword [ebp - 0x9f8]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0x530]
mov dword [ebp - 0x9fc], edx
mov eax, dword [ebp - 0x9fc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0xa00], ecx
mov edx, dword [ebp - 0xa00]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x7c8]
mov dword [ebp - 0xa04], eax
mov ecx, dword [ebp - 0xa04]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0x1003ba54
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
call fcn.100025e0
add esp, 8
test eax, eax
jb 0x10022bb9
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb90], eax
mov ecx, dword [ebp - 0xb90]
push ecx
push str.charsetutf_8_username__s_
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
jmp 0x10022bf3
mov ecx, dword [ebp - 0xa30]
add ecx, 0xe8
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb94], eax
mov ecx, dword [ebp - 0xb94]
push ecx
push str.username__s_
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const]
mov byte [ebp - 0xb95], al
movzx ecx, byte [ebp - 0xb95]
test ecx, ecx
jne 0x10022c66
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xb9c], eax
mov edx, dword [ebp - 0xb9c]
push edx
push str._realm__s_
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call sub.ntdll.dll_strcat
add esp, 8
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xba0], eax
mov eax, dword [ebp - 0xba0]
push eax
push str._nonce__s_
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x148]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call sub.ntdll.dll_strcat
add esp, 8
lea ecx, [ebp - 0x774]
push ecx
push str._nc_s
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x148]
push edx
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
lea edx, [ebp - 0x7c0]
push edx
push str._cnonce__s_
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call sub.ntdll.dll_strcat
add esp, 8
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xba4], eax
mov eax, dword [ebp - 0xba4]
push eax
push str._digest_uri__s_
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x148]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x144]
push eax
call sub.ntdll.dll_strcat
add esp, 8
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xba8], eax
mov ecx, dword [ebp - 0xba8]
push ecx
push str._response_s
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x148]
push edx
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call sub.ntdll.dll_strcat
add esp, 8
lea ecx, [ebp - 0x6d0]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xbac], eax
mov edx, dword [ebp - 0xbac]
push edx
push str._qop_s
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp - 0xa30]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call sub.ntdll.dll_strcat
add esp, 8
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call fcn.1001e100
add esp, 4
mov dword [ebp - 0xbb0], eax
mov edx, dword [ebp - 0xbb0]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp - 0x504]
push edx
lea eax, [ebp - 0xa20]
push eax
call fcn.100326f0
add esp, 0xc
mov dword [ebp - 0xbb4], eax
mov ecx, dword [ebp - 0xbb4]
mov dword [ebp - 0xbb8], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xbb8]
push edx
lea ecx, [ebp - 0x7ac]
call dword [sym.imp.MSVCP80.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0xa24], eax
mov ecx, dword [ebp - 0xa24]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [ebp - 0x7ac]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0xbbc], eax
mov edx, dword [ebp - 0xbbc]
push edx
push 0x1003bae4
mov eax, dword [ebp - 0xa30]
mov ecx, dword [eax + 0x144]
push ecx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
push 6
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
push 0x1003baec
mov ecx, dword [ebp - 0xa30]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 8
push 8
call fcn.1001e2e0
add esp, 4
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xa30]
call fcn.100204c0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xa30]
call fcn.100201f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x54c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6d0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x528]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x764]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x790]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7ac]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002302f
push 0x1a1
lea ecx, [ebp - 0xa2c]
call fcn.10009f00
mov edx, dword [eax]
mov dword [ebp - 0xa28], edx
push 0x10042bf4
lea eax, [ebp - 0xa28]
push eax
call sub.MSVCR80.dll__CxxThrowException
jmp 0x100230e7
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x128]
xor ecx, ebp
call fcn.1000f672
mov esp, ebp
pop ebp
ret 0x18