Function at 0x518500
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570a5a
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
push str.Tue_Jun__9_21:48:49_2015
push 0x37
push str.CCharacterProcess::Load
push str.CharSelectProcessCharacterProcess.cpp
lea ecx, [ebp - 0x11]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xa0]
add eax, 0xb960
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [0x6658cc]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 0
je 0x518588
cmp dword [ebp - 0xa4], 1
je 0x5185b3
jmp 0x5185dc
push str..Datainterface1c.wil
mov ecx, dword [ebp - 0xa0]
add ecx, 0x2ad
call fcn.00539da0
push str..DataGameInter.wil
mov ecx, dword [ebp - 0xa0]
add ecx, 8
call fcn.00539da0
jmp 0x5185dc
push str..Datainterface1c.wil
mov ecx, dword [ebp - 0xa0]
add ecx, 0x2ad
call fcn.00539da0
push str..KingDataGameInter.wil
mov ecx, dword [ebp - 0xa0]
add ecx, 8
call fcn.00539da0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0xbb18], 0
mov eax, dword [0x69dad8]
push eax
push 0x69ddf8
mov ecx, 0x69ec08
call fcn.004edfb0
push eax
mov ecx, 0x7c46b0
call fcn.00504420
push 0x10
mov ecx, 0x7c0e48
call fcn.005121c0
push 0
push 0
push 0xcc
mov ecx, 0x7c0e48
call fcn.0043b450
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0xbb68], 0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0xbb5c], 0
push 0
push 0
push 0x6a
push 0x8c
push 1
mov eax, dword [ebp - 0xa0]
add eax, 8
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0xbd88
call fcn.00515510
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0xbaf0], 8
mov edx, dword [ebp - 0xa0]
add edx, 0x2ad
push edx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x554
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0x554]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x554
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x554]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x94], 0x55
mov dword [ebp - 0x90], 0x1f4
mov dword [ebp - 0x8c], 0x1bd
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x58
mov dword [ebp - 0x78], 0x21c
mov dword [ebp - 0x74], 0x1bd
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0x5b
mov dword [ebp - 0x60], 0x10e
mov dword [ebp - 0x5c], 0x19e
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0x5e
mov dword [ebp - 0x48], 0x133
mov dword [ebp - 0x44], 0x19e
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x61
mov dword [ebp - 0x30], 0x157
mov dword [ebp - 0x2c], 0x19e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0xbb58], 0
jne 0x5188f1
push 0x90
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x9c], 0
je 0x51881e
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], 5
push fcn.00513200
push fcn.005131c0
push 5
push 0x1c
mov edx, dword [ebp - 0x9c]
add edx, 4
push edx
call fcn.0054a376
mov eax, dword [ebp - 0x9c]
add eax, 4
mov dword [ebp - 0xa8], eax
jmp 0x518828
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [edx + 0xbb58], eax
mov dword [ebp - 0x10], 0
jmp 0x51885c
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 5
jae 0x5188f1
push 0
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x18
mov eax, dword [ebp + edx - 0x94]
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x2ad
call fcn.0053b180
movzx ecx, al
test ecx, ecx
je 0x5188c7
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x310]
movsx ecx, word [eax]
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x18
mov dword [ebp + edx - 0x88], ecx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x310]
movsx edx, word [ecx + 2]
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x18
mov dword [ebp + eax - 0x84], edx
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x18
lea edx, [ebp + ecx - 0x94]
push edx
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x1c
mov eax, dword [ebp - 0xa0]
add ecx, dword [eax + 0xbb58]
call fcn.00513470
jmp 0x518853
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret