Function at 0x47afa0
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:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484ea9
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xcec
mov eax, dword [0x4b6018]
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 - 0xaa0], ecx
xor eax, eax
mov word [ebp - 0x24c], ax
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 ecx, dword [ebp - 0xaa0]
mov dword [ecx + 0x14c], 0xffffffff
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edx, dword [ebp - 0xaa0]
mov dword [edx + 0x14c], eax
mov eax, dword [ebp - 0xaa0]
cmp dword [eax + 0x14c], 0xffffffff
jne 0x47b070
mov dword [ebp - 0x84c], 0x6a
mov ecx, dword [ebp - 0x84c]
mov dword [ebp - 0x848], ecx
push 0x4aec94
lea edx, [ebp - 0x848]
push edx
call sub.MSVCR90.dll__CxxThrowException
movzx eax, word [ebp + 0xc]
test eax, eax
je 0x47b08c
movzx ecx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x24c], ax
jmp 0x47b0c1
push 0
push str.mail
call dword [sym.imp.WS2_32.dll_getservbyname]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47b0b3
push 0x19
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x24c], ax
jmp 0x47b0c1
mov edx, dword [ebp - 0x18]
mov ax, word [edx + 8]
mov word [ebp - 0x24c], ax
mov ecx, 2
mov word [ebp - 0x138], cx
mov dx, word [ebp - 0x24c]
mov word [ebp - 0x136], dx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x47b16f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x47b135
mov edx, dword [ebp - 0x254]
movsx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 0x254]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x134]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp 0x47b16f
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x854], 0x69
mov ecx, dword [ebp - 0x854]
mov dword [ebp - 0x850], ecx
push 0x4aec94
lea edx, [ebp - 0x850]
push edx
call sub.MSVCR90.dll__CxxThrowException
lea eax, [ebp - 0x124]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x14c]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x47b1cd
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x14c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x85c], 0x6c
mov edx, dword [ebp - 0x85c]
mov dword [ebp - 0x858], edx
push 0x4aec94
lea eax, [ebp - 0x858]
push eax
call sub.MSVCR90.dll__CxxThrowException
push 0x10
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x47b237
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x47b235
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x14c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x864], 0x68
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x860], eax
push 0x4aec94
lea ecx, [ebp - 0x860]
push ecx
call sub.MSVCR90.dll__CxxThrowException
jmp 0x47b23e
mov al, 1
jmp 0x47da46
mov edx, 1
test edx, edx
je 0x47b4b4
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x258], 0
jmp 0x47b27a
mov eax, dword [ebp - 0x258]
add eax, 1
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [ebp - 0x248]
jae 0x47b2a7
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [ebp + edx*4 - 0x244]
cmp ecx, dword [eax + 0x14c]
jne 0x47b2a5
jmp 0x47b2a7
jmp 0x47b26b
mov edx, dword [ebp - 0x258]
cmp edx, dword [ebp - 0x248]
jne 0x47b2e6
cmp dword [ebp - 0x248], 0x40
jae 0x47b2e6
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x14c]
mov dword [ebp + eax*4 - 0x244], edx
mov eax, dword [ebp - 0x248]
add eax, 1
mov dword [ebp - 0x248], eax
xor ecx, ecx
jne 0x47b25f
mov dword [ebp - 0x25c], 0
jmp 0x47b309
mov edx, dword [ebp - 0x25c]
add edx, 1
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x120]
jae 0x47b336
mov ecx, dword [ebp - 0x25c]
mov edx, dword [ebp - 0xaa0]
mov eax, dword [ebp + ecx*4 - 0x11c]
cmp eax, dword [edx + 0x14c]
jne 0x47b334
jmp 0x47b336
jmp 0x47b2fa
mov ecx, dword [ebp - 0x25c]
cmp ecx, dword [ebp - 0x120]
jne 0x47b375
cmp dword [ebp - 0x120], 0x40
jae 0x47b375
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x14c]
mov dword [ebp + edx*4 - 0x11c], ecx
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
xor eax, eax
jne 0x47b2ee
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x248]
push eax
push 0
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x14c]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x47b3ed
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x14c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x86c], 0x6d
mov edx, dword [ebp - 0x86c]
mov dword [ebp - 0x868], edx
push 0x4aec94
lea eax, [ebp - 0x868]
push eax
call sub.MSVCR90.dll__CxxThrowException
cmp dword [ebp - 0x14], 0
jne 0x47b42d
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x14c]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x874], 0x193
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x870], eax
push 0x4aec94
lea ecx, [ebp - 0x870]
push ecx
call sub.MSVCR90.dll__CxxThrowException
cmp dword [ebp - 0x14], 0
je 0x47b452
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x14c]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x47b452
jmp 0x47b4b4
cmp dword [ebp - 0x14], 0
je 0x47b4af
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x14c]
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x47b4af
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x87c], 0x6d
mov ecx, dword [ebp - 0x87c]
mov dword [ebp - 0x878], ecx
push 0x4aec94
lea edx, [ebp - 0x878]
push edx
call sub.MSVCR90.dll__CxxThrowException
jmp 0x47b23e
mov dword [ebp - 0x260], 0
jmp 0x47b4cf
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0x248]
jae 0x47b54a
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [ebp + edx*4 - 0x244]
cmp ecx, dword [eax + 0x14c]
jne 0x47b545
mov edx, dword [ebp - 0x248]
sub edx, 1
cmp dword [ebp - 0x260], edx
jae 0x47b534
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp + ecx*4 - 0x240]
mov dword [ebp + eax*4 - 0x244], edx
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
jmp 0x47b4f8
mov ecx, dword [ebp - 0x248]
sub ecx, 1
mov dword [ebp - 0x248], ecx
jmp 0x47b54a
jmp 0x47b4c0
xor edx, edx
jne 0x47b4b4
mov dword [ebp - 0x264], 0
jmp 0x47b56d
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
cmp ecx, dword [ebp - 0x120]
jae 0x47b5e8
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [ebp + edx*4 - 0x11c]
cmp ecx, dword [eax + 0x14c]
jne 0x47b5e3
mov edx, dword [ebp - 0x120]
sub edx, 1
cmp dword [ebp - 0x264], edx
jae 0x47b5d2
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp + ecx*4 - 0x118]
mov dword [ebp + eax*4 - 0x11c], edx
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
jmp 0x47b596
mov ecx, dword [ebp - 0x120]
sub ecx, 1
mov dword [ebp - 0x120], ecx
jmp 0x47b5e8
jmp 0x47b55e
xor edx, edx
jne 0x47b552
cmp dword [ebp + 0x10], 3
je 0x47b605
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x1d0], ecx
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x1d0]
mov dword [ebp - 0xa2c], eax
cmp dword [ebp - 0xa2c], 1
je 0x47b63b
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x1d0]
mov dword [ebp - 0xa30], edx
cmp dword [ebp - 0xa30], 2
jne 0x47b66c
mov ecx, dword [ebp - 0xaa0]
call fcn.00476d60
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x1d0]
mov dword [ebp - 0xa34], ecx
cmp dword [ebp - 0xa34], 2
jne 0x47b66c
mov ecx, dword [ebp - 0xaa0]
call fcn.00476950
push 0
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov ecx, dword [ebp - 0xaa0]
call fcn.0047a240
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x1d0]
mov dword [ebp - 0xa38], ecx
cmp dword [ebp - 0xa38], 1
jne 0x47b6ca
mov ecx, dword [ebp - 0xaa0]
call fcn.0047a140
mov ecx, dword [ebp - 0xaa0]
call fcn.0047a240
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x47d9b8
push str.AUTH
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.00476760
add esp, 8
movzx edx, al
cmp edx, 1
jne 0x47d9b8
cmp dword [ebp + 0x18], 0
je 0x47b711
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0xaa0]
call fcn.00476500
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0xfc]
mov dword [ebp - 0xa3c], edx
cmp dword [ebp - 0xa3c], 0
jne 0x47b753
mov dword [ebp - 0x884], 0xcc
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x880], eax
push 0x4aec94
lea ecx, [ebp - 0x880]
push ecx
call sub.MSVCR90.dll__CxxThrowException
cmp dword [ebp + 0x1c], 0
je 0x47b768
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.004764d0
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x118]
mov dword [ebp - 0xa40], ecx
cmp dword [ebp - 0xa40], 0
jne 0x47b7aa
mov dword [ebp - 0x88c], 0xcd
mov edx, dword [ebp - 0x88c]
mov dword [ebp - 0x888], edx
push 0x4aec94
lea eax, [ebp - 0x888]
push eax
call sub.MSVCR90.dll__CxxThrowException
push str.LOGIN
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x148]
push edx
call fcn.00476760
add esp, 8
movzx eax, al
cmp eax, 1
jne 0x47ba32
push 3
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
push str.AUTH_LOGIN_r_n
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0xfc]
mov dword [ebp - 0xa44], eax
mov ecx, dword [ebp - 0xaa0]
add ecx, 0xe8
mov dword [ebp - 0xa48], ecx
mov edx, dword [ebp - 0xa48]
cmp dword [edx + 0x18], 0x10
jb 0x47b865
mov eax, dword [ebp - 0xa48]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xaa4], ecx
jmp 0x47b874
mov edx, dword [ebp - 0xa48]
add edx, 4
mov dword [ebp - 0xaa4], edx
mov eax, dword [ebp - 0xa44]
push eax
mov ecx, dword [ebp - 0xaa4]
push ecx
lea edx, [ebp - 0x29c]
push edx
call fcn.0047ecb0
add esp, 0xc
mov dword [ebp - 0xaa8], eax
mov byte [ebp - 4], 1
push 7
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x284], 0x10
jb 0x47b8c2
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0xaac], eax
jmp 0x47b8ce
lea ecx, [ebp - 0x298]
mov dword [ebp - 0xaac], ecx
mov edx, dword [ebp - 0xaac]
push edx
push str._s_r_n
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x118]
mov dword [ebp - 0xa4c], edx
mov eax, dword [ebp - 0xaa0]
add eax, 0x104
mov dword [ebp - 0xa50], eax
mov ecx, dword [ebp - 0xa50]
cmp dword [ecx + 0x18], 0x10
jb 0x47b959
mov edx, dword [ebp - 0xa50]
mov eax, dword [edx + 4]
mov dword [ebp - 0xab0], eax
jmp 0x47b968
mov ecx, dword [ebp - 0xa50]
add ecx, 4
mov dword [ebp - 0xab0], ecx
mov edx, dword [ebp - 0xa4c]
push edx
mov eax, dword [ebp - 0xab0]
push eax
lea ecx, [ebp - 0x280]
push ecx
call fcn.0047ecb0
add esp, 0xc
mov dword [ebp - 0xab4], eax
mov byte [ebp - 4], 2
push 8
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x268], 0x10
jb 0x47b9b6
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0xab8], edx
jmp 0x47b9c2
lea eax, [ebp - 0x27c]
mov dword [ebp - 0xab8], eax
mov ecx, dword [ebp - 0xab8]
push ecx
push str._s_r_n
push 0x2800
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call dword [sym.imp.MSVCP90.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 - 0x29c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x47d9b8
push str.PLAIN
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.00476760
add esp, 8
movzx edx, al
cmp edx, 1
jne 0x47bced
push 2
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0xaa0]
add eax, 0x104
mov dword [ebp - 0xa54], eax
mov ecx, dword [ebp - 0xa54]
cmp dword [ecx + 0x18], 0x10
jb 0x47ba96
mov edx, dword [ebp - 0xa54]
mov eax, dword [edx + 4]
mov dword [ebp - 0xabc], eax
jmp 0x47baa5
mov ecx, dword [ebp - 0xa54]
add ecx, 4
mov dword [ebp - 0xabc], ecx
mov edx, dword [ebp - 0xaa0]
add edx, 0xe8
mov dword [ebp - 0xa58], edx
mov eax, dword [ebp - 0xa58]
cmp dword [eax + 0x18], 0x10
jb 0x47bad4
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xac0], edx
jmp 0x47bae3
mov eax, dword [ebp - 0xa58]
add eax, 4
mov dword [ebp - 0xac0], eax
mov ecx, dword [ebp - 0xaa0]
add ecx, 0xe8
mov dword [ebp - 0xa5c], ecx
mov edx, dword [ebp - 0xa5c]
cmp dword [edx + 0x18], 0x10
jb 0x47bb12
mov eax, dword [ebp - 0xa5c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xac4], ecx
jmp 0x47bb21
mov edx, dword [ebp - 0xa5c]
add edx, 4
mov dword [ebp - 0xac4], edx
mov eax, dword [ebp - 0xabc]
push eax
mov ecx, dword [ebp - 0xac0]
push ecx
mov edx, dword [ebp - 0xac4]
push edx
push str._s_s_s
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x18
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x144]
mov dword [ebp - 0xac8], eax
mov ecx, dword [ebp - 0xac8]
add ecx, 1
mov dword [ebp - 0xacc], ecx
mov edx, dword [ebp - 0xac8]
mov al, byte [edx]
mov byte [ebp - 0xacd], al
add dword [ebp - 0xac8], 1
cmp byte [ebp - 0xacd], 0
jne 0x47bb77
mov ecx, dword [ebp - 0xac8]
sub ecx, dword [ebp - 0xacc]
mov dword [ebp - 0xad4], ecx
mov edx, dword [ebp - 0xad4]
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
push ecx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xad8], eax
mov edx, dword [ebp - 0xad8]
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x2c4], 0
jmp 0x47bbf5
mov eax, dword [ebp - 0x2c4]
add eax, 1
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
cmp ecx, dword [ebp - 0x2a4]
jae 0x47bc28
mov edx, dword [ebp - 0x2a0]
add edx, dword [ebp - 0x2c4]
movzx eax, byte [edx]
cmp eax, 0x5e
jne 0x47bc26
mov ecx, dword [ebp - 0x2a0]
add ecx, dword [ebp - 0x2c4]
mov byte [ecx], 0
jmp 0x47bbe6
mov edx, dword [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.0047ecb0
add esp, 0xc
mov dword [ebp - 0xadc], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x890], edx
mov eax, dword [ebp - 0x890]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
cmp dword [ebp - 0x2a8], 0x10
jb 0x47bc81
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0xae0], ecx
jmp 0x47bc8d
lea edx, [ebp - 0x2bc]
mov dword [ebp - 0xae0], edx
mov eax, dword [ebp - 0xae0]
push eax
push str.AUTH_PLAIN__s_r_n
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x47d9b8
push str.CRAM_MD5
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x148]
push eax
call fcn.00476760
add esp, 8
movzx ecx, al
cmp ecx, 1
jne 0x47c301
push 4
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
push str.AUTH_CRAM_MD5_r_n
push 0x2800
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
lea ecx, [ebp - 0x40c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xae4], eax
mov byte [ebp - 4], 4
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 4
lea ecx, [ebp - 0x8ac]
push ecx
lea ecx, [ebp - 0x40c]
call dword [sym.imp.MSVCP90.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 edx, dword [ebp - 0xae8]
mov dword [ebp - 0xaec], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xaec]
push eax
lea ecx, [ebp - 0x40c]
call dword [0x4873d8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8ac]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x3f0]
push edx
call fcn.0047ef40
add esp, 8
mov dword [ebp - 0xaf0], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3d8], 0x10
jb 0x47be18
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0xaf4], eax
jmp 0x47be24
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 0xaf4], ecx
mov edx, dword [ebp - 0xaf4]
push edx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xaf8], eax
mov eax, dword [ebp - 0xaf8]
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0xaa0]
add ecx, 0x104
mov dword [ebp - 0xa60], ecx
mov edx, dword [ebp - 0xa60]
cmp dword [edx + 0x18], 0x10
jb 0x47be74
mov eax, dword [ebp - 0xa60]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xafc], ecx
jmp 0x47be83
mov edx, dword [ebp - 0xa60]
add edx, 4
mov dword [ebp - 0xafc], edx
mov eax, dword [ebp - 0xafc]
push eax
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xb00], eax
mov ecx, dword [ebp - 0xb00]
mov dword [ebp - 0x3d0], ecx
cmp dword [ebp - 0x3cc], 0
je 0x47beb6
cmp dword [ebp - 0x3d0], 0
jne 0x47bedd
mov dword [ebp - 0x8b4], 0xce
mov edx, dword [ebp - 0x8b4]
mov dword [ebp - 0x8b0], edx
push 0x4aec94
lea eax, [ebp - 0x8b0]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x118]
mov dword [ebp - 0xa64], edx
mov eax, dword [ebp - 0xa64]
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3d4], 0x40
jle 0x47bf5a
lea ecx, [ebp - 0x4f0]
call fcn.00474910
mov ecx, dword [ebp - 0x3d4]
push ecx
mov edx, dword [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0x4f0]
call fcn.004758e0
lea ecx, [ebp - 0x4f0]
call fcn.00475a20
lea ecx, [ebp - 0x4f0]
call fcn.00475850
mov dword [ebp - 0xb04], eax
mov eax, dword [ebp - 0xb04]
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3d4], 0x10
push 0x40
push 0
lea ecx, [ebp - 0x358]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x40
push 0
lea edx, [ebp - 0x310]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x3d4]
push eax
mov ecx, dword [ebp - 0x3d0]
push ecx
lea edx, [ebp - 0x358]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x3d4]
push eax
mov ecx, dword [ebp - 0x3d0]
push ecx
lea edx, [ebp - 0x310]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x4f4], 0
jmp 0x47bfd5
mov eax, dword [ebp - 0x4f4]
add eax, 1
mov dword [ebp - 0x4f4], eax
cmp dword [ebp - 0x4f4], 0x40
jge 0x47c01c
mov ecx, dword [ebp - 0x4f4]
movzx edx, byte [ebp + ecx - 0x358]
xor edx, 0x36
mov eax, dword [ebp - 0x4f4]
mov byte [ebp + eax - 0x358], dl
mov ecx, dword [ebp - 0x4f4]
movzx edx, byte [ebp + ecx - 0x310]
xor edx, 0x5c
mov eax, dword [ebp - 0x4f4]
mov byte [ebp + eax - 0x310], dl
jmp 0x47bfc6
lea ecx, [ebp - 0x3c8]
call fcn.00474910
push 0x40
lea ecx, [ebp - 0x358]
push ecx
lea ecx, [ebp - 0x3c8]
call fcn.004758e0
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0xa68], edx
mov eax, dword [ebp - 0xa68]
push eax
mov ecx, dword [ebp - 0x3cc]
push ecx
lea ecx, [ebp - 0x3c8]
call fcn.004758e0
lea ecx, [ebp - 0x3c8]
call fcn.00475a20
lea ecx, [ebp - 0x3c8]
call fcn.00475850
mov dword [ebp - 0xb08], eax
mov edx, dword [ebp - 0xb08]
mov dword [ebp - 0x2c8], edx
lea ecx, [ebp - 0x480]
call fcn.00474910
push 0x40
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x480]
call fcn.004758e0
push 0x10
mov ecx, dword [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x480]
call fcn.004758e0
lea ecx, [ebp - 0x480]
call fcn.00475a20
lea ecx, [ebp - 0x480]
call fcn.00475780
mov dword [ebp - 0xb0c], eax
mov edx, dword [ebp - 0xb0c]
push edx
lea ecx, [ebp - 0x3f0]
call dword [sym.imp.MSVCP90.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 - 0x3cc]
mov dword [ebp - 0x8b8], eax
mov ecx, dword [ebp - 0x8b8]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp - 0x3d0]
mov dword [ebp - 0x8bc], edx
mov eax, dword [ebp - 0x8bc]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x8c0], ecx
mov edx, dword [ebp - 0x8c0]
push edx
call sub.mfc90.dll_Ordinal_266
add esp, 4
push 0x4aa3fc
mov eax, dword [ebp - 0xaa0]
add eax, 0xe8
push eax
lea ecx, [ebp - 0x8dc]
push ecx
call dword [sym.imp.MSVCP90.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 - 0xb10], eax
mov edx, dword [ebp - 0xb10]
mov dword [ebp - 0xb14], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x3f0]
push eax
mov ecx, dword [ebp - 0xb14]
push ecx
lea edx, [ebp - 0x8f8]
push edx
call dword [sym.imp.MSVCP90.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 - 0xb18], eax
mov eax, dword [ebp - 0xb18]
mov dword [ebp - 0xb1c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xb1c]
push ecx
lea ecx, [ebp - 0x3f0]
call dword [0x4873d8]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8f8]
call dword [sym.imp.MSVCP90.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 - 0x8dc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [ebp - 0x3dc]
mov dword [ebp - 0xa6c], edx
cmp dword [ebp - 0x3d8], 0x10
jb 0x47c1fc
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0xb20], eax
jmp 0x47c208
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 0xb20], ecx
mov edx, dword [ebp - 0xa6c]
push edx
mov eax, dword [ebp - 0xb20]
push eax
lea ecx, [ebp - 0x914]
push ecx
call fcn.0047ecb0
add esp, 0xc
mov dword [ebp - 0xb24], eax
mov edx, dword [ebp - 0xb24]
mov dword [ebp - 0xb28], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xb28]
push eax
lea ecx, [ebp - 0x40c]
call dword [0x4873d8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x914]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x3f4], 0x10
jb 0x47c275
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0xb2c], ecx
jmp 0x47c281
lea edx, [ebp - 0x408]
mov dword [ebp - 0xb2c], edx
mov eax, dword [ebp - 0xb2c]
push eax
push str._s_r_n
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
push 8
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f0]
call dword [sym.imp.MSVCP90.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 - 0x40c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x47d9b8
push str.DIGEST_MD5
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x148]
push eax
call fcn.00476760
add esp, 8
movzx ecx, al
cmp ecx, 1
jne 0x47d991
push 6
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
push str.AUTH_DIGEST_MD5_r_n
push 0x2800
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
lea ecx, [ebp - 0x7a4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xb30], eax
mov byte [ebp - 4], 0xa
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 4
lea ecx, [ebp - 0x930]
push ecx
lea ecx, [ebp - 0x7a4]
call dword [sym.imp.MSVCP90.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 - 0xb34], eax
mov edx, dword [ebp - 0xb34]
mov dword [ebp - 0xb38], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xb38]
push eax
lea ecx, [ebp - 0x7a4]
call dword [0x4873d8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x930]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x7a4]
push ecx
lea edx, [ebp - 0x788]
push edx
call fcn.0047ef40
add esp, 8
mov dword [ebp - 0xb3c], eax
mov byte [ebp - 4], 0xc
push 0
push str.nonce
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP90.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 - 0xb40], eax
mov eax, dword [ebp - 0xb40]
mov dword [ebp - 0x7bc], eax
cmp dword [ebp - 0x7bc], 0
jge 0x47c46a
mov dword [ebp - 0x938], 0xcf
mov ecx, dword [ebp - 0x938]
mov dword [ebp - 0x934], ecx
push 0x4aec94
lea edx, [ebp - 0x934]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x7bc]
add edx, 7
push edx
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP90.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 - 0xb44], eax
mov byte [ebp - 4], 0xd
push 0
push 0x4aa538
lea ecx, [ebp - 0x75c]
call dword [sym.imp.MSVCP90.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 - 0xb48], eax
mov ecx, dword [ebp - 0xb48]
mov dword [ebp - 0x7bc], ecx
cmp dword [ebp - 0x7bc], 0
jge 0x47c4ee
mov dword [ebp - 0x940], 0xcf
mov edx, dword [ebp - 0x940]
mov dword [ebp - 0x93c], edx
push 0x4aec94
lea eax, [ebp - 0x93c]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov ecx, dword [ebp - 0x7bc]
push ecx
push 0
lea edx, [ebp - 0x95c]
push edx
lea ecx, [ebp - 0x75c]
call dword [sym.imp.MSVCP90.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 - 0xb4c], eax
mov eax, dword [ebp - 0xb4c]
mov dword [ebp - 0xb50], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xb50]
push ecx
lea ecx, [ebp - 0x75c]
call dword [0x4873d8]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x95c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x520]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 0xb54], eax
mov byte [ebp - 4], 0xf
push 0
push str.realm
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP90.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 - 0xb58], eax
mov edx, dword [ebp - 0xb58]
mov dword [ebp - 0x7bc], edx
cmp dword [ebp - 0x7bc], 0
jl 0x47c693
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x7bc]
add edx, 7
push edx
lea eax, [ebp - 0x978]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP90.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 - 0xb5c], eax
mov ecx, dword [ebp - 0xb5c]
mov dword [ebp - 0xb60], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xb60]
push edx
lea ecx, [ebp - 0x520]
call dword [0x4873d8]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x978]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
push 0x4aa538
lea ecx, [ebp - 0x520]
call dword [sym.imp.MSVCP90.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 - 0xb64], eax
mov eax, dword [ebp - 0xb64]
mov dword [ebp - 0x7bc], eax
cmp dword [ebp - 0x7bc], 0
jge 0x47c63e
mov dword [ebp - 0x980], 0xcf
mov ecx, dword [ebp - 0x980]
mov dword [ebp - 0x97c], ecx
push 0x4aec94
lea edx, [ebp - 0x97c]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x7bc]
push eax
push 0
lea ecx, [ebp - 0x99c]
push ecx
lea ecx, [ebp - 0x520]
call dword [sym.imp.MSVCP90.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 - 0xb68], eax
mov edx, dword [ebp - 0xb68]
mov dword [ebp - 0xb6c], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xb6c]
push eax
lea ecx, [ebp - 0x520]
call dword [0x4873d8]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x99c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push eax
push 0x4a9960
push 0x11
lea ecx, [ebp - 0x7b8]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
push 1
push str._08d
push 9
lea edx, [ebp - 0x76c]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
push str.auth
lea ecx, [ebp - 0x6c8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xb70], eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x6ac], 0x80
lea eax, [ebp - 0x6ac]
push eax
lea ecx, [ebp - 0x840]
push ecx
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x47c740
mov dword [ebp - 0x9a4], 0xd0
mov ecx, dword [ebp - 0x9a4]
mov dword [ebp - 0x9a0], ecx
push 0x4aec94
lea edx, [ebp - 0x9a0]
push edx
call sub.MSVCR90.dll__CxxThrowException
lea eax, [ebp - 0x840]
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x544]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0xb74], eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x544]
push eax
push str.smtp_
lea ecx, [ebp - 0x9c0]
push ecx
call dword [sym.imp.MSVCP90.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 - 0xb78], eax
mov edx, dword [ebp - 0xb78]
mov dword [ebp - 0xb7c], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xb7c]
push eax
lea ecx, [ebp - 0x544]
call dword [0x4873d8]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x9c0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x508], 0x10
jb 0x47c7df
mov ecx, dword [ebp - 0x51c]
mov dword [ebp - 0xb80], ecx
jmp 0x47c7eb
lea edx, [ebp - 0x51c]
mov dword [ebp - 0xb80], edx
mov eax, dword [ebp - 0xb80]
push eax
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xb84], eax
mov ecx, dword [ebp - 0xb84]
mov dword [ebp - 0x760], ecx
mov edx, dword [ebp - 0xaa0]
add edx, 0xe8
mov dword [ebp - 0xa70], edx
mov eax, dword [ebp - 0xa70]
cmp dword [eax + 0x18], 0x10
jb 0x47c83b
mov ecx, dword [ebp - 0xa70]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xb88], edx
jmp 0x47c84a
mov eax, dword [ebp - 0xa70]
add eax, 4
mov dword [ebp - 0xb88], eax
mov ecx, dword [ebp - 0xb88]
push ecx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xb8c], eax
mov edx, dword [ebp - 0xb8c]
mov dword [ebp - 0x73c], edx
mov eax, dword [ebp - 0xaa0]
add eax, 0x104
mov dword [ebp - 0xa74], eax
mov ecx, dword [ebp - 0xa74]
cmp dword [ecx + 0x18], 0x10
jb 0x47c899
mov edx, dword [ebp - 0xa74]
mov eax, dword [edx + 4]
mov dword [ebp - 0xb90], eax
jmp 0x47c8a8
mov ecx, dword [ebp - 0xa74]
add ecx, 4
mov dword [ebp - 0xb90], ecx
mov edx, dword [ebp - 0xb90]
push edx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xb94], eax
mov eax, dword [ebp - 0xb94]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x744], 0x10
jb 0x47c8e0
mov ecx, dword [ebp - 0x758]
mov dword [ebp - 0xb98], ecx
jmp 0x47c8ec
lea edx, [ebp - 0x758]
mov dword [ebp - 0xb98], edx
mov eax, dword [ebp - 0xb98]
push eax
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xb9c], eax
mov ecx, dword [ebp - 0xb9c]
mov dword [ebp - 0x4f8], ecx
lea edx, [ebp - 0x7b8]
push edx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xba0], eax
mov eax, dword [ebp - 0xba0]
mov dword [ebp - 0x504], eax
cmp dword [ebp - 0x52c], 0x10
jb 0x47c945
mov ecx, dword [ebp - 0x540]
mov dword [ebp - 0xba4], ecx
jmp 0x47c951
lea edx, [ebp - 0x540]
mov dword [ebp - 0xba4], edx
mov eax, dword [ebp - 0xba4]
push eax
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xba8], eax
mov ecx, dword [ebp - 0xba8]
mov dword [ebp - 0x844], ecx
lea edx, [ebp - 0x76c]
push edx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xbac], eax
mov eax, dword [ebp - 0xbac]
mov dword [ebp - 0x5bc], eax
cmp dword [ebp - 0x6b0], 0x10
jb 0x47c9aa
mov ecx, dword [ebp - 0x6c4]
mov dword [ebp - 0xbb0], ecx
jmp 0x47c9b6
lea edx, [ebp - 0x6c4]
mov dword [ebp - 0xbb0], edx
mov eax, dword [ebp - 0xbb0]
push eax
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xbb4], eax
mov ecx, dword [ebp - 0xbb4]
mov dword [ebp - 0x6a4], ecx
cmp dword [ebp - 0x760], 0
je 0x47ca1f
cmp dword [ebp - 0x73c], 0
je 0x47ca1f
cmp dword [ebp - 0x6a8], 0
je 0x47ca1f
cmp dword [ebp - 0x4f8], 0
je 0x47ca1f
cmp dword [ebp - 0x504], 0
je 0x47ca1f
cmp dword [ebp - 0x844], 0
je 0x47ca1f
cmp dword [ebp - 0x5bc], 0
je 0x47ca1f
cmp dword [ebp - 0x6a4], 0
jne 0x47ca46
mov dword [ebp - 0x9c8], 0xce
mov edx, dword [ebp - 0x9c8]
mov dword [ebp - 0x9c4], edx
push 0x4aec94
lea eax, [ebp - 0x9c4]
push eax
call sub.MSVCR90.dll__CxxThrowException
lea ecx, [ebp - 0x738]
call fcn.00474910
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0xfc]
mov dword [ebp - 0xa78], edx
mov eax, dword [ebp - 0xa78]
push eax
mov ecx, dword [ebp - 0x73c]
push ecx
lea ecx, [ebp - 0x738]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x738]
call fcn.004758e0
mov edx, dword [ebp - 0x50c]
mov dword [ebp - 0xa7c], edx
mov eax, dword [ebp - 0xa7c]
push eax
mov ecx, dword [ebp - 0x760]
push ecx
lea ecx, [ebp - 0x738]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x738]
call fcn.004758e0
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x118]
mov dword [ebp - 0xa80], eax
mov ecx, dword [ebp - 0xa80]
push ecx
mov edx, dword [ebp - 0x6a8]
push edx
lea ecx, [ebp - 0x738]
call fcn.004758e0
lea ecx, [ebp - 0x738]
call fcn.00475a20
lea ecx, [ebp - 0x738]
call fcn.00475850
mov dword [ebp - 0xbb8], eax
mov eax, dword [ebp - 0xbb8]
mov dword [ebp - 0x740], eax
lea ecx, [ebp - 0x5b8]
call fcn.00474910
push 0x10
mov ecx, dword [ebp - 0x740]
push ecx
lea ecx, [ebp - 0x5b8]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x5b8]
call fcn.004758e0
mov edx, dword [ebp - 0x748]
mov dword [ebp - 0xa84], edx
mov eax, dword [ebp - 0xa84]
push eax
mov ecx, dword [ebp - 0x4f8]
push ecx
lea ecx, [ebp - 0x5b8]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x5b8]
call fcn.004758e0
lea edx, [ebp - 0x7b8]
mov dword [ebp - 0xbbc], edx
mov eax, dword [ebp - 0xbbc]
add eax, 1
mov dword [ebp - 0xbc0], eax
mov ecx, dword [ebp - 0xbbc]
mov dl, byte [ecx]
mov byte [ebp - 0xbc1], dl
add dword [ebp - 0xbbc], 1
cmp byte [ebp - 0xbc1], 0
jne 0x47cb9b
mov eax, dword [ebp - 0xbbc]
sub eax, dword [ebp - 0xbc0]
mov dword [ebp - 0xbc8], eax
mov ecx, dword [ebp - 0xbc8]
push ecx
mov edx, dword [ebp - 0x504]
push edx
lea ecx, [ebp - 0x5b8]
call fcn.004758e0
lea ecx, [ebp - 0x5b8]
call fcn.00475a20
lea ecx, [ebp - 0x5b8]
call fcn.00475780
mov dword [ebp - 0xbcc], eax
mov eax, dword [ebp - 0xbcc]
mov dword [ebp - 0x500], eax
lea ecx, [ebp - 0x6a0]
call fcn.00474910
push 0xd
push str.AUTHENTICATE:
lea ecx, [ebp - 0x6a0]
call fcn.004758e0
mov ecx, dword [ebp - 0x530]
mov dword [ebp - 0xa88], ecx
mov edx, dword [ebp - 0xa88]
push edx
mov eax, dword [ebp - 0x844]
push eax
lea ecx, [ebp - 0x6a0]
call fcn.004758e0
lea ecx, [ebp - 0x6a0]
call fcn.00475a20
lea ecx, [ebp - 0x6a0]
call fcn.00475780
mov dword [ebp - 0xbd0], eax
mov ecx, dword [ebp - 0xbd0]
mov dword [ebp - 0x7c0], ecx
mov edx, dword [ebp - 0x740]
mov dword [ebp - 0x9cc], edx
mov eax, dword [ebp - 0x9cc]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x500]
push ecx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xbd4], eax
mov edx, dword [ebp - 0xbd4]
mov dword [ebp - 0x740], edx
mov eax, dword [ebp - 0x7c0]
push eax
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xbd8], eax
mov ecx, dword [ebp - 0xbd8]
mov dword [ebp - 0x528], ecx
lea ecx, [ebp - 0x630]
call fcn.00474910
push 0x20
mov edx, dword [ebp - 0x740]
push edx
lea ecx, [ebp - 0x630]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x630]
call fcn.004758e0
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0xa8c], eax
mov ecx, dword [ebp - 0xa8c]
push ecx
mov edx, dword [ebp - 0x4f8]
push edx
lea ecx, [ebp - 0x630]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x630]
call fcn.004758e0
lea eax, [ebp - 0x76c]
mov dword [ebp - 0xbdc], eax
mov ecx, dword [ebp - 0xbdc]
add ecx, 1
mov dword [ebp - 0xbe0], ecx
mov edx, dword [ebp - 0xbdc]
mov al, byte [edx]
mov byte [ebp - 0xbe1], al
add dword [ebp - 0xbdc], 1
cmp byte [ebp - 0xbe1], 0
jne 0x47cd56
mov ecx, dword [ebp - 0xbdc]
sub ecx, dword [ebp - 0xbe0]
mov dword [ebp - 0xbe8], ecx
mov edx, dword [ebp - 0xbe8]
push edx
mov eax, dword [ebp - 0x5bc]
push eax
lea ecx, [ebp - 0x630]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x630]
call fcn.004758e0
lea ecx, [ebp - 0x7b8]
mov dword [ebp - 0xbec], ecx
mov edx, dword [ebp - 0xbec]
add edx, 1
mov dword [ebp - 0xbf0], edx
mov eax, dword [ebp - 0xbec]
mov cl, byte [eax]
mov byte [ebp - 0xbf1], cl
add dword [ebp - 0xbec], 1
cmp byte [ebp - 0xbf1], 0
jne 0x47cdcc
mov edx, dword [ebp - 0xbec]
sub edx, dword [ebp - 0xbf0]
mov dword [ebp - 0xbf8], edx
mov eax, dword [ebp - 0xbf8]
push eax
mov ecx, dword [ebp - 0x504]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x630]
call fcn.004758e0
mov edx, dword [ebp - 0x6b4]
mov dword [ebp - 0xa90], edx
mov eax, dword [ebp - 0xa90]
push eax
mov ecx, dword [ebp - 0x6a4]
push ecx
lea ecx, [ebp - 0x630]
call fcn.004758e0
push 1
push 0x4aa55c
lea ecx, [ebp - 0x630]
call fcn.004758e0
push 0x20
mov edx, dword [ebp - 0x528]
push edx
lea ecx, [ebp - 0x630]
call fcn.004758e0
lea ecx, [ebp - 0x630]
call fcn.00475a20
lea ecx, [ebp - 0x630]
call fcn.00475780
mov dword [ebp - 0xbfc], eax
mov eax, dword [ebp - 0xbfc]
push eax
lea ecx, [ebp - 0x788]
call dword [sym.imp.MSVCP90.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 [ebp - 0x760]
mov dword [ebp - 0x9d0], ecx
mov edx, dword [ebp - 0x9d0]
push edx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x73c]
mov dword [ebp - 0x9d4], eax
mov ecx, dword [ebp - 0x9d4]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp - 0x6a8]
mov dword [ebp - 0x9d8], edx
mov eax, dword [ebp - 0x9d8]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x9dc], ecx
mov edx, dword [ebp - 0x9dc]
push edx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x9e0], eax
mov ecx, dword [ebp - 0x9e0]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x9e4], edx
mov eax, dword [ebp - 0x9e4]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp - 0x9e8], ecx
mov edx, dword [ebp - 0x9e8]
push edx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x6a4]
mov dword [ebp - 0x9ec], eax
mov ecx, dword [ebp - 0x9ec]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp - 0x740]
mov dword [ebp - 0x9f0], edx
mov eax, dword [ebp - 0x9f0]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x528]
mov dword [ebp - 0x9f4], ecx
mov edx, dword [ebp - 0x9f4]
push edx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x9f8], eax
mov ecx, dword [ebp - 0x9f8]
push ecx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov edx, dword [ebp - 0x7c0]
mov dword [ebp - 0x9fc], edx
mov eax, dword [ebp - 0x9fc]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x148]
mov dword [ebp - 0xa94], edx
push str.charset
mov eax, dword [ebp - 0xa94]
push eax
call dword [sym.imp.MSVCR90.dll_strstr]
add esp, 8
test eax, eax
jb 0x47d077
mov ecx, dword [ebp - 0xaa0]
add ecx, 0xe8
mov dword [ebp - 0xa98], ecx
mov edx, dword [ebp - 0xa98]
cmp dword [edx + 0x18], 0x10
jb 0x47d03f
mov eax, dword [ebp - 0xa98]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc00], ecx
jmp 0x47d04e
mov edx, dword [ebp - 0xa98]
add edx, 4
mov dword [ebp - 0xc00], edx
mov eax, dword [ebp - 0xc00]
push eax
push str.charsetutf_8_username__s_
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
jmp 0x47d0db
mov eax, dword [ebp - 0xaa0]
add eax, 0xe8
mov dword [ebp - 0xa9c], eax
mov ecx, dword [ebp - 0xa9c]
cmp dword [ecx + 0x18], 0x10
jb 0x47d0a5
mov edx, dword [ebp - 0xa9c]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc04], eax
jmp 0x47d0b4
mov ecx, dword [ebp - 0xa9c]
add ecx, 4
mov dword [ebp - 0xc04], ecx
mov edx, dword [ebp - 0xc04]
push edx
push str.username__s_
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
xor edx, edx
cmp dword [ebp - 0x50c], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x47d1ea
cmp dword [ebp - 0x508], 0x10
jb 0x47d109
mov ecx, dword [ebp - 0x51c]
mov dword [ebp - 0xc08], ecx
jmp 0x47d115
lea edx, [ebp - 0x51c]
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xc08]
push eax
push str._realm__s_
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x148]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
mov dword [ebp - 0xc0c], ecx
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0xc10], edx
mov eax, dword [ebp - 0xc0c]
mov cl, byte [eax]
mov byte [ebp - 0xc11], cl
add dword [ebp - 0xc0c], 1
cmp byte [ebp - 0xc11], 0
jne 0x47d15a
mov edx, dword [ebp - 0xc0c]
sub edx, dword [ebp - 0xc10]
mov eax, dword [ebp - 0xc10]
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edx
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
add edx, 0xffffffff
mov dword [ebp - 0xc20], edx
mov eax, dword [ebp - 0xc20]
mov cl, byte [eax + 1]
mov byte [ebp - 0xc21], cl
add dword [ebp - 0xc20], 1
cmp byte [ebp - 0xc21], 0
jne 0x47d1ab
mov edi, dword [ebp - 0xc20]
mov esi, dword [ebp - 0xc18]
mov edx, dword [ebp - 0xc1c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x744], 0x10
jb 0x47d201
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0xc28], eax
jmp 0x47d20d
lea ecx, [ebp - 0x758]
mov dword [ebp - 0xc28], ecx
mov edx, dword [ebp - 0xc28]
push edx
push str._nonce__s_
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x148]
mov dword [ebp - 0xc2c], eax
mov ecx, dword [ebp - 0xc2c]
mov dword [ebp - 0xc30], ecx
mov edx, dword [ebp - 0xc2c]
mov al, byte [edx]
mov byte [ebp - 0xc31], al
add dword [ebp - 0xc2c], 1
cmp byte [ebp - 0xc31], 0
jne 0x47d252
mov ecx, dword [ebp - 0xc2c]
sub ecx, dword [ebp - 0xc30]
mov edx, dword [ebp - 0xc30]
mov dword [ebp - 0xc38], edx
mov dword [ebp - 0xc3c], ecx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
add ecx, 0xffffffff
mov dword [ebp - 0xc40], ecx
mov edx, dword [ebp - 0xc40]
mov al, byte [edx + 1]
mov byte [ebp - 0xc41], al
add dword [ebp - 0xc40], 1
cmp byte [ebp - 0xc41], 0
jne 0x47d2a3
mov edi, dword [ebp - 0xc40]
mov esi, dword [ebp - 0xc38]
mov edx, dword [ebp - 0xc3c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x76c]
push eax
push str._nc_s
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x148]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
mov dword [ebp - 0xc48], ecx
mov edx, dword [ebp - 0xc48]
mov dword [ebp - 0xc4c], edx
mov eax, dword [ebp - 0xc48]
mov cl, byte [eax]
mov byte [ebp - 0xc4d], cl
add dword [ebp - 0xc48], 1
cmp byte [ebp - 0xc4d], 0
jne 0x47d327
mov edx, dword [ebp - 0xc48]
sub edx, dword [ebp - 0xc4c]
mov eax, dword [ebp - 0xc4c]
mov dword [ebp - 0xc54], eax
mov dword [ebp - 0xc58], edx
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
add edx, 0xffffffff
mov dword [ebp - 0xc5c], edx
mov eax, dword [ebp - 0xc5c]
mov cl, byte [eax + 1]
mov byte [ebp - 0xc5d], cl
add dword [ebp - 0xc5c], 1
cmp byte [ebp - 0xc5d], 0
jne 0x47d378
mov edi, dword [ebp - 0xc5c]
mov esi, dword [ebp - 0xc54]
mov edx, dword [ebp - 0xc58]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x7b8]
push eax
push str._cnonce__s_
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x148]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
mov dword [ebp - 0xc64], ecx
mov edx, dword [ebp - 0xc64]
mov dword [ebp - 0xc68], edx
mov eax, dword [ebp - 0xc64]
mov cl, byte [eax]
mov byte [ebp - 0xc69], cl
add dword [ebp - 0xc64], 1
cmp byte [ebp - 0xc69], 0
jne 0x47d3fc
mov edx, dword [ebp - 0xc64]
sub edx, dword [ebp - 0xc68]
mov eax, dword [ebp - 0xc68]
mov dword [ebp - 0xc70], eax
mov dword [ebp - 0xc74], edx
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
add edx, 0xffffffff
mov dword [ebp - 0xc78], edx
mov eax, dword [ebp - 0xc78]
mov cl, byte [eax + 1]
mov byte [ebp - 0xc79], cl
add dword [ebp - 0xc78], 1
cmp byte [ebp - 0xc79], 0
jne 0x47d44d
mov edi, dword [ebp - 0xc78]
mov esi, dword [ebp - 0xc70]
mov edx, dword [ebp - 0xc74]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x52c], 0x10
jb 0x47d4a3
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0xc80], eax
jmp 0x47d4af
lea ecx, [ebp - 0x540]
mov dword [ebp - 0xc80], ecx
mov edx, dword [ebp - 0xc80]
push edx
push str._digest_uri__s_
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x148]
mov dword [ebp - 0xc84], eax
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0xc88], ecx
mov edx, dword [ebp - 0xc84]
mov al, byte [edx]
mov byte [ebp - 0xc89], al
add dword [ebp - 0xc84], 1
cmp byte [ebp - 0xc89], 0
jne 0x47d4f4
mov ecx, dword [ebp - 0xc84]
sub ecx, dword [ebp - 0xc88]
mov edx, dword [ebp - 0xc88]
mov dword [ebp - 0xc90], edx
mov dword [ebp - 0xc94], ecx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
add ecx, 0xffffffff
mov dword [ebp - 0xc98], ecx
mov edx, dword [ebp - 0xc98]
mov al, byte [edx + 1]
mov byte [ebp - 0xc99], al
add dword [ebp - 0xc98], 1
cmp byte [ebp - 0xc99], 0
jne 0x47d545
mov edi, dword [ebp - 0xc98]
mov esi, dword [ebp - 0xc90]
mov edx, dword [ebp - 0xc94]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x770], 0x10
jb 0x47d59b
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0xca0], eax
jmp 0x47d5a7
lea ecx, [ebp - 0x784]
mov dword [ebp - 0xca0], ecx
mov edx, dword [ebp - 0xca0]
push edx
push str._response_s
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x148]
mov dword [ebp - 0xca4], eax
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0xca8], ecx
mov edx, dword [ebp - 0xca4]
mov al, byte [edx]
mov byte [ebp - 0xca9], al
add dword [ebp - 0xca4], 1
cmp byte [ebp - 0xca9], 0
jne 0x47d5ec
mov ecx, dword [ebp - 0xca4]
sub ecx, dword [ebp - 0xca8]
mov edx, dword [ebp - 0xca8]
mov dword [ebp - 0xcb0], edx
mov dword [ebp - 0xcb4], ecx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
add ecx, 0xffffffff
mov dword [ebp - 0xcb8], ecx
mov edx, dword [ebp - 0xcb8]
mov al, byte [edx + 1]
mov byte [ebp - 0xcb9], al
add dword [ebp - 0xcb8], 1
cmp byte [ebp - 0xcb9], 0
jne 0x47d63d
mov edi, dword [ebp - 0xcb8]
mov esi, dword [ebp - 0xcb0]
mov edx, dword [ebp - 0xcb4]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x6b0], 0x10
jb 0x47d693
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0xcc0], eax
jmp 0x47d69f
lea ecx, [ebp - 0x6c4]
mov dword [ebp - 0xcc0], ecx
mov edx, dword [ebp - 0xcc0]
push edx
push str._qop_s
push 0x2800
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x148]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x148]
mov dword [ebp - 0xcc4], eax
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0xcc8], ecx
mov edx, dword [ebp - 0xcc4]
mov al, byte [edx]
mov byte [ebp - 0xcc9], al
add dword [ebp - 0xcc4], 1
cmp byte [ebp - 0xcc9], 0
jne 0x47d6e4
mov ecx, dword [ebp - 0xcc4]
sub ecx, dword [ebp - 0xcc8]
mov edx, dword [ebp - 0xcc8]
mov dword [ebp - 0xcd0], edx
mov dword [ebp - 0xcd4], ecx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
add ecx, 0xffffffff
mov dword [ebp - 0xcd8], ecx
mov edx, dword [ebp - 0xcd8]
mov al, byte [edx + 1]
mov byte [ebp - 0xcd9], al
add dword [ebp - 0xcd8], 1
cmp byte [ebp - 0xcd9], 0
jne 0x47d735
mov edi, dword [ebp - 0xcd8]
mov esi, dword [ebp - 0xcd0]
mov edx, dword [ebp - 0xcd4]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
push ecx
call fcn.004766c0
add esp, 4
mov dword [ebp - 0xce0], eax
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x4fc], edx
mov eax, dword [ebp - 0xaa0]
mov ecx, dword [eax + 0x144]
mov dword [ebp - 0xce4], ecx
mov edx, dword [ebp - 0xce4]
add edx, 1
mov dword [ebp - 0xce8], edx
mov eax, dword [ebp - 0xce4]
mov cl, byte [eax]
mov byte [ebp - 0xce9], cl
add dword [ebp - 0xce4], 1
cmp byte [ebp - 0xce9], 0
jne 0x47d7bc
mov edx, dword [ebp - 0xce4]
sub edx, dword [ebp - 0xce8]
mov dword [ebp - 0xcf0], edx
mov eax, dword [ebp - 0xcf0]
push eax
mov ecx, dword [ebp - 0x4fc]
push ecx
lea edx, [ebp - 0xa18]
push edx
call fcn.0047ecb0
add esp, 0xc
mov dword [ebp - 0xcf4], eax
mov eax, dword [ebp - 0xcf4]
mov dword [ebp - 0xcf8], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xcf8]
push ecx
lea ecx, [ebp - 0x7a4]
call dword [0x4873d8]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [ebp - 0x4fc]
mov dword [ebp - 0xa1c], edx
mov eax, dword [ebp - 0xa1c]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
cmp dword [ebp - 0x78c], 0x10
jb 0x47d874
mov ecx, dword [ebp - 0x7a0]
mov dword [ebp - 0xcfc], ecx
jmp 0x47d880
lea edx, [ebp - 0x7a0]
mov dword [ebp - 0xcfc], edx
mov eax, dword [ebp - 0xcfc]
push eax
push str._s_r_n
push 0x2800
mov ecx, dword [ebp - 0xaa0]
mov edx, dword [ecx + 0x144]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
push 6
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
push 0x4aa490
push 0x2800
mov edx, dword [ebp - 0xaa0]
mov eax, dword [edx + 0x144]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0xc
push 8
call fcn.004768f0
add esp, 4
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0xaa0]
call fcn.004776a0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp - 0xaa0]
call fcn.00479eb0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x544]
call dword [sym.imp.MSVCP90.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 - 0x6c8]
call dword [sym.imp.MSVCP90.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 - 0x520]
call dword [sym.imp.MSVCP90.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 - 0x75c]
call dword [sym.imp.MSVCP90.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 - 0x788]
call dword [sym.imp.MSVCP90.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 - 0x7a4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x47d9b8
mov dword [ebp - 0xa24], 0x1a1
mov eax, dword [ebp - 0xa24]
mov dword [ebp - 0xa20], eax
push 0x4aec94
lea ecx, [ebp - 0xa20]
push ecx
call sub.MSVCR90.dll__CxxThrowException
jmp 0x47da33
mov dword [ebp - 4], 0xffffffff
jmp 0x47da44
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.00408de6
mov esp, ebp
pop ebp
ret 0x18