Function at 0x4f6980
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf96f
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x6327e8]
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.00459380
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x636ca4], 0
mov dword [ebp - 4], 0
je 0x4f69f2
cmp byte [0x636cc8], 0
je 0x4f69f2
mov dword [0x636cc4], 1
lea eax, [ebp - 0x1a0]
mov dword [0x636d54], 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 [0x63552c], 0
je 0x4f6a6b
push 0xcc
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4f6a60
push 0
mov ecx, eax
call fcn.004b5fe0
jmp 0x4f6a62
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x635524], eax
push 0x98
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4f6a8f
mov ecx, eax
call fcn.0043ee70
jmp 0x4f6a91
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x635528], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f6ac0
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6ac2
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_wall.MEC
mov dword [0x636c74], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c74]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4f6b24
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6b26
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_rug.MEC
mov dword [0x636c78], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c78]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4f6b88
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6b8a
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_cstick.MEC
mov dword [0x636c80], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c80]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4f6bec
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6bee
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_candle.MEC
mov dword [0x636c7c], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c7c]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4f6c50
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6c52
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_back.MEC
mov dword [0x636c84], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c84]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4f6cb4
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6cb6
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_drapes.MEC
mov dword [0x636c8c], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c8c]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4f6d18
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6d1a
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_door.MEC
mov dword [0x636c88], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c88]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
push 0x174
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4f6d7c
mov ecx, eax
call fcn.00463f80
mov ecx, eax
jmp 0x4f6d7e
xor ecx, ecx
mov eax, dword [0x635408]
push str.dat_fr_arms.MEC
mov dword [0x636c90], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00465340
mov eax, dword [0x635408]
mov ecx, dword [0x636c90]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.004662d0
call fcn.00468610
push 0x4c
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4f6de5
push str.datopenSong.wav
mov ecx, eax
call fcn.004682a0
jmp 0x4f6de7
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x636d50], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4f6e16
push str.dat_button1.wav
mov ecx, eax
call fcn.004682a0
jmp 0x4f6e18
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x636c6c], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4f6e47
push str.dat_button2.wav
mov ecx, eax
call fcn.004682a0
jmp 0x4f6e49
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x636c70], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4f6e85
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.0051e4d0
jmp 0x4f6e87
xor eax, eax
mov dword [0x636c94], 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 [0x636d50]
mov byte [ebp - 4], 0
mov dword [0x636c98], 0
call fcn.00468500
push 0x224
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4f6f08
push 0
push str.datTimeLeftBox.png
mov ecx, eax
call fcn.004689b0
jmp 0x4f6f0a
xor eax, eax
mov ecx, dword [0x63540c]
push eax
mov byte [ebp - 4], 0
mov dword [0x636d58], eax
call fcn.00468bb0
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.0055f428
mov esp, ebp
pop ebp
ret 8