Function at 0x4f0c40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c99bf
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x62c7a8]
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.00456dc0
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x630bb4], 0
mov dword [ebp - 4], 0
je 0x4f0cb2
cmp byte [0x630bd8], 0
je 0x4f0cb2
mov dword [0x630bd4], 1
lea eax, [ebp - 0x1a0]
mov dword [0x630c64], 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 [0x62f43c], 0
je 0x4f0d2b
push 0xcc
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4f0d20
push 0
mov ecx, eax
call fcn.004b02e0
jmp 0x4f0d22
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x62f434], eax
push 0x98
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4f0d4f
mov ecx, eax
call fcn.0043ee70
jmp 0x4f0d51
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x62f438], eax
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f0d80
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0d82
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_wall.MEC
mov dword [0x630b84], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b84]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4f0de4
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0de6
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_rug.MEC
mov dword [0x630b88], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b88]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4f0e48
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0e4a
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_cstick.MEC
mov dword [0x630b90], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b90]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4f0eac
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0eae
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_candle.MEC
mov dword [0x630b8c], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b8c]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4f0f10
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0f12
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_back.MEC
mov dword [0x630b94], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b94]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4f0f74
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0f76
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_drapes.MEC
mov dword [0x630b9c], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b9c]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4f0fd8
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f0fda
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_door.MEC
mov dword [0x630b98], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630b98]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
push 0x174
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4f103c
mov ecx, eax
call fcn.0045e250
mov ecx, eax
jmp 0x4f103e
xor ecx, ecx
mov eax, dword [0x62f318]
push str.dat_fr_arms.MEC
mov dword [0x630ba0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045f610
mov eax, dword [0x62f318]
mov ecx, dword [0x630ba0]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.004605a0
call fcn.004628e0
push 0x4c
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4f10a5
push str.datopenSong.wav
mov ecx, eax
call fcn.00462570
jmp 0x4f10a7
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x630c60], eax
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4f10d6
push str.dat_button1.wav
mov ecx, eax
call fcn.00462570
jmp 0x4f10d8
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x630b7c], eax
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4f1107
push str.dat_button2.wav
mov ecx, eax
call fcn.00462570
jmp 0x4f1109
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x630b80], eax
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4f1145
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.00518790
jmp 0x4f1147
xor eax, eax
mov dword [0x630ba4], 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 [0x630c60]
mov byte [ebp - 4], 0
mov dword [0x630ba8], 0
call fcn.004627d0
push 0x224
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4f11c8
push 0
push str.datTimeLeftBox.png
mov ecx, eax
call fcn.00462c80
jmp 0x4f11ca
xor eax, eax
mov ecx, dword [0x62f31c]
push eax
mov byte [ebp - 4], 0
mov dword [0x630c68], eax
call fcn.00462e80
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.005596ea
mov esp, ebp
pop ebp
ret 8