Function at 0x464730
Capabilities:
Initialize winsock library

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x194
push 0xffffffffffffffff
push 0x4c5cbd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x507b40]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x1a0]
mov ecx, dword [ebp + 0x19c]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0043b550
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x50abd4], 0
mov dword [ebp - 4], 0
je 0x4647ad
cmp byte [0x50abf8], 0
je 0x4647ad
mov dword [0x50abf4], 1
lea eax, [ebp]
mov dword [0x50ac84], 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.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x46480a
mov ecx, eax
call fcn.0042ec30
jmp 0x46480c
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x509434], eax
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x464838
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x46483a
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_wall.MEC
mov dword [0x50aba4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50aba4]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x464899
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x46489b
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_rug.MEC
mov dword [0x50aba8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50aba8]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4648fa
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x4648fc
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_cstick.MEC
mov dword [0x50abb0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50abb0]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x46495b
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x46495d
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_candle.MEC
mov dword [0x50abac], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50abac]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4649bc
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x4649be
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_back.MEC
mov dword [0x50abb4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50abb4]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x464a1d
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x464a1f
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_drapes.MEC
mov dword [0x50abbc], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50abbc]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x464a7e
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x464a80
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_door.MEC
mov dword [0x50abb8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50abb8]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
push 0x174
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x464adf
mov ecx, eax
call fcn.00441270
mov ecx, eax
jmp 0x464ae1
xor ecx, ecx
mov eax, dword [0x509420]
push str.dat_fr_arms.MEC
mov dword [0x50abc0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.004418b0
mov eax, dword [0x509420]
mov ecx, dword [0x50abc0]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.004425d0
call fcn.00442e80
push 0x4c
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x464b45
push str.datopenSong.wav
mov ecx, eax
call fcn.00442b40
jmp 0x464b47
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x50ac80], eax
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x464b73
push str.dat_button1.wav
mov ecx, eax
call fcn.00442b40
jmp 0x464b75
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x50ab9c], eax
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x464ba1
push str.dat_button2.wav
mov ecx, eax
call fcn.00442b40
jmp 0x464ba3
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x50aba0], eax
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x464bdc
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.004834a0
jmp 0x464bde
xor eax, eax
mov dword [0x50abc4], 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 [0x50ac80]
mov byte [ebp - 4], 0
mov dword [0x50abc8], 0
call fcn.00442d60
push 0x224
call fcn.00498854
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x464c5c
push 0
push 0x4cf68c
mov ecx, eax
call fcn.00443230
jmp 0x464c5e
xor eax, eax
mov ecx, dword [0x509424]
push eax
mov byte [ebp - 4], 0
mov dword [0x50ac88], eax
call fcn.00443410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.00498846
lea esp, [ebp + 0x194]
pop ebp
ret 8