Function at 0x464ed0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bb8e8
push 0x476800
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4c26a0]
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.00460770
test al, al
jne 0x464f22
xor eax, eax
jmp 0x4651d8
call fcn.00460610
mov byte [ebp - 0x144], 0
push 0xff
push 0
lea eax, [ebp - 0x143]
push eax
call fcn.00475190
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.00477260
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 0x464f75
mov ecx, dword [str.XYDump.dll]
mov dword [eax], ecx
mov edx, dword [0x4aa9ac]
mov dword [eax + 4], edx
mov ecx, dword [0x4aa9b0]
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 0x4650f0
push str.InitXYDumpEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2e8], eax
test eax, eax
je 0x4650f0
mov eax, dword [str.yxqlog]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x4aa98c]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x4aa990]
mov dword [ebp - 0x3c], edx
mov ax, word [0x4aa994]
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 [0x4c3c58], eax
je 0x46502e
cmp dword [0x4c3c5c], 0x10
jb 0x465027
mov edi, dword [0x4c3c48]
jmp 0x465072
mov edi, 0x4c3c48
jmp 0x465072
call fcn.00463c90
cmp dword [0x4c418c], edi
je 0x465072
mov ebx, 0x10
cmp dword [0x4c4190], ebx
mov eax, dword [0x4c417c]
jae 0x465052
mov eax, 0x4c417c
push eax
call fcn.00476b5f
add esp, 4
test eax, eax
jle 0x465072
cmp dword [0x4c4190], ebx
mov edi, dword [0x4c417c]
jae 0x465072
mov edi, 0x4c417c
test edi, edi
je 0x4650c4
call dword [0x4c2558]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x4650be
lea eax, [esi + esi]
call fcn.004769a0
mov dword [ebp - 0x18], esp
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.004010b0
test eax, eax
je 0x4650be
push eax
push str.yxqlog__s
lea ecx, [ebp - 0x44]
push ecx
call fcn.0045a410
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 0x4650d0
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 0x4aa964
mov edx, dword [ebp + 8]
push edx
push 0
mov ecx, 0x4c4284
call fcn.0045aad0
call fcn.004294e0
test esi, esi
je 0x4651b1
push str.RecordExceptionInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2d8], eax
test eax, eax
je 0x4651b1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push edi
call fcn.004645c0
add esp, 8
mov esi, eax
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x4651c0
mov edx, dword [ebp + 0x14]
push edx
push edi
call fcn.004645c0
add esp, 8
mov esi, eax
mov ecx, 0x4c4284
call fcn.0045e430
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.00475ec4
mov esp, ebp
pop ebp
ret 0x10