Function at 0x47f850
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x5754c0]
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.004525c0
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x5790e8], 0
mov dword [ebp - 4], 0
je 0x47f8c8
mov eax, dword [0x579190]
mov ecx, 1
cmp byte [0x579108], 0
cmovne eax, ecx
mov dword [0x579190], eax
lea eax, [ebp - 0x1a0]
mov dword [0x579198], 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
push 0x98
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x47f92b
mov ecx, eax
call fcn.0043f0c0
jmp 0x47f92d
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x5779c4], eax
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x47f95c
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47f95e
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_wall.MEC
mov dword [0x5790b8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790b8]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x47f9c0
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47f9c2
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_rug.MEC
mov dword [0x5790bc], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790bc]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x47fa24
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47fa26
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_cstick.MEC
mov dword [0x5790c4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790c4]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x47fa88
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47fa8a
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_candle.MEC
mov dword [0x5790c0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790c0]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x47faec
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47faee
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_back.MEC
mov dword [0x5790c8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790c8]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x47fb50
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47fb52
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_drapes.MEC
mov dword [0x5790d0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790d0]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x47fbb4
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47fbb6
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_door.MEC
mov dword [0x5790cc], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790cc]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x47fc18
mov ecx, eax
call fcn.00459b00
mov ecx, eax
jmp 0x47fc1a
xor ecx, ecx
mov eax, dword [0x5778a8]
push str.dat_fr_arms.MEC
mov dword [0x5790d4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045ae10
mov eax, dword [0x5778a8]
mov ecx, dword [0x5790d4]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.0045be00
call fcn.0045e110
push 0x4c
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x47fc81
push str.datopenSong.wav
mov ecx, eax
call fcn.0045dda0
jmp 0x47fc83
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x579194], eax
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x47fcb2
push str.dat_button1.wav
mov ecx, eax
call fcn.0045dda0
jmp 0x47fcb4
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x5790b0], eax
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x47fce3
push str.dat_button2.wav
mov ecx, eax
call fcn.0045dda0
jmp 0x47fce5
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x5790b4], eax
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x47fd21
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.004a1fa0
jmp 0x47fd23
xor eax, eax
mov dword [0x5790d8], 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 [0x579194]
mov byte [ebp - 4], 0
mov dword [0x5790dc], 0
call fcn.0045e000
push 0x224
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x47fda4
push 0
push str.datTimeLeftBox.png
mov ecx, eax
call fcn.0045e4b0
jmp 0x47fda6
xor eax, eax
mov ecx, dword [0x5778ac]
push eax
mov byte [ebp - 4], 0
mov dword [0x57919c], eax
call fcn.0045e6b0
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.004b2010
mov esp, ebp
pop ebp
ret 8