Function at 0x532a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5df47d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x24], eax
je 0x532e45
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call ebx
cmp eax, 1
mov edi, dword [esp + 0x18c]
jne 0x532b32
xor edx, edx
mov dh, byte [esp + 0x18e]
mov eax, edi
and eax, 0xff00
mov ecx, edi
shl ecx, 0x10
add eax, ecx
shl eax, 8
add eax, edx
mov ecx, edi
shr ecx, 0x18
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x184]
mov edx, eax
and edx, 0xff00
mov ecx, eax
shl ecx, 0x10
add edx, ecx
shl edx, 8
xor ecx, ecx
mov ch, byte [esp + 0x186]
shr eax, 0x18
mov dword [esp + 0x1c], 0x20000000
mov dword [esp + 0x20], 0x21436587
mov dword [esp + 0x24], 0x1000000
add edx, ecx
add edx, eax
mov eax, dword [esi + 0x30]
movzx ecx, byte [esi + 0x33]
mov dword [esp + 0x2c], edx
mov edx, eax
shl edx, 0x10
mov dword [esp + 0x14], eax
and eax, 0xff00
add edx, eax
xor eax, eax
mov ah, byte [esp + 0x16]
shl edx, 8
add edx, eax
mov eax, dword [esi + 0x38]
add edx, ecx
movzx ecx, byte [esi + 0x3b]
mov dword [esp + 0x30], edx
mov edx, eax
mov dword [esp + 0x14], eax
shl edx, 0x10
and eax, 0xff00
add edx, eax
xor eax, eax
mov ah, byte [esp + 0x16]
shl edx, 8
add edx, eax
add edx, ecx
mov dword [esp + 0x38], edx
jmp 0x532b67
mov edx, dword [esp + 0x184]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x20], 0x87654321
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x34], 0
lea ebp, [esi + 0x34]
je 0x532bb0
lea edx, [esp + 0x34]
push edx
push 4
push ebp
call fcn.00537310
add esp, 0xc
push 1
call ebx
cmp eax, 1
jne 0x532bb0
mov eax, dword [esp + 0x34]
mov ecx, eax
shl ecx, 0x10
mov edx, eax
and edx, 0xff00
add ecx, edx
xor edx, edx
mov dh, byte [esp + 0x36]
shl ecx, 8
shr eax, 0x18
add ecx, edx
add ecx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x532bbe
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.005328b0
test eax, eax
je 0x532e45
test edi, edi
mov ebx, 0x20
jbe 0x532e41
cmp dword [esi + 0x9c], 0
push edi
je 0x532cf0
lea ecx, [esp + 0x18]
call fcn.0043ed70
mov ecx, dword [esp + 0x188]
mov ebp, dword [esp + 0x14]
push edi
push ecx
push ebp
mov dword [esp + 0x188], 0
call fcn.005c3170
add esp, 0xc
push 1
push 2
lea ecx, [esp + 0x7c]
call fcn.0040a750
mov edx, dword [esi + 0x9c]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x180], 1
call fcn.00419990
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x78]
call fcn.00408c00
mov ebx, eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x180], 2
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov ebx, dword [ebx + 0x14]
mov byte [esp + 0x17c], 3
jb 0x532c78
mov eax, dword [eax + 4]
jmp 0x532c7b
add eax, 4
push edi
push ebp
push ebx
push eax
call fcn.00537370
add esp, 0x10
lea ecx, [esp + 0x58]
call fcn.0040b640
lea ecx, [esp + 0x3c]
mov byte [esp + 0x17c], 1
call fcn.0040b640
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push edi
push ebp
mov ecx, esi
call eax
lea ecx, [esp + 0xc0]
mov ebx, eax
mov byte [esp + 0x17c], 0
call fcn.00409510
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], vtable.std::ios_base.0
call fcn.005d9cc4
push ebp
mov dword [esp + 0x184], 0xffffffff
call fcn.005a1b1d
add esp, 8
jmp 0x532d63
cmp dword [ebp], 0
je 0x532d50
lea ecx, [esp + 0x18]
call fcn.0043ed70
mov edx, dword [esp + 0x188]
mov ebp, dword [esp + 0x14]
push edi
push edx
push ebp
mov dword [esp + 0x188], 4
call fcn.005c3170
push edi
push ebp
lea eax, [esi + 0x34]
push 4
push eax
call fcn.00537370
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esp, 0x1c
push edi
push ebp
mov ecx, esi
call edx
push ebp
mov ebx, eax
mov dword [esp + 0x180], 0xffffffff
call fcn.005a1b1d
add esp, 4
jmp 0x532d63
mov ecx, dword [esp + 0x18c]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, esi
call edx
mov ebx, eax
cmp ebx, edi
je 0x532e41
push 1
push 2
lea ecx, [esp + 0xfc]
call fcn.0040a750
mov dword [esp + 0x17c], 5
call sub.WS2_32.dll_WSAGetLastError
push eax
push 0x604e44
push ebx
lea eax, [esp + 0x100]
push str.send_:
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.0041c7c0
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.0041c7c0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0xf8]
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x17c], 6
jb 0x532de2
mov eax, dword [eax + 4]
jmp 0x532de5
add eax, 4
push eax
push str.BaseLib::CClientSession::SendCmd
push 0x166
push str..ywSMPpubClientSession.cpp
push 0x800
call fcn.00408f70
mov ecx, eax
call fcn.00512650
lea ecx, [esp + 0x3c]
call fcn.0040b640
lea ecx, [esp + 0x140]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00409510
lea edx, [esp + 0x140]
push edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
mov eax, ebx
jmp 0x532e47
xor eax, eax
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 0xc