Function at 0x490340
Capabilities:
Get process heap force flags
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5408a0
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x57ec74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1a4], ebx
push str.FIRST_OPTION_MODE
push 0
mov dword [ebp - 0x1a8], ebx
call fcn.0044e000
mov dword [ebx + 0x108], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.FirstOptionMode.0
cmp byte [0x5965b0], 0
je 0x4903c1
mov eax, dword [0x596518]
mov ecx, 1
cmp byte [0x596520], 0
cmovne eax, ecx
mov dword [0x596518], eax
lea eax, [ebp - 0x1a0]
mov dword [0x596508], ebx
push eax
push 0x202
mov dword [ebx + 0x1e4], 0
mov dword [ebx + 0x1e8], 0
mov dword [ebx + 0x1f0], 0
mov dword [ebx + 0x1ec], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x98
call fcn.004cbc8f
mov edi, eax
add esp, 4
mov dword [ebp - 0x1a4], edi
mov dword [edi + 4], 0x4e4c4300
mov word [edi + 8], 0x54
mov byte [edi + 0x22], 0
mov byte [ebp - 4], 2
mov dword [edi], vtable.Client.0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
push 0x9c40
mov dword [edi + 0x40], 0x2710
call fcn.004cbccd
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 4
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x44]
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
push eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x3c], 0x2710
call esi
mov byte [ebp - 4], 3
mov dword [edi + 0x5c], 0
push 0x9c40
mov dword [edi + 0x74], 0x2710
call fcn.004cbccd
add esp, 4
mov dword [edi + 0x60], eax
lea eax, [edi + 0x78]
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
push eax
mov dword [edi + 0x70], 0x2710
call esi
push 0x18
mov byte [ebp - 4], 4
call fcn.004cbc8f
add esp, 4
mov dword [edi + 0x90], eax
push eax
call esi
push 0x18
mov byte [ebp - 4], 5
call fcn.004cbc8f
add esp, 4
mov dword [edi + 0x94], eax
push eax
call esi
mov byte [ebp - 4], 0
push 0x174
mov dword [0x59560c], edi
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_wall.MEC
push ecx
mov ecx, eax
mov dword [0x5965d4], eax
call fcn.00467a70
push 0
push str.datwall.png
push ecx
mov ecx, dword [0x5965d4]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_rug.MEC
push ecx
mov ecx, eax
mov dword [0x5964fc], eax
call fcn.00467a70
push 0
push str.dat_fr_rug.png
push ecx
mov ecx, dword [0x5964fc]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_cstick.MEC
push ecx
mov ecx, eax
mov dword [0x5965e8], eax
call fcn.00467a70
push 0
push str.datgold.png
push ecx
mov ecx, dword [0x5965e8]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_candle.MEC
push ecx
mov ecx, eax
mov dword [0x5965dc], eax
call fcn.00467a70
push 0
push str.datcandle.png
push ecx
mov ecx, dword [0x5965dc]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_back.MEC
push ecx
mov ecx, eax
mov dword [0x5965a8], eax
call fcn.00467a70
push 0
push str.dat_fr_back.png
push ecx
mov ecx, dword [0x5965a8]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_drapes.MEC
push ecx
mov ecx, eax
mov dword [0x5964f4], eax
call fcn.00467a70
push 0
push str.datcurtain.png
push ecx
mov ecx, dword [0x5964f4]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_door.MEC
push ecx
mov ecx, eax
mov dword [0x5965e0], eax
call fcn.00467a70
push 0
push str.datdoor.png
push ecx
mov ecx, dword [0x5965e0]
call fcn.00465340
push 0x174
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
call fcn.004645b0
push str.dat_fr_arms.MEC
push ecx
mov ecx, eax
mov dword [0x5965d0], eax
call fcn.00467a70
push 0
push str.datweapons.png
push ecx
mov ecx, dword [0x5965d0]
call fcn.00465340
call fcn.004699d0
push 0x4c
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
push str.datopenSong.wav
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00469530
mov byte [ebp - 4], 0
push 0x4c
mov dword [0x59650c], eax
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
push str.dat_button1.wav
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00469530
mov byte [ebp - 4], 0
push 0x4c
mov dword [0x59651c], eax
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
push str.dat_button2.wav
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00469530
mov byte [ebp - 4], 0
push 0x58
mov dword [0x5964f8], eax
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
push str.dat_flare_white.png
mov byte [ebp - 4], 9
mov ecx, eax
movss xmm3, dword [0x56db08]
push 0x12c
call fcn.004b9a00
mov byte [ebp - 4], 0
mov ecx, dword [0x59650c]
mov dword [0x596504], 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 dword [0x596500], 0
call fcn.00469e50
push 0x224
call fcn.004cbc8f
add esp, 4
mov dword [ebp - 0x1a4], eax
mov ecx, eax
push 0
push 0x563a84
call fcn.0046a3b0
mov ecx, dword [0x5955fc]
push eax
add ecx, 4
mov dword [0x596514], eax
call fcn.0044fd40
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 8