Function at 0x45e590
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b0828
push 0x46fb70
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4b7480]
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.00459870
test al, al
jne 0x45e5e2
xor eax, eax
jmp 0x45e898
call fcn.00459710
mov byte [ebp - 0x144], 0
push 0xff
push 0
lea eax, [ebp - 0x143]
push eax
call fcn.0046e830
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.00470520
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 0x45e635
mov ecx, dword [str.XYDump.dll]
mov dword [eax], ecx
mov edx, dword [0x4a25e8]
mov dword [eax + 4], edx
mov ecx, dword [0x4a25ec]
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 0x45e7b0
push str.InitXYDumpEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2e8], eax
test eax, eax
je 0x45e7b0
mov eax, dword [str.yxqlog]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x4a25c8]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x4a25cc]
mov dword [ebp - 0x3c], edx
mov ax, word [0x4a25d0]
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 [0x4b89e0], eax
je 0x45e6ee
cmp dword [0x4b89e4], 0x10
jb 0x45e6e7
mov edi, dword [0x4b89d0]
jmp 0x45e732
mov edi, 0x4b89d0
jmp 0x45e732
call fcn.0045d350
cmp dword [0x4b8ec0], edi
je 0x45e732
mov ebx, 0x10
cmp dword [0x4b8ec4], ebx
mov eax, dword [0x4b8eb0]
jae 0x45e712
mov eax, 0x4b8eb0
push eax
call fcn.0046fecf
add esp, 4
test eax, eax
jle 0x45e732
cmp dword [0x4b8ec4], ebx
mov edi, dword [0x4b8eb0]
jae 0x45e732
mov edi, 0x4b8eb0
test edi, edi
je 0x45e784
call dword [0x4b7340]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x45e77e
lea eax, [esi + esi]
call fcn.0046fd10
mov dword [ebp - 0x18], esp
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.004010b0
test eax, eax
je 0x45e77e
push eax
push str.yxqlog__s
lea ecx, [ebp - 0x44]
push ecx
call fcn.0044c260
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 0x45e790
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 0x4a25a0
mov edx, dword [ebp + 8]
push edx
push 0
mov ecx, 0x4b8fb4
call fcn.0044c980
call fcn.0045aae0
test esi, esi
je 0x45e871
push str.RecordExceptionInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2d8], eax
test eax, eax
je 0x45e871
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push edi
call fcn.0045dc80
add esp, 8
mov esi, eax
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x45e880
mov edx, dword [ebp + 0x14]
push edx
push edi
call fcn.0045dc80
add esp, 8
mov esi, eax
mov ecx, 0x4b8fb4
call fcn.00450940
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.0046f564
mov esp, ebp
pop ebp
ret 0x10