Function at 0x4872e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548eba
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x597f2c]
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.004598e0
mov dword [esi], vtable.FirstOptionMode.0
cmp byte [0x59bcf8], 0
mov dword [ebp - 4], 0
je 0x487352
cmp byte [0x59bd18], 0
je 0x487352
mov dword [0x59bda0], 1
lea eax, [ebp - 0x1a0]
mov dword [0x59bda8], 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.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4873b5
mov ecx, eax
call fcn.004419b0
jmp 0x4873b7
xor eax, eax
push 0x174
mov byte [ebp - 4], 0
mov dword [0x59a5d4], eax
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4873e6
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x4873e8
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_wall.MEC
mov dword [0x59bcc8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bcc8]
push 0
push str.datwall.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x48744a
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x48744c
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_rug.MEC
mov dword [0x59bccc], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bccc]
push 0
push str.dat_fr_rug.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4874ae
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x4874b0
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_cstick.MEC
mov dword [0x59bcd4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bcd4]
push 0
push str.datgold.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x487512
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x487514
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_candle.MEC
mov dword [0x59bcd0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bcd0]
push 0
push str.datcandle.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x487576
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x487578
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_back.MEC
mov dword [0x59bcd8], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bcd8]
push 0
push str.dat_fr_back.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4875da
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x4875dc
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_drapes.MEC
mov dword [0x59bce0], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bce0]
push 0
push str.datcurtain.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x48763e
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x487640
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_door.MEC
mov dword [0x59bcdc], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bcdc]
push 0
push str.datdoor.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
push 0x174
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4876a2
mov ecx, eax
call fcn.00460d50
mov ecx, eax
jmp 0x4876a4
xor ecx, ecx
mov eax, dword [0x59a4b8]
push str.dat_fr_arms.MEC
mov dword [0x59bce4], ecx
mov byte [ebp - 4], 0
push dword [eax + 0x2a3d8]
call fcn.00462120
mov eax, dword [0x59a4b8]
mov ecx, dword [0x59bce4]
push 0
push str.datweapons.png
push dword [eax + 0x2a3d8]
call fcn.004630b0
call fcn.004653f0
push 0x4c
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x48770b
push str.datopenSong.wav
mov ecx, eax
call fcn.00465080
jmp 0x48770d
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x59bda4], eax
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x48773c
push str.dat_button1.wav
mov ecx, eax
call fcn.00465080
jmp 0x48773e
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [0x59bcc0], eax
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x48776d
push str.dat_button2.wav
mov ecx, eax
call fcn.00465080
jmp 0x48776f
xor eax, eax
push 0x58
mov byte [ebp - 4], 0
mov dword [0x59bcc4], eax
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4877ab
push ecx
mov dword [esp], 0x3f99999a
mov ecx, eax
push str.dat_flare_white.png
push 0x12c
call fcn.004ab120
jmp 0x4877ad
xor eax, eax
mov dword [0x59bce8], 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 [0x59bda4]
mov byte [ebp - 4], 0
mov dword [0x59bcec], 0
call fcn.004652e0
push 0x224
call fcn.004de236
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x48782e
push 0
push str.datTimeLeftBox.png
mov ecx, eax
call fcn.00465790
jmp 0x487830
xor eax, eax
mov ecx, dword [0x59a4bc]
push eax
mov byte [ebp - 4], 0
mov dword [0x59bdac], eax
call fcn.00465990
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.004ddd4a
mov esp, ebp
pop ebp
ret 8