Function at 0x404ea0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x569910]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x14], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x404f02
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 + 0x224]
xor ecx, esp
call fcn.004e0222
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x98]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0x30]
push eax
call fcn.0043dff0
add esp, 4
lea ecx, [esp + 0x30]
push 0x11
push str.lddownloader_en_
call fcn.00404530
lea eax, [esp + 0x30]
push eax
call fcn.0043ddb0
add esp, 4
test al, al
jne 0x404f50
lea eax, [esp + 0x30]
push eax
call fcn.0043ddd0
add esp, 4
push 0xe
push str.downloader.log
lea ecx, [esp + 0x38]
call fcn.00404530
call fcn.00439d80
sub esp, 0x18
lea esi, [esp + 0x48]
mov edi, esp
lea edx, [esp + 0x48]
xor eax, eax
mov ecx, edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x58]
cmovae esi, dword [esp + 0x48]
cmovae edx, dword [esp + 0x48]
lea eax, [esi + eax*2]
push eax
push edx
call fcn.00405260
call fcn.00439da0
push str._r_n_r_n_start_run
push 0x26
push str.wWinMain
call fcn.00439ce0
add esp, 0x24
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x64]
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x60], vtable.DownloadImpl.0
call fcn.0043f6b0
push dword [esp + 0x10]
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], 0
push dword [esp + 0x10]
call fcn.004070f0
call fcn.0045c8a0
lea eax, [esp + 0x80]
push eax
call fcn.0043dff0
add esp, 4
lea ecx, [esp + 0x80]
push 0x17
push str.lddownloader_en_fonts_
call fcn.00404530
mov eax, dword [0x574774]
test eax, eax
jne 0x40505c
push 0x5b8
call fcn.004e0231
mov esi, eax
add esp, 4
test esi, esi
je 0x405055
push 0x5b8
push 0
push esi
call fcn.004eb090
add esp, 0xc
mov ecx, esi
call fcn.004091a0
jmp 0x405057
xor eax, eax
mov dword [0x574774], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00412520
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x4c]
call fcn.004051e0
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x40508f
push dword [esp + 0x18]
call fcn.00489d40
add esp, 4
cmp dword [esp + 0x58], 0
je 0x4050ab
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
lea ecx, [esp + 0x60]
call fcn.004076e0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x5c], 8
jb 0x4050d8
push dword [esp + 0x48]
call fcn.00489d40
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
cmp dword [esp + 0x94], 8
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
jb 0x405108
push dword [esp + 0x80]
call fcn.00489d40
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
cmp dword [esp + 0x44], 8
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
jb 0x40513b
push dword [esp + 0x30]
call fcn.00489d40
add esp, 4
mov ecx, dword [esp + 0x22c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004e0222
mov esp, ebp
pop ebp
ret 0x10