Function at 0x405f10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c090
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4600b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
lea eax, [edi + 0x58]
movups xmmword [edi + 0x30], xmm0
push eax
movq qword [edi + 0x40], xmm0
mov dword [edi + 0x48], 0
push 0x202
mov word [edi + 0x4c], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp dword [edi + 8], 0
jne 0x405fa7
push 0x10
call fcn.00419fa7
mov dword [ebp - 0x28], eax
add esp, 4
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
push str.dataTXTmodel.txt
mov dword [edi + 8], eax
call fcn.004049a0
cmp dword [edi + 0x1c], 0
jne 0x405fcb
push 0x7c
call fcn.00419fa7
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
call fcn.00403a10
mov ecx, eax
mov dword [edi + 0x1c], eax
call fcn.00403a90
mov ecx, 3
call fcn.0040f390
mov esi, eax
call fcn.0040a4b0
push str.dataTEXTUREmap.png
mov ecx, dword [eax + 0x1c]
call fcn.00418a10
movss xmm1, dword [0x4575e0]
sub esp, 0xc
movss xmm0, dword [0x4575d4]
mov ecx, esp
mov edx, dword [esi]
xorps xmm3, xmm3
unpcklps xmm0, xmm1
mov dword [esi + 0x44], eax
movq qword [ecx], xmm0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
mov ecx, esi
movq qword [ebp - 0x38], xmm3
call dword [edx + 0x14]
movss xmm2, dword [0x457548]
mov ecx, esi
movss xmm1, dword [0x4575d4]
call fcn.0040f920
movq xmm1, qword [ebp - 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
movaps xmm0, xmm1
unpcklps xmm0, xmm1
sub esp, 0xc
mov dword [ebp - 0x54], 0
movq qword [ecx], xmm0
movaps xmm0, xmm1
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x54]
sub esp, 0xc
unpcklps xmm0, xmm1
mov dword [ebp - 0x3c], 0xc3160000
movq qword [ecx], xmm0
movaps xmm0, xmm1
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x3c]
unpcklps xmm0, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.00415740
add esp, 0x28
mov dword [edi + 0x14], eax
mov byte [eax + 0x12c], 1
mov ecx, dword [edi + 0x14]
push 1
call fcn.00416530
push 0x1c
call fcn.00419fa7
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
add esp, 4
mov ecx, esi
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x18], 0
mov dword [esi], 0
call fcn.00403410
movss xmm2, dword [0x4576a0]
sub esp, 0x10
movss xmm1, dword [0x457674]
mov ecx, esp
movq xmm3, qword [ebp - 0x38]
mov dword [edi + 0x54], esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x3c]
movaps xmm0, xmm3
unpcklps xmm0, xmm3
sub esp, 0xc
movss xmm3, dword [0x45750c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x54]
unpcklps xmm2, xmm1
movq qword [ecx], xmm2
movss xmm2, dword [0x457610]
mov dword [ecx + 8], eax
call fcn.0040b680
add esp, 0x1c
mov dword [edi + 0x24], eax
cmp dword [0x460a20], 1
jne 0x4062ce
push 0x44c
call fcn.00419fa7
mov dword [ebp - 0x2c], eax
push 0x456084
push str.dataTXT_address.txt
mov dword [eax], 0
mov dword [edi + 0x2c], eax
call fcn.0041f668
add esp, 0xc
mov dword [ebp - 0x30], eax
lea esi, [edi + 0x30]
test eax, eax
je 0x4061ae
push esi
push 0x456088
push eax
call fcn.004033f0
push dword [ebp - 0x30]
call fcn.004243ea
add esp, 0x10
push ecx
mov ecx, dword [edi + 0x2c]
push esi
call fcn.00418880
test al, al
je 0x4062c4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x407850
lea ecx, [ebp - 0x2c]
call fcn.00408030
add esp, 4
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408070
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4061ff
push 8
push eax
call fcn.00419f99
add esp, 8
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
setne al
test al, al
jne 0x40621f
push 1
call fcn.0041b19f
mov ecx, dword [ebp - 0x14]
add esp, 4
push ecx
push dword [ebp - 0x18]
call fcn.0041b66d
add esp, 8
test eax, eax
je 0x406238
push eax
call fcn.0041b172
add esp, 4
push 0x4c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0x44000000
mov dword [ebp - 0x20], 0x42580001
mov dword [ebp - 0x1c], 0
call fcn.00419fa7
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, eax
call fcn.00418aa0
mov esi, eax
test esi, esi
je 0x40628e
movq xmm0, qword [ebp - 0x24]
mov ecx, esi
mov eax, dword [ebp - 0x1c]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
call fcn.00418b30
jmp 0x406290
xor esi, esi
mov dword [edi + 0x10], esi
mov ecx, esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00418e40
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x48], 0
cmp dword [ebp - 0x14], 0
je 0x406330
call fcn.0042572f
mov dword [0x460a20], 0
push 0x4c
mov dword [ebp - 0x24], 0x44000000
mov dword [ebp - 0x20], 0x42580001
mov dword [ebp - 0x1c], 0
call fcn.00419fa7
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
call fcn.00418aa0
mov esi, eax
test esi, esi
je 0x406316
movq xmm0, qword [ebp - 0x24]
mov ecx, esi
mov eax, dword [ebp - 0x1c]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
call fcn.00418b30
jmp 0x406318
xor esi, esi
mov dword [edi + 0x10], esi
mov ecx, esi
mov dword [esi + 0x24], 0x4650
mov dword [esi + 0x28], 0x4650
call fcn.00418e40
call fcn.004068f0
call fcn.0040a4b0
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x500
mov dword [ebp - 0x44], 0x2d0
call fcn.0040a4b0
movups xmm0, xmmword [ebp - 0x50]
movq xmm1, qword [ebp - 0x38]
mov eax, dword [eax + 0x14]
movups xmmword [eax + 0xcc], xmm0
movss xmm0, dword [0x4574a4]
unpcklps xmm1, xmm0
movq qword [eax + 0xdc], xmm1
cmp dword [edi + 0x18], 0
jne 0x406396
call fcn.004145d0
mov dword [edi + 0x18], eax
call fcn.0040a4b0
call fcn.0040a4b0
push 1
push 3
mov eax, dword [eax]
mov eax, dword [eax + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
call fcn.0040a4b0
push 2
mov ecx, dword [eax + 0x24]
call fcn.00418550
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419f88
mov esp, ebp
pop ebp
ret