Function at 0x404930
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x238
mov eax, dword [0x568910]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x404992
push 0
push str.error1
push str.error
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.004e0876
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xa8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0x38]
push eax
call fcn.0043a380
add esp, 4
lea ecx, [esp + 0x38]
push 0x16
push str.lddownloader_playerx_
call fcn.00403fd0
lea eax, [esp + 0x38]
push eax
call fcn.0043a140
add esp, 4
test al, al
jne 0x4049e0
lea eax, [esp + 0x38]
push eax
call fcn.0043a160
add esp, 4
push 0xe
push str.downloader.log
lea ecx, [esp + 0x40]
call fcn.00403fd0
call fcn.004360a0
sub esp, 0x18
lea esi, [esp + 0x50]
mov edi, esp
lea edx, [esp + 0x50]
xor eax, eax
mov ecx, edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x60]
cmovae esi, dword [esp + 0x50]
cmovae edx, dword [esp + 0x50]
lea eax, [esi + eax*2]
push eax
push edx
call fcn.00404c50
call fcn.004360c0
push str._r_n_r_n_start_run
push 0x26
push str.wWinMain
call fcn.00436000
add esp, 0x24
mov dword [esp + 0x90], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x84]
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0x80], 0x54a180
call fcn.0043f8d0
push dword [esp + 0x18]
lea ecx, [esp + 0x84]
mov dword [esp + 0x94], 0
push dword [esp + 0x18]
call fcn.00406210
call fcn.0045cf20
lea eax, [esp + 0x68]
push eax
call fcn.0043a380
add esp, 4
lea ecx, [esp + 0x68]
push 0x1c
push str.lddownloader_playerx_fonts_
call fcn.00403fd0
mov eax, dword [0x572ce4]
test eax, eax
jne 0x404af8
push 0x5e8
call fcn.004e0885
mov esi, eax
add esp, 4
test esi, esi
je 0x404af1
push 0x5e8
push 0
push esi
call fcn.004eb650
add esp, 0xc
mov ecx, esi
call fcn.00407bf0
jmp 0x404af3
xor eax, eax
mov dword [0x572ce4], eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00411290
push eax
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x54]
call fcn.00404bd0
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x404b28
push dword [esp + 0x20]
call fcn.00488180
add esp, 4
cmp dword [esp + 0x60], 0
je 0x404b44
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
call fcn.00406880
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x64], 8
jb 0x404b62
push dword [esp + 0x50]
call fcn.00488180
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x404b8c
push dword [esp + 0x68]
call fcn.00488180
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jb 0x404bb6
push dword [esp + 0x38]
call fcn.00488180
add esp, 4
mov ecx, dword [esp + 0x23c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004e0876
mov esp, ebp
pop ebp
ret 0x10