Function at 0x468af0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4c0040
push 0x479eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4c7894]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2d8], edi
call fcn.00464310
test al, al
jne 0x468b42
xor eax, eax
jmp 0x468df8
call fcn.004641b0
mov byte [ebp - 0x144], 0
push 0xff
push 0
lea eax, [ebp - 0x143]
push eax
call fcn.00479d70
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x144]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x144]
push edx
call fcn.0047bce0
add esp, 8
mov byte [eax], 0
lea eax, [ebp - 0x144]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x468b95
mov ecx, dword [str.XYDump.dll]
mov dword [eax], ecx
mov edx, dword [0x4aead4]
mov dword [eax + 4], edx
mov ecx, dword [0x4aead8]
mov dword [eax + 8], ecx
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x2e0], esi
test esi, esi
je 0x468d10
push str.InitXYDumpEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2e8], eax
test eax, eax
je 0x468d10
mov eax, dword [str.yxqlog]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x4aeab4]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x4aeab8]
mov dword [ebp - 0x3c], edx
mov ax, word [0x4aeabc]
mov word [ebp - 0x38], ax
xor eax, eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
xor edi, edi
cmp dword [0x4c8e48], eax
je 0x468c4e
cmp dword [0x4c8e4c], 0x10
jb 0x468c47
mov edi, dword [0x4c8e38]
jmp 0x468c92
mov edi, 0x4c8e38
jmp 0x468c92
call fcn.004678e0
cmp dword [0x4c93b4], edi
je 0x468c92
mov ebx, 0x10
cmp dword [0x4c93b8], ebx
mov eax, dword [0x4c93a4]
jae 0x468c72
mov eax, 0x4c93a4
push eax
call fcn.0047b5ea
add esp, 4
test eax, eax
jle 0x468c92
cmp dword [0x4c93b8], ebx
mov edi, dword [0x4c93a4]
jae 0x468c92
mov edi, 0x4c93a4
test edi, edi
je 0x468ce4
call dword [0x4c77f4]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x468cde
lea eax, [esi + esi]
call fcn.0047a1b0
mov dword [ebp - 0x18], esp
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00401410
test eax, eax
je 0x468cde
push eax
push str.yxqlog__s
lea ecx, [ebp - 0x44]
push ecx
call fcn.0045dfa0
add esp, 0xc
mov esi, dword [ebp - 0x2e0]
lea eax, [ebp - 0x44]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468cf0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x44]
push edx
call dword [ebp - 0x2e8]
mov edi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2d4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0x2dc], 8
mov dword [ebp - 0x2d8], 4
lea ecx, [ebp - 0x2dc]
push ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x4aea8c
mov edx, dword [ebp + 8]
push edx
push 0
mov ecx, 0x4c94b4
call fcn.0045e660
call fcn.00410850
test esi, esi
je 0x468dd1
push str.RecordExceptionInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2d8], eax
test eax, eax
je 0x468dd1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push edi
call fcn.00468210
add esp, 8
mov esi, eax
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x468de0
mov edx, dword [ebp + 0x14]
push edx
push edi
call fcn.00468210
add esp, 8
mov esi, eax
mov ecx, 0x4c94b4
call fcn.00461fc0
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
lea esp, [ebp - 0x2f8]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047a194
mov esp, ebp
pop ebp
ret 0x10