Function at 0x4b0b30
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5b86f0
push 0x556720
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x5cca0c]
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 - 0x3c8], edi
call fcn.004ae1d0
test al, al
jne 0x4b0b87
call fcn.00491eb0
xor eax, eax
jmp 0x4b0d9a
call fcn.00491eb0
xor ebx, ebx
xor esi, esi
mov word [ebp - 0x234], bx
push 0x206
push ebx
lea eax, [ebp - 0x232]
push eax
call fcn.00552500
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x234]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4b0ca7
push 0x5c
lea edx, [ebp - 0x234]
push edx
call fcn.005522f3
add esp, 8
cmp eax, ebx
je 0x4b0ca7
mov word [eax], bx
lea eax, [ebp - 0x234]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4b0bf0
mov ecx, dword [str.XYDump.dll]
mov dword [eax], ecx
mov edx, dword [0x59a298]
mov dword [eax + 4], edx
mov ecx, dword [0x59a29c]
mov dword [eax + 8], ecx
mov edx, dword [0x59a2a0]
mov dword [eax + 0xc], edx
mov ecx, dword [0x59a2a4]
mov dword [eax + 0x10], ecx
mov edx, dword [0x59a2a8]
mov dword [eax + 0x14], edx
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x4b0ca7
mov ecx, dword [str.2014log]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x59a288]
mov dword [ebp - 0x28], edx
mov eax, dword [0x59a28c]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x59a290]
mov dword [ebp - 0x20], ecx
push 0x59a274
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4b0c9e
lea ecx, [ebp - 0x2c]
lea edi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4b0c80
sub ecx, edi
sar ecx, 1
push ecx
lea edx, [ebp - 0x2c]
push edx
call eax
mov edi, dword [ebp - 0x3c8]
jmp 0x4b0ca7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
lea eax, [ebp - 0x3c4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x3cc], 8
mov dword [ebp - 0x3c8], 4
lea ecx, [ebp - 0x3cc]
push ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x59a264
mov edx, dword [ebp + 8]
push edx
push ebx
mov ecx, 0x5ce6e0
call fcn.004a1dd0
call fcn.004aec70
mov dword [ebp - 0x3d0], ebx
cmp esi, ebx
je 0x4b0d67
push str.RecordExceptionInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c8], eax
cmp eax, ebx
je 0x4b0d67
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
push eax
push edi
call fcn.004b04d0
add esp, 8
mov esi, eax
mov dword [ebp - 0x3d0], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x4b0d76
mov edx, dword [ebp + 0x14]
push edx
push edi
call fcn.004b04d0
add esp, 8
mov esi, eax
mov ecx, 0x5ce6e0
call fcn.004a5900
call fcn.00444df0
mov ecx, eax
call fcn.004ae060
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, esi
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.00552d63
mov esp, ebp
pop ebp
ret 0x10