Function at 0x480560
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x5914c0]
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.00452b10
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x595218], 0
mov dword [ebp - 4], 0
je 0x4805d2
cmp byte [0x595238], 0
je 0x4805d2
mov dword [0x5952c0], 1
lea eax, [ebp - 0x1a0]
mov dword [0x5952c8], 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.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x480635
mov ecx, eax
call fcn.0043f180
jmp 0x480637
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x593af4], eax
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x480666
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x480668
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_wall.MEC
mov dword [0x5951e8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x5951e8]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4806ca
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x4806cc
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_rug.MEC
mov dword [0x5951ec], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x5951ec]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x48072e
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x480730
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_cstick.MEC
mov dword [0x5951f4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x5951f4]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x480792
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x480794
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_candle.MEC
mov dword [0x5951f0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x5951f0]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4807f6
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x4807f8
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_back.MEC
mov dword [0x5951f8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x5951f8]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x48085a
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x48085c
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_drapes.MEC
mov dword [0x595200], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x595200]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4808be
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x4808c0
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_door.MEC
mov dword [0x5951fc], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x5951fc]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
push 0x174
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x480922
mov ecx, eax
call fcn.0045a070
mov ecx, eax
jmp 0x480924
xor ecx, ecx
mov eax, dword [0x5939d8]
push str.dat_fr_arms.MEC
mov dword [0x595204], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.0045b430
mov eax, dword [0x5939d8]
mov ecx, dword [0x595204]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.0045c410
call fcn.0045e770
push 0x4c
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x48098b
push str.datopenSong.wav
mov ecx, eax
call fcn.0045e400
jmp 0x48098d
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x5952c4], eax
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4809bc
push str.dat_button1.wav
mov ecx, eax
call fcn.0045e400
jmp 0x4809be
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x5951e0], eax
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4809ed
push str.dat_button2.wav
mov ecx, eax
call fcn.0045e400
jmp 0x4809ef
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x5951e4], eax
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x480a2b
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.004a2db0
jmp 0x480a2d
xor eax, eax
mov dword [0x595208], 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 [0x5952c4]
mov byte [ebp - 4], 0
mov dword [0x59520c], 0
call fcn.0045e660
push 0x224
call fcn.004b31b9
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x480aae
push 0
push str.datTimeLeftBox.png
mov ecx, eax
call fcn.0045eb10
jmp 0x480ab0
xor eax, eax
mov ecx, dword [0x5939dc]
push eax
mov byte [ebp - 4], 0
mov dword [0x5952cc], eax
call fcn.0045ed10
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.004b2e95
mov esp, ebp
pop ebp
ret 8