Function at 0x4f2580
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5e7f
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x626734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1a4], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x1a8], esi
call fcn.00459120
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x62abc0], 0
mov dword [ebp - 4], 0
je 0x4f25f8
mov eax, dword [0x62ac68]
mov ecx, 1
cmp byte [0x62abe0], 0
cmovne eax, ecx
mov dword [0x62ac68], eax
lea eax, [ebp - 0x1a0]
mov dword [0x62ac70], esi
push eax
push 0x202
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1ec], 0
call sub.WS2_32.dll_WSAStartup
cmp dword [0x62944c], 0
je 0x4f2671
push 0xc8
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4f2666
push 0
mov ecx, eax
call fcn.004b3db0
jmp 0x4f2668
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x629444], eax
push 0x98
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4f2695
mov ecx, eax
call fcn.0043ed50
jmp 0x4f2697
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x629448], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f26c6
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f26c8
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_wall.MEC
mov dword [0x62ab90], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62ab90]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4f272a
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f272c
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_rug.MEC
mov dword [0x62ab94], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62ab94]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4f278e
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f2790
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_cstick.MEC
mov dword [0x62ab9c], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62ab9c]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4f27f2
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f27f4
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_candle.MEC
mov dword [0x62ab98], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62ab98]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4f2856
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f2858
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_back.MEC
mov dword [0x62aba0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62aba0]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4f28ba
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f28bc
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_drapes.MEC
mov dword [0x62aba8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62aba8]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4f291e
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f2920
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_door.MEC
mov dword [0x62aba4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62aba4]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
push 0x174
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4f2982
mov ecx, eax
call fcn.00463440
mov ecx, eax
jmp 0x4f2984
xor ecx, ecx
mov eax, dword [0x629328]
push str.dat_fr_arms.MEC
mov dword [0x62abac], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00464800
mov eax, dword [0x629328]
mov ecx, dword [0x62abac]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.004657e0
call fcn.00467b20
push 0x4c
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4f29eb
push str.datopenSong.wav
mov ecx, eax
call fcn.004677b0
jmp 0x4f29ed
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x62ac6c], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4f2a1c
push str.dat_button1.wav
mov ecx, eax
call fcn.004677b0
jmp 0x4f2a1e
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x62ab88], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4f2a4d
push str.dat_button2.wav
mov ecx, eax
call fcn.004677b0
jmp 0x4f2a4f
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x62ab8c], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4f2a8b
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.00516510
jmp 0x4f2a8d
xor eax, eax
mov dword [0x62abb0], eax
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0x40c90fdb
mov dword [eax + 0x44], 0x3f860a92
mov dword [eax + 0x40], 0x3fc90fdb
mov dword [eax + 0x50], 0x41f00000
mov dword [eax + 0x54], 0x41200000
mov dword [eax + 0x4c], 0x3dcccccd
mov dword [eax + 0x48], 0x3e99999a
mov ecx, dword [0x62ac6c]
mov byte [ebp - 4], 0
mov dword [0x62abb4], 0
call fcn.00467a10
push 0x224
call fcn.00556676
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4f2b0e
push 0
push str.datTimeLeftBox.png
mov ecx, eax
call fcn.00467ec0
jmp 0x4f2b10
xor eax, eax
mov ecx, dword [0x62932c]
push eax
mov byte [ebp - 4], 0
mov dword [0x62ac74], eax
call fcn.004680c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005566b4
mov esp, ebp
pop ebp
ret 8