Function at 0x4b02a0
Capabilities:
Authenticate hmac
Create directory
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c46c1
mov eax, dword fs:[0]
push eax
sub esp, 0xc64
mov eax, dword [0x6287a8]
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 - 0xc2c], ebx
mov dword [ebp - 0xc38], ebx
mov dword [ebp - 0xc70], ebx
mov dword [ebx], vtable.BBOServer.0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
lea ecx, [ebx + 0xb4]
mov dword [ebp - 4], 0
call fcn.00515340
push 0
mov dword [0x62ca90], ebx
push str.Logs
mov dword [ebx + 0xc4], 0x2710
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0xc24]
call fcn.00515340
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ebp - 0xc1e]
add ecx, 0x13
movzx edi, cx
mov word [ebp - 0xc1c], cx
lea eax, [edi - 0x18]
movzx eax, ax
mov esi, eax
cmp cx, 0x18
jae 0x4b0370
mov ecx, 0xffff
add dx, cx
mov word [ebp - 0xc1e], dx
jmp 0x4b0377
mov word [ebp - 0xc1c], ax
movzx eax, word [ebp - 0xc1a]
cmp edi, 0x18
push eax
movzx eax, si
mov ecx, edi
cmovae ecx, eax
movzx eax, cx
push eax
movzx eax, dx
push eax
movzx eax, word [ebp - 0xc22]
push eax
lea eax, [ebp - 0x410]
push str.________Server_Starting_at__d__02d___d:_02d_n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x5cfce8
push str.serverdataconfig.dat
call fcn.00566191
push 0x62ca9c
mov edi, eax
push str.MAX_LOGINS__d_n
push edi
call fcn.00448230
push dword [0x62ca9c]
lea eax, [ebp - 0x410]
push str.MAX_LOGINS_is__d_n
push eax
call fcn.0046d610
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add ebx, 0x8c
push ebx
push str.ENABLE_TOI__d_n
push edi
call fcn.00448230
push dword [ebx]
lea eax, [ebp - 0x410]
push str.ENABLE_TOI_is__d_n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x62caa4
push str.ENABLE_HALLOWEEN__d_n
push edi
call fcn.00448230
push dword [0x62caa4]
lea eax, [ebp - 0x410]
push str.ENABLE_HALLOWEEN_is__d_n
push eax
call fcn.0046d610
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x62caa8
push str.INFINITE_SUPPLY__d_n
push edi
call fcn.00448230
push dword [0x62caa8]
lea eax, [ebp - 0x410]
push str.INFINITE_SUPPLY_is__d_n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
mov esi, dword [ebp - 0xc2c]
lea ebx, [esi + 0x7c]
push ebx
push str.ENABLE_CHEATING__d_n
push edi
call fcn.00448230
push dword [ebx]
lea eax, [ebp - 0x410]
push str.ENABLE_CHEATING_is__d_n
push eax
call fcn.0046d610
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
sub esi, 0xffffff80
push esi
push str.ENABLE_WALL_BREAKING__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.ENABLE_WALL_BREAKING_is__d_n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
mov esi, dword [ebp - 0xc2c]
add esi, 0x84
push esi
push str.REMOVE_GEO_WALLS__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.REMOVE_GEO_WALLS_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esp, 0x40
add esi, 0x88
push esi
push str.POSSESSED_MONSTERS_MOVE__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.POSSESSED_MONSTERS_MOVE_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esi, 0x94
push esi
push str.COMBAT_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.COMBAT_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esi, 0x98
push esi
push str.SMITH_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.SMITH_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esp, 0x48
add esi, 0x9c
push esi
push str.BOMBING_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.BOMBING_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esi, 0xa0
push esi
push str.GEOMANCY_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.GEOMANCY_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esi, 0xa4
push esi
push str.TS_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.TS_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esp, 0x48
add esi, 0xa8
push esi
push str.MAGIC_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.MAGIC_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esi, 0xac
push esi
push str.MASTERY_EXP_MULTIPLIER__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.MASTERY_EXP_MULTIPLIER_is__d_n
push eax
call fcn.0046d610
mov esi, dword [ebp - 0xc2c]
add esi, 0xb0
push esi
push str.MACRO_CUTOFF_SECONDS__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.MACRO_CUTOFF_SECONDS_is__d_n
push eax
call fcn.0046d610
add esp, 0x48
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push edi
call fcn.00565ea3
mov esi, dword [ebp - 0xc2c]
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], eax
test eax, eax
je 0x4b0745
call fcn.00443c90
push 0x8c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b072d
mov ecx, eax
call fcn.004403c0
jmp 0x4b072f
xor eax, eax
xor ecx, ecx
mov byte [ebp - 4], 0
cmp dword [ebx], ecx
mov dword [esi + 0x34], eax
setne cl
add ecx, 0xe5e
jmp 0x4b0781
push 0x88
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4b0769
mov ecx, eax
call fcn.00445010
jmp 0x4b076b
xor eax, eax
cmp dword [ebx], 0
mov ecx, 0xe5e
mov byte [ebp - 4], 0
mov dword [esi + 0x34], eax
je 0x4b0781
mov ecx, 0xe5f
push 0
push 0x64
push ecx
mov ecx, eax
call fcn.00442080
push 0x10
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4b07ae
mov ecx, eax
call fcn.0044db60
jmp 0x4b07b0
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x44], eax
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4b07d8
mov ecx, eax
call fcn.0044db60
jmp 0x4b07da
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x48], eax
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4b0802
mov ecx, eax
call fcn.0044db60
jmp 0x4b0804
xor eax, eax
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x410]
push str.Loading_Pet_Data_n
push eax
mov byte [ebp - 4], 0
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
call fcn.0049e9e0
lea eax, [ebp - 0x410]
push str.Initializing_main_map_n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x10128
call fcn.0055644a
add esp, 0x24
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4b088a
push dword [esi + 0x34]
mov ecx, eax
push str.Ground
push 0
call fcn.004f4fc0
mov ebx, eax
mov dword [ebp - 0xc30], eax
jmp 0x4b0892
xor ebx, ebx
mov dword [ebp - 0xc30], ebx
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 0
call dword [eax + 0x14]
mov ecx, dword [esi + 0x48]
push ebx
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_Merchants._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
mov edi, 0x60e2b0
xor esi, esi
mov dword [ebp - 0xc40], esi
mov eax, dword [edi + 8]
inc eax
mov dword [ebp - 0xc34], 0
test eax, eax
jle 0x4b09d7
push 0x990
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4b091e
push 2
mov ecx, eax
call fcn.0049c310
mov ebx, eax
jmp 0x4b0920
xor ebx, ebx
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 0
mov dword [ebx + 0x184], eax
mov dword [ebx + 0x188], esi
mov esi, dword [edi + 8]
call fcn.00565b3a
cdq
lea ecx, [esi + 1]
idiv ecx
mov eax, esi
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [edi]
add eax, ecx
mov dword [ebx + 0x108], eax
mov esi, dword [edi + 8]
call fcn.00565b3a
cdq
lea ecx, [esi + 1]
idiv ecx
mov eax, esi
mov ecx, edx
cdq
sub eax, edx
mov edx, dword [edi + 4]
sar eax, 1
sub ecx, eax
add edx, ecx
mov dword [ebx + 0x10c], edx
mov ecx, edx
mov eax, dword [edi + 4]
inc eax
cmp edx, eax
jne 0x4b0997
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi]
jne 0x4b0997
lea ecx, [edx + 1]
mov dword [ebx + 0x10c], ecx
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi]
jne 0x4b09a6
cmp ecx, dword [edi + 4]
je 0x4b0933
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.005155c0
mov ebx, dword [ebp - 0xc34]
mov eax, dword [edi + 8]
inc ebx
mov esi, dword [ebp - 0xc40]
inc eax
mov dword [ebp - 0xc34], ebx
cmp ebx, eax
jl 0x4b08f6
inc esi
add edi, 0x50
mov dword [ebp - 0xc40], esi
cmp edi, 0x60ea30
jl 0x4b08e0
lea eax, [ebp - 0x410]
push str.Adding_trainers._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
mov edi, 0x60e2b8
mov eax, dword [edi]
cdq
sub eax, edx
mov dword [ebp - 0xc34], 0
sar eax, 1
inc eax
test eax, eax
jle 0x4b0ae5
push 0x990
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4b0a59
push 3
mov ecx, eax
call fcn.0049c310
mov ebx, eax
jmp 0x4b0a5b
xor ebx, ebx
mov byte [ebp - 4], 0
nop
mov esi, dword [edi]
call fcn.00565b3a
cdq
lea ecx, [esi + 1]
idiv ecx
mov eax, esi
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [edi - 8]
add eax, ecx
mov dword [ebx + 0x108], eax
mov esi, dword [edi]
call fcn.00565b3a
cdq
lea ecx, [esi + 1]
idiv ecx
mov eax, esi
mov ecx, edx
cdq
sub eax, edx
mov edx, dword [edi - 4]
sar eax, 1
sub ecx, eax
mov eax, dword [ebx + 0x108]
add edx, ecx
mov dword [ebx + 0x10c], edx
cmp eax, dword [edi - 8]
jne 0x4b0ab6
cmp edx, dword [edi - 4]
je 0x4b0a60
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.005155c0
mov eax, dword [edi]
mov ebx, dword [ebp - 0xc34]
cdq
inc ebx
sub eax, edx
mov dword [ebp - 0xc34], ebx
sar eax, 1
inc eax
cmp ebx, eax
jl 0x4b0a31
add edi, 0x50
cmp edi, str.Knife
jl 0x4b0a17
lea eax, [ebp - 0x410]
push str.Adding_Town_Mages._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
mov esi, 0x60e2b4
nop
push 0x990
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4b0b48
push 4
mov ecx, eax
call fcn.0049c310
mov ecx, eax
jmp 0x4b0b4a
xor ecx, ecx
mov eax, dword [esi - 4]
mov dword [ecx + 0x108], eax
mov eax, dword [esi]
inc eax
mov byte [ebp - 4], 0
mov dword [ecx + 0x10c], eax
mov eax, dword [ebp - 0xc30]
push ecx
mov ecx, dword [eax + 0x118]
call fcn.005155c0
add esi, 0x50
cmp esi, 0x60ea34
jl 0x4b0b20
push 0x194
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4b0baa
push 0x12
push 0x79
push 0xa1
mov ecx, eax
call fcn.0049e800
jmp 0x4b0bac
xor eax, eax
mov esi, dword [ebp - 0xc30]
mov dword [eax + 0x190], 1
push eax
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0x118]
call fcn.005155c0
mov eax, dword [ebp - 0xc2c]
cmp dword [eax + 0x8c], 1
jne 0x4b0cd9
push 0x990
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4b0c07
push 2
mov ecx, eax
call fcn.0049c310
mov esi, eax
jmp 0x4b0c09
xor esi, esi
mov eax, dword [ebp - 0xc30]
mov dword [esi + 0x184], 0x19
mov dword [esi + 0x188], 0
mov dword [esi + 0x108], 0xa2
mov dword [esi + 0x10c], 0x79
mov ecx, dword [eax + 0x118]
push esi
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [ebp - 0xc14]
push str.Tower_of_Infinity_Ticket.
push eax
call fcn.0043d360
push 0x120
call fcn.0055644a
add esp, 0xc
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4b0c89
lea ecx, [ebp - 0xc14]
push ecx
push 0
push 0x13
mov ecx, eax
call fcn.0050ce20
mov ecx, eax
jmp 0x4b0c8b
xor ecx, ecx
mov eax, dword [ecx + 0x11c]
push ecx
mov byte [ebp - 4], 0
mov dword [eax + 8], 0x3f800000
mov dword [ecx + 0x108], 0
mov dword [ecx + 0x10c], 0x461c4000
mov dword [ecx + 0x118], 0x64
mov dword [eax], 0xa
mov dword [eax + 4], 0xa
mov ecx, dword [esi + 0x180]
call fcn.0050da70
mov esi, dword [ebp - 0xc30]
lea eax, [ebp - 0x410]
push str.Adding_dungeons._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x5cfce8
push str.serverdatadungeons.dat
call fcn.00566191
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xc40], ebx
test ebx, ebx
jne 0x4b1112
mov dword [ebp - 0xc40], ebx
xor eax, eax
mov dword [ebp - 0xc50], eax
nop dword [eax + eax]
push eax
push ebx
mov ecx, esi
call fcn.004f5070
lea edi, [eax - 0xfa]
mov dword [ebp - 0xc3c], edi
cmp edi, 4
ja 0x4b10e2
push 0x190
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc54], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4b0d7b
push dword [ebp - 0xc50]
mov ecx, eax
push ebx
call fcn.0049e680
mov ebx, eax
jmp 0x4b0d7d
xor ebx, ebx
mov ecx, dword [esi + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x23c
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4b0dc9
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004ec520
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b0dd1
xor esi, esi
mov dword [ebp - 0xc34], esi
push 2
push edi
push dword [ebp - 0xc50]
lea eax, [edi + 4]
mov byte [ebp - 4], 0
push dword [ebp - 0xc40]
lea eax, [eax + eax*4]
mov ecx, esi
push 0x14
push eax
call fcn.004ed370
mov eax, dword [ebp - 0xc2c]
push esi
mov ecx, dword [eax + 0x48]
call fcn.0044de70
mov dword [ebx + 0x188], esi
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x124]
mov ebx, dword [esi + 0x128]
imul ecx, ebx
mov dword [ebp - 0xc44], 0
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b0f67
nop word [eax + eax]
call fcn.00565b3a
cdq
mov ecx, 0x22
idiv ecx
mov ebx, edx
mov dword [ebp - 0xc38], ebx
call fcn.00565b3a
cdq
mov ecx, 6
idiv ecx
lea eax, [ebx + ebx*2]
mov ecx, edx
mov dword [ebp - 0xc4c], ecx
lea eax, [ecx + eax*2]
imul ecx, eax, 0x64
cmp byte [ecx + str.Ghost], 0
je 0x4b0f3c
mov ecx, dword [ecx + 0x61c8c4]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b0f3c
cmp ecx, edi
jg 0x4b0f3c
nop dword [eax]
call fcn.00565b3a
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.00565b3a
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b0ec6
cmp edi, 4
jl 0x4b0ea0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4b0efa
push 0
push 0
push dword [ebp - 0xc4c]
mov ecx, eax
push dword [ebp - 0xc38]
call fcn.00492f60
jmp 0x4b0efc
xor eax, eax
mov dword [eax + 0x108], ebx
mov dword [eax + 0x10c], edi
mov dword [eax + 0x110], ebx
mov dword [eax + 0x114], edi
mov dword [eax + 0x228], ebx
mov dword [eax + 0x22c], edi
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
inc dword [ebp - 0xc44]
mov edi, dword [ebp - 0xc3c]
mov ecx, dword [esi + 0x124]
mov eax, 0x2aaaaaab
mov ebx, dword [esi + 0x128]
imul ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xc44], eax
jl 0x4b0e40
test edi, edi
mov dword [ebp - 0xc44], 0
mov eax, 1
cmove edi, eax
imul ebx, dword [esi + 0x124]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xc3c], edi
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b10d6
mov edi, 0x22
lea esi, [edi - 0x1c]
call fcn.00565b3a
cdq
idiv edi
mov ebx, edx
mov dword [ebp - 0xc4c], ebx
call fcn.00565b3a
cdq
idiv esi
lea eax, [ebx + ebx*2]
mov ecx, edx
mov dword [ebp - 0xc38], ecx
lea eax, [ecx + eax*2]
imul eax, eax, 0x64
test byte [eax + 0x61c8c8], 1
je 0x4b0fa8
cmp byte [eax + str.Ghost], 0
mov esi, dword [ebp - 0xc34]
mov edi, dword [ebp - 0xc3c]
je 0x4b10ad
mov ecx, dword [eax + 0x61c8c4]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b10ad
lea eax, [edi - 1]
cmp ecx, eax
jg 0x4b10ad
nop
call fcn.00565b3a
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.00565b3a
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b1036
cmp edi, 4
jl 0x4b1010
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4b106a
push 0
push 0
push dword [ebp - 0xc38]
mov ecx, eax
push dword [ebp - 0xc4c]
call fcn.00492f60
jmp 0x4b106c
xor eax, eax
mov byte [eax + 0x1dc], 1
mov dword [eax + 0x108], ebx
mov dword [eax + 0x10c], edi
mov dword [eax + 0x110], ebx
mov dword [eax + 0x114], edi
mov dword [eax + 0x228], ebx
mov dword [eax + 0x22c], edi
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
inc dword [ebp - 0xc44]
mov ecx, dword [esi + 0x128]
mov eax, 0x2aaaaaab
imul ecx, dword [esi + 0x124]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xc44], eax
jl 0x4b0fa0
mov esi, dword [ebp - 0xc30]
mov ebx, dword [ebp - 0xc40]
mov eax, dword [ebp - 0xc50]
inc eax
mov dword [ebp - 0xc50], eax
cmp eax, 0x100
jl 0x4b0d30
inc ebx
mov dword [ebp - 0xc40], ebx
cmp ebx, 0x100
jl 0x4b0d23
jmp 0x4b17c8
push 0x19
call fcn.00565b5b
lea eax, [ebp - 0xc44]
push eax
push 0x5d22c0
push ebx
call fcn.00448230
push 0
lea eax, [ebp - 0x410]
push eax
push ebx
call fcn.0044d390
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b1168
test dl, dl
je 0x4b1164
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b1168
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b1148
xor eax, eax
jmp 0x4b116d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b17b0
lea ebx, [eax + 0x22]
lea edi, [eax + 6]
nop dword [eax + eax]
push 0x23c
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4b11b6
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004ec520
mov esi, eax
jmp 0x4b11b8
xor esi, esi
movss xmm0, dword [ebp - 0xc44]
movss xmm1, dword [0x5db2dc]
comiss xmm1, xmm0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0
movss dword [esp], xmm0
push dword [ebp - 0xc40]
jbe 0x4b12a8
call fcn.004ed720
lea eax, [esi + 0x144]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0046d610
mov eax, dword [esi + 0x12c]
add esp, 8
mov dword [ebp - 0xc38], eax
mov ecx, esi
mov eax, dword [esi + 0x130]
mov dword [ebp - 0xc34], eax
mov eax, dword [esi]
push 1
call dword [eax]
push 0x23c
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4b1254
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004ec520
mov esi, eax
jmp 0x4b1256
xor esi, esi
push 2
mov byte [ebp - 4], 0
call fcn.00565b3a
mov ecx, 5
cdq
idiv ecx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push ecx
mov ecx, esi
call fcn.004ed370
lea eax, [ebp - 0x410]
push eax
lea eax, [esi + 0x144]
push eax
call fcn.004afe70
mov eax, dword [ebp - 0xc38]
add esp, 8
mov dword [esi + 0x12c], eax
mov eax, dword [ebp - 0xc34]
mov dword [esi + 0x130], eax
jmp 0x4b12ad
call fcn.004ed720
mov ecx, dword [ebp - 0xc2c]
push esi
call fcn.004b54b0
movss xmm0, dword [ebp - 0xc44]
lea ecx, [esi + 0x12c]
movss xmm1, dword [0x5db2d8]
comiss xmm1, xmm0
mov dword [ebp - 0xc3c], ecx
jbe 0x4b12f8
mov eax, dword [ecx]
add eax, eax
mov dword [ecx], eax
mov eax, dword [esi + 0x130]
add eax, eax
mov dword [esi + 0x130], eax
movss xmm0, dword [ebp - 0xc44]
jmp 0x4b12fe
mov dword [ebp - 0xc3c], ecx
movss xmm1, dword [0x5db2dc]
comiss xmm1, xmm0
jbe 0x4b14a4
mov ecx, dword [esi + 0x128]
mov eax, 0x2aaaaaab
imul ecx, dword [esi + 0x124]
mov dword [ebp - 0xc34], 0
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b149e
nop
call fcn.00565b3a
cdq
idiv ebx
mov ebx, edx
mov dword [ebp - 0xc4c], ebx
call fcn.00565b3a
cdq
idiv edi
lea eax, [ebx + ebx*2]
mov ecx, edx
mov dword [ebp - 0xc50], ecx
lea eax, [ecx + eax*2]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
je 0x4b1470
call fcn.00565b3a
cdq
idiv dword [esi + 0x124]
mov edi, edx
call fcn.00565b3a
cdq
idiv dword [esi + 0x128]
mov eax, dword [ebp - 0xc4c]
mov ecx, dword [ebp - 0xc50]
mov ebx, edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
imul eax, eax, 0x64
test byte [eax + 0x61c8c8], 1
jne 0x4b13dd
mov ebx, 0x3e8
mov edi, ebx
call fcn.00565b3a
cdq
mov ecx, 0x22
idiv ecx
mov dword [ebp - 0xc4c], edx
call fcn.00565b3a
cdq
mov ecx, 6
idiv ecx
mov dword [ebp - 0xc50], edx
mov eax, dword [esi + 0x124]
sub eax, 2
cmp edi, eax
jle 0x4b13fb
mov eax, dword [esi + 0x128]
sub eax, 2
cmp ebx, eax
jg 0x4b1376
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4b142f
push 0
push 0
push dword [ebp - 0xc50]
mov ecx, eax
push dword [ebp - 0xc4c]
call fcn.00492f60
jmp 0x4b1431
xor eax, eax
mov dword [eax + 0x108], edi
mov dword [eax + 0x10c], ebx
mov dword [eax + 0x110], edi
mov dword [eax + 0x114], ebx
mov dword [eax + 0x228], edi
mov dword [eax + 0x22c], ebx
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
inc dword [ebp - 0xc34]
mov edi, 6
mov ecx, dword [esi + 0x128]
mov eax, 0x2aaaaaab
imul ecx, dword [esi + 0x124]
mov ebx, 0x22
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xc34], eax
jl 0x4b1340
mov ecx, dword [ebp - 0xc3c]
mov eax, dword [esi + 0x130]
xor edi, edi
mov ecx, dword [ecx]
mov ebx, dword [ebp - 0xc30]
push eax
push ecx
push eax
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x20]
mov ebx, dword [ebp - 0xc3c]
test eax, eax
je 0x4b14eb
mov eax, dword [esi + 0x130]
mov ecx, dword [ebx]
dec eax
mov edx, dword [ebp - 0xc30]
push eax
push ecx
push eax
mov edx, dword [edx]
push ecx
mov ecx, dword [ebp - 0xc30]
call dword [edx + 0x20]
test eax, eax
jne 0x4b14f0
mov edi, 1
mov eax, dword [ebx]
mov dword [ebp - 0xc38], eax
cmp eax, 2
jl 0x4b1504
cmp eax, 0xfe
jl 0x4b1509
mov edi, 1
mov ecx, dword [esi + 0x130]
cmp ecx, 2
jl 0x4b151c
cmp ecx, 0xfe
jl 0x4b1521
mov edi, 1
mov ecx, 0x60e2b8
sub eax, dword [ecx - 8]
mov ebx, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jge 0x4b154c
mov eax, dword [esi + 0x130]
sub eax, dword [ecx - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
mov eax, 1
cmovl edi, eax
mov eax, dword [ebp - 0xc38]
add ecx, 0x50
cmp ecx, str.Knife
jl 0x4b1526
test edi, edi
je 0x4b159a
call fcn.00565b3a
and eax, 0x800000ff
jns 0x4b1574
dec eax
or eax, 0xffffff00
inc eax
mov edi, dword [ebp - 0xc3c]
mov dword [edi], eax
call fcn.00565b3a
and eax, 0x800000ff
jns 0x4b158f
dec eax
or eax, 0xffffff00
inc eax
mov dword [esi + 0x130], eax
jmp 0x4b149e
push 0x190
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc54], eax
mov edi, dword [ebp - 0xc3c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4b15ce
push dword [esi + 0x130]
mov ecx, eax
push dword [edi]
call fcn.0049e680
mov ebx, eax
jmp 0x4b15d0
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
push ebx
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.005155c0
push 0x194
mov dword [ebx + 0x188], esi
call fcn.0055644a
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc64], ebx
mov byte [ebp - 4], 0x15
test ebx, ebx
je 0x4b162c
call fcn.00565b3a
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00565b3a
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.0048fc00
jmp 0x4b162e
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x194
call fcn.0055644a
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc68], ebx
mov byte [ebp - 4], 0x16
test ebx, ebx
je 0x4b167e
call fcn.00565b3a
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00565b3a
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.0048fc00
jmp 0x4b1680
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x194
call fcn.0055644a
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc6c], ebx
mov byte [ebp - 4], 0x17
test ebx, ebx
je 0x4b16d0
call fcn.00565b3a
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00565b3a
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.0048fc00
jmp 0x4b16d2
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x194
call fcn.0055644a
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x4b1718
mov eax, dword [esi + 0x128]
dec eax
push eax
mov eax, dword [esi + 0x124]
dec eax
push eax
call fcn.0049e7b0
mov ecx, eax
jmp 0x4b171a
xor ecx, ecx
mov eax, dword [edi]
mov dword [ecx + 0x180], eax
mov eax, dword [esi + 0x130]
dec eax
mov dword [ecx + 0x188], 0
mov dword [ecx + 0x184], eax
mov dword [ecx + 0x18c], 0
push ecx
mov ecx, dword [esi + 0x118]
mov byte [ebp - 4], 0
call fcn.005155c0
push 0
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc40]
call fcn.0044d390
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b1795
test dl, dl
je 0x4b1791
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b1795
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b1775
xor eax, eax
jmp 0x4b179a
sbb eax, eax
or eax, 1
mov ebx, 0x22
lea edi, [ebx - 0x1c]
test eax, eax
je 0x4b1180
mov ebx, dword [ebp - 0xc40]
push ebx
call fcn.00565ea3
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00565b5b
add esp, 4
push 0x190
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x4b17f8
push 0x3e
push 0x3e
mov ecx, eax
call fcn.0049e680
mov esi, eax
mov dword [ebp - 0xc44], eax
jmp 0x4b1800
xor esi, esi
mov dword [ebp - 0xc44], esi
mov eax, dword [ebp - 0xc30]
push esi
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.005155c0
lea eax, [ebp - 0x410]
push str.Opening_cave_dat_file._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x5cfce8
push str.serverdatacave.dat
call fcn.00566191
mov edi, eax
push 0x23c
mov dword [ebp - 0xc4c], edi
call fcn.0055644a
add esp, 0x1c
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4b1885
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Mysterious_Cave
push 1
call fcn.004ec520
mov ebx, eax
jmp 0x4b1887
xor ebx, ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x410]
test edi, edi
jne 0x4b1974
push str.Failed__creating_default._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
mov ecx, ebx
push 2
push edi
push 0x3e
push 0x3e
push 0x14
push 0x14
call fcn.004ed370
mov eax, dword [ebp - 0xc2c]
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044de70
lea eax, [ebx + 0x144]
mov dword [esi + 0x188], ebx
push str.Mysterious_Cave
push eax
mov dword [ebx + 0x204], 1
call fcn.004afe70
push 0x194
call fcn.0055644a
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x4b1930
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.0049e7b0
mov ecx, eax
jmp 0x4b1932
xor ecx, ecx
mov eax, dword [ebx + 0x12c]
mov dword [ecx + 0x180], eax
mov eax, dword [ebx + 0x130]
dec eax
mov dword [ecx + 0x188], 0
mov dword [ecx + 0x184], eax
mov dword [ecx + 0x18c], 0
push ecx
mov ecx, dword [ebx + 0x118]
mov byte [ebp - 4], 0
call fcn.005155c0
jmp 0x4b1da1
push str.Reading_cave_map._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
mov eax, dword [ebx + 0x134]
add esp, 0x10
test eax, eax
je 0x4b19a6
push eax
call fcn.0055699f
add esp, 4
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x4b19b9
push eax
call fcn.0055699f
add esp, 4
push 0
lea eax, [ebx + 0x144]
push eax
push edi
call fcn.0044d390
lea edx, [ebx + 0x130]
push edx
lea edx, [ebx + 0x12c]
push edx
lea eax, [ebx + 0x128]
push eax
lea ecx, [ebx + 0x124]
push ecx
lea esi, [ebx + 0x21c]
push esi
push str._d__d__d__d__d
push edi
call fcn.00448230
add esp, 0x28
mov ecx, ebx
push 2
push dword [esi]
push dword [ebx + 0x130]
push dword [ebx + 0x12c]
push dword [ebx + 0x128]
push dword [ebx + 0x124]
call fcn.004ed370
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5d2504
push edi
call fcn.00448230
movzx eax, byte [ebp - 0xc34]
add esp, 0x10
mov byte [ebx + 0x13c], al
xor esi, esi
movzx eax, byte [ebp - 0xc3c]
mov byte [ebx + 0x13d], al
mov eax, dword [ebx + 0x124]
imul eax, dword [ebx + 0x128]
test eax, eax
jle 0x4b1abe
nop word [eax + eax]
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5d2504
push edi
call fcn.00448230
mov ecx, dword [ebx + 0x134]
add esp, 0x10
movzx eax, byte [ebp - 0xc34]
mov byte [esi + ecx], al
mov ecx, dword [ebx + 0x138]
movzx eax, byte [ebp - 0xc3c]
mov byte [esi + ecx], al
inc esi
mov eax, dword [ebx + 0x124]
imul eax, dword [ebx + 0x128]
cmp esi, eax
jl 0x4b1a70
mov eax, dword [ebp - 0xc2c]
mov dword [ebx + 0x204], 1
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044de70
mov eax, dword [ebp - 0xc44]
push 0x194
mov dword [eax + 0x188], ebx
call fcn.0055644a
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x4b1b19
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.0049e7b0
mov ecx, eax
jmp 0x4b1b1b
xor ecx, ecx
mov eax, dword [ebx + 0x12c]
mov dword [ecx + 0x180], eax
mov eax, dword [ebx + 0x130]
dec eax
mov dword [ecx + 0x188], 0
mov dword [ecx + 0x184], eax
mov dword [ecx + 0x18c], 0
push ecx
mov ecx, dword [ebx + 0x118]
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x5d0c78
push edi
call fcn.00448230
push 0
lea eax, [ebp - 0x410]
push eax
push edi
call fcn.0044d390
add esp, 0x14
lea eax, [ebp - 0x410]
mov ecx, str.PLAYERMERCHANT
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b1ba0
test dl, dl
je 0x4b1b9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b1ba0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b1b80
xor eax, eax
jmp 0x4b1ba5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b1d98
nop dword [eax]
lea eax, [ebp - 0x410]
push str.Loading_Playemerchant._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
lea eax, [ebp - 0x410]
push eax
push str.ACCOUNT__s_n
push edi
call fcn.00448230
lea eax, [ebp - 0x810]
push eax
push str.OWNER__s_n
push edi
call fcn.00448230
lea eax, [ebp - 0x410]
push str.Loading_coords._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc3c]
push eax
push str._d__d_n
push edi
call fcn.00448230
add esp, 0x48
push 0x990
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x4b1c5c
push 0x15
mov ecx, eax
call fcn.0049c310
mov edi, eax
jmp 0x4b1c5e
xor edi, edi
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0
push eax
lea eax, [edi + 0x190]
push eax
call fcn.0043d360
lea eax, [ebp - 0x810]
push eax
lea esi, [edi + 0x590]
push esi
call fcn.0043d360
push esi
lea eax, [ebp - 0x810]
push str._ss_Merchant
push eax
call fcn.0043d360
push 0xff
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x810]
push 0xff
push eax
call fcn.0044cdd0
lea eax, [ebp - 0x410]
mov dword [edi + 0x184], 0
push str.Loading_inventory._n
push eax
mov dword [edi + 0x188], 0
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
mov ecx, dword [edi + 0x180]
add esp, 0x38
mov dword [esp], 0x402f5c29
push dword [ebp - 0xc4c]
call fcn.0050e800
push dword [ebp - 0xc40]
lea eax, [ebp - 0x410]
push dword [ebp - 0xc3c]
push str.Adding_to_map_list_at__d__d._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
mov eax, dword [ebp - 0xc3c]
add esp, 0x18
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0xc40]
mov dword [edi + 0x10c], eax
mov ecx, dword [ebx + 0x118]
push edi
call fcn.005155c0
mov ecx, str.PLAYERMERCHANT
lea eax, [ebp - 0x410]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b1d85
test dl, dl
je 0x4b1d81
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b1d85
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b1d65
xor eax, eax
jmp 0x4b1d8a
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0xc4c]
test eax, eax
je 0x4b1bb0
push edi
call fcn.00565ea3
add esp, 4
lea eax, [ebp - 0x410]
push str.Adding_monster_generators._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x774
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4b1ded
push 0
push 0
mov ecx, eax
call fcn.004911b0
mov edi, eax
jmp 0x4b1def
xor edi, edi
mov ebx, dword [ebp - 0xc30]
push edi
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044de70
mov eax, 0xc8
add edi, 0x438
mov ecx, 0xcc
rep stosd dword es:[edi], eax
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4b1e3f
push 0
push 0
mov ecx, eax
call fcn.00490df0
jmp 0x4b1e41
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x4b1e79
push 0
push 0
mov ecx, eax
call fcn.004900c0
jmp 0x4b1e7b
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x794
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4b1eb0
push ebx
mov ecx, eax
call fcn.0048f350
jmp 0x4b1eb2
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x7bc
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x22
test eax, eax
je 0x4b1ee7
push ebx
mov ecx, eax
call fcn.00491e30
jmp 0x4b1ee9
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x794
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x4b1f1e
push ebx
mov ecx, eax
call fcn.0043cc00
jmp 0x4b1f20
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x24
test eax, eax
je 0x4b1f58
push 0
push 0
mov ecx, eax
call fcn.0049bc50
jmp 0x4b1f5a
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_halloween_if_enabled._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
cmp dword [0x62caa4], 0
je 0x4b201e
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4b1fcb
push 0x19
push 0x2b
push 0x68
push 0x35
push 0x68
push ebx
mov ecx, eax
call fcn.0046a350
jmp 0x4b1fcd
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x26
test eax, eax
je 0x4b200c
push 0x19
push 0x35
push 0x5e
push 0x2b
push 0x5e
push ebx
mov ecx, eax
call fcn.0046a350
jmp 0x4b200e
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_spider_armies._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x804
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x27
test eax, eax
je 0x4b206f
push 0x23
push 0x1b
push 0x78
push 0x25
push 0x78
push ebx
mov ecx, eax
call fcn.0046a990
jmp 0x4b2071
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4b20b6
push 0x2d
push 0x8c
push 0x5a
push 0x98
push 0x60
push ebx
mov ecx, eax
call fcn.0046a990
jmp 0x4b20b8
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_great_trees._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
xor esi, esi
nop
push 0x184
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x29
test eax, eax
je 0x4b211a
push 0
push 0
mov ecx, eax
call fcn.0049e720
mov ecx, eax
jmp 0x4b211c
xor ecx, ecx
mov eax, dword [esi*8 + 0x60f1f8]
mov dword [ecx + 0x108], eax
mov eax, dword [esi*8 + str._Zo__]
mov dword [ecx + 0x10c], eax
mov dword [ecx + 0x180], esi
push ecx
mov ecx, dword [ebx + 0x118]
mov byte [ebp - 4], 0
call fcn.005155c0
inc esi
cmp esi, 9
jl 0x4b20f0
push 0x5cfce8
push str.serverdataunicornData.dat
call fcn.00566191
add esp, 8
mov dword [ebp - 0xc34], eax
test eax, eax
je 0x4b2225
mov esi, dword [ebp - 0xc2c]
xor edi, edi
add esi, 8
nop dword [eax]
push esi
lea ebx, [esi - 4]
push ebx
push str._d__d_n
push eax
call fcn.00448230
push 0x2c8
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4b21bd
push 0
push 0
push edi
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ecx, eax
jmp 0x4b21bf
xor ecx, ecx
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xc30]
mov dword [ecx + 0x228], eax
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x108], eax
mov eax, dword [esi]
mov dword [ecx + 0x22c], eax
mov dword [ecx + 0x114], eax
mov dword [ecx + 0x10c], eax
mov byte [ecx + 0x1f9], 1
push ecx
mov ecx, dword [ebx + 0x118]
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebp - 0xc34]
inc edi
add esi, 8
cmp edi, 6
jl 0x4b2180
push eax
call fcn.00565ea3
add esp, 4
jmp 0x4b270d
call fcn.00565b3a
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv edi
mov edi, edx
nop
mov eax, dword [ebx]
mov ecx, ebx
push edi
push esi
push edi
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x4b226c
call fcn.00565b3a
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv edi
lea edi, [edx + 1]
jmp 0x4b2240
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4b229a
push 0
push 0
push 0
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ebx, eax
jmp 0x4b229c
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0x22c], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x10c], edi
mov byte [ebx + 0x1f9], 1
mov ecx, dword [eax + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebx + 0x224]
mov ecx, dword [ebp - 0xc2c]
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 0x224]
mov dword [ecx + eax*8 + 8], edi
call fcn.00565b3a
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
mov edi, edx
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x4b233c
call fcn.00565b3a
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b2311
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x4b236a
push 0
push 0
push 1
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ebx, eax
jmp 0x4b236c
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0x22c], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x10c], edi
mov byte [ebx + 0x1f9], 1
mov ecx, dword [eax + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebx + 0x224]
mov ecx, dword [ebp - 0xc2c]
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 0x224]
mov dword [ecx + eax*8 + 8], edi
call fcn.00565b3a
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
mov edi, edx
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x4b240c
call fcn.00565b3a
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b23e1
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4b243a
push 0
push 0
push 2
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ebx, eax
jmp 0x4b243c
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0x22c], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x10c], edi
mov byte [ebx + 0x1f9], 1
mov ecx, dword [eax + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebx + 0x224]
mov ecx, dword [ebp - 0xc2c]
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 0x224]
mov dword [ecx + eax*8 + 8], edi
call fcn.00565b3a
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
mov edi, edx
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x4b24dc
call fcn.00565b3a
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b24b1
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4b250a
push 0
push 0
push 3
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ebx, eax
jmp 0x4b250c
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0x22c], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x10c], edi
mov byte [ebx + 0x1f9], 1
mov ecx, dword [eax + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebx + 0x224]
mov ecx, dword [ebp - 0xc2c]
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 0x224]
mov dword [ecx + eax*8 + 8], edi
call fcn.00565b3a
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
mov edi, edx
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x4b25ac
call fcn.00565b3a
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b2581
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x4b25da
push 0
push 0
push 4
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ebx, eax
jmp 0x4b25dc
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0x22c], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x10c], edi
mov byte [ebx + 0x1f9], 1
mov ecx, dword [eax + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebx + 0x224]
mov ecx, dword [ebp - 0xc2c]
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 0x224]
mov dword [ecx + eax*8 + 8], edi
call fcn.00565b3a
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
mov edi, edx
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x4b267c
call fcn.00565b3a
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00565b3a
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b2651
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x30
test eax, eax
je 0x4b26aa
push 0
push 0
push 5
push 0x1f
mov ecx, eax
call fcn.00492f60
mov ebx, eax
jmp 0x4b26ac
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
mov dword [ebx + 0x228], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x108], esi
mov dword [ebx + 0x22c], edi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x10c], edi
mov byte [ebx + 0x1f9], 1
mov ecx, dword [eax + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.005155c0
mov eax, dword [ebx + 0x224]
mov ecx, dword [ebp - 0xc2c]
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 0x224]
mov ebx, dword [ebp - 0xc30]
mov dword [ecx + eax*8 + 8], edi
lea eax, [ebp - 0x410]
push str.Adding_spirit_realm._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x13c
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x4b2765
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Spirits
push 4
call fcn.00525b30
mov esi, eax
jmp 0x4b2767
xor esi, esi
push 0
push 0
push 0x40
push 0x40
push str.dat_realm_spirits_server.raw
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00525ce0
mov dword [esi + 0x134], 0
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4b27ba
push 0
push 0
mov ecx, eax
call fcn.004911b0
jmp 0x4b27bc
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x4b27f8
push 0
push 0
push 1
push 0x10
mov ecx, eax
call fcn.00492f60
jmp 0x4b27fa
xor eax, eax
mov dword [eax + 0x228], 0x3e
mov dword [eax + 0x110], 0x3e
mov dword [eax + 0x108], 0x3e
mov dword [eax + 0x22c], 3
mov dword [eax + 0x114], 3
mov dword [eax + 0x10c], 3
mov byte [eax + 0x2c4], 1
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x34
test eax, eax
je 0x4b2879
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00492f60
jmp 0x4b287b
xor eax, eax
mov dword [eax + 0x228], 0x3e
mov dword [eax + 0x110], 0x3e
mov dword [eax + 0x108], 0x3e
mov dword [eax + 0x22c], 4
mov dword [eax + 0x114], 4
mov dword [eax + 0x10c], 4
mov byte [eax + 0x2c4], 1
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x35
test eax, eax
je 0x4b28fa
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00492f60
jmp 0x4b28fc
xor eax, eax
mov dword [eax + 0x228], 0x3d
mov dword [eax + 0x110], 0x3d
mov dword [eax + 0x108], 0x3d
mov dword [eax + 0x22c], 5
mov dword [eax + 0x114], 5
mov dword [eax + 0x10c], 5
mov byte [eax + 0x2c4], 1
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x36
test eax, eax
je 0x4b297b
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00492f60
jmp 0x4b297d
xor eax, eax
mov dword [eax + 0x228], 0x3e
mov dword [eax + 0x110], 0x3e
mov dword [eax + 0x108], 0x3e
mov dword [eax + 0x22c], 6
mov dword [eax + 0x114], 6
mov dword [eax + 0x10c], 6
mov byte [eax + 0x2c4], 1
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [ebp - 0x410]
push str.Adding_realm_of_the_dead._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x13c
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x4b2a22
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_the_Dead
push 4
call fcn.00525b30
mov esi, eax
jmp 0x4b2a24
xor esi, esi
push 0
push 0
push 0x40
push 0x40
push str.dat_realm_dead_server.raw
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00525ce0
mov dword [esi + 0x134], 1
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x38
test eax, eax
je 0x4b2a77
push 0
push 0
mov ecx, eax
call fcn.004911b0
jmp 0x4b2a79
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x39
test eax, eax
je 0x4b2ab8
push 1
push 2
push 0x32
push 5
push 0x29
push esi
mov ecx, eax
call fcn.00468ab0
jmp 0x4b2aba
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3a
test eax, eax
je 0x4b2af9
push 2
push 0x20
push 0x15
push 0x23
push 0x20
push esi
mov ecx, eax
call fcn.00468ab0
jmp 0x4b2afb
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3b
test eax, eax
je 0x4b2b3a
push 3
push 0x36
push 0x18
push 0x36
push 0xe
push esi
mov ecx, eax
call fcn.00468ab0
jmp 0x4b2b3c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3c
test eax, eax
je 0x4b2b7b
push 4
push 0x19
push 0x2b
push 0x28
push 0x32
push esi
mov ecx, eax
call fcn.00468ab0
jmp 0x4b2b7d
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x13c
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3d
test eax, eax
je 0x4b2bbd
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Dragons
push 4
call fcn.00525b30
mov esi, eax
jmp 0x4b2bbf
xor esi, esi
push 0
push 0
push 0x40
push 0x40
push str.dat_realm_dragons_server.raw
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00525ce0
mov dword [esi + 0x134], 2
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x4b2c12
push 0
push 0
mov ecx, eax
call fcn.0048fd10
jmp 0x4b2c14
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3f
test eax, eax
je 0x4b2c4c
push 7
push 0x15
mov ecx, eax
call fcn.00490470
jmp 0x4b2c4e
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x40
test eax, eax
je 0x4b2c86
push 0x3a
push 0xc
mov ecx, eax
call fcn.00490470
jmp 0x4b2c88
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x41
test eax, eax
je 0x4b2cc0
push 0x13
push 0x18
mov ecx, eax
call fcn.00490470
jmp 0x4b2cc2
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x42
test eax, eax
je 0x4b2cfa
push 0x36
push 0x1e
mov ecx, eax
call fcn.00490470
jmp 0x4b2cfc
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x43
test eax, eax
je 0x4b2d34
push 0x34
push 0x33
mov ecx, eax
call fcn.00490470
jmp 0x4b2d36
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x44
test eax, eax
je 0x4b2d6e
push 0x1c
push 0x39
mov ecx, eax
call fcn.00490470
jmp 0x4b2d70
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x45
test eax, eax
je 0x4b2da8
push 5
push 0x2f
mov ecx, eax
call fcn.00490470
jmp 0x4b2daa
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x46
test eax, eax
je 0x4b2de9
push 0x55
push 2
push 0x3c
push 9
push 0x3c
push esi
mov ecx, eax
call fcn.00469c10
jmp 0x4b2deb
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x47
test eax, eax
je 0x4b2e2a
push 0x56
push 0x3e
push 0x3e
push 0x35
push 0x3d
push esi
mov ecx, eax
call fcn.004693f0
jmp 0x4b2e2c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x48
test eax, eax
je 0x4b2e6b
push 0x57
push 0x36
push 0x29
push 0x36
push 0x29
push esi
mov ecx, eax
call fcn.004697d0
jmp 0x4b2e6d
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x49
test eax, eax
je 0x4b2eac
push 0x55
push 0x2a
push 0x10
push 0x2a
push 5
push esi
mov ecx, eax
call fcn.0046a1b0
jmp 0x4b2eae
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x804
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4a
test eax, eax
je 0x4b2eed
push 0x56
push 0xb
push 0x24
push 3
push 0x24
push esi
mov ecx, eax
call fcn.0046a1b0
jmp 0x4b2eef
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4b
test eax, eax
je 0x4b2f2b
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00492f60
jmp 0x4b2f2d
xor eax, eax
mov dword [eax + 0x228], 0x43
mov dword [eax + 0x110], 0x43
mov dword [eax + 0x108], 0x43
mov dword [eax + 0x22c], 0x4c
mov dword [eax + 0x114], 0x4c
mov dword [eax + 0x10c], 0x4c
mov dword [eax + 0x238], 0x3e8
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x4b2faf
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00492f60
jmp 0x4b2fb1
xor eax, eax
mov dword [eax + 0x228], 0xef
mov dword [eax + 0x110], 0xef
mov dword [eax + 0x108], 0xef
mov dword [eax + 0x22c], 0x91
mov dword [eax + 0x114], 0x91
mov dword [eax + 0x10c], 0x91
mov dword [eax + 0x238], 0x3e8
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4d
test eax, eax
je 0x4b3033
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00492f60
jmp 0x4b3035
xor eax, eax
mov dword [eax + 0x228], 0xdf
mov dword [eax + 0x110], 0xdf
mov dword [eax + 0x108], 0xdf
mov dword [eax + 0x22c], 0xbc
mov dword [eax + 0x114], 0xbc
mov dword [eax + 0x10c], 0xbc
mov dword [eax + 0x238], 0x3e8
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4e
test eax, eax
je 0x4b30b7
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00492f60
jmp 0x4b30b9
xor eax, eax
mov dword [eax + 0x228], 0xdf
mov dword [eax + 0x110], 0xdf
mov dword [eax + 0x108], 0xdf
mov dword [eax + 0x22c], 8
mov dword [eax + 0x114], 8
mov dword [eax + 0x10c], 8
mov dword [eax + 0x238], 0x3e8
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4f
test eax, eax
je 0x4b313b
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00492f60
jmp 0x4b313d
xor eax, eax
mov dword [eax + 0x228], 0x2d
mov dword [eax + 0x110], 0x2d
mov dword [eax + 0x108], 0x2d
mov dword [eax + 0x22c], 0x82
mov dword [eax + 0x114], 0x82
mov dword [eax + 0x10c], 0x82
mov dword [eax + 0x238], 0x3e8
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x50
test eax, eax
je 0x4b31bf
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00492f60
jmp 0x4b31c1
xor eax, eax
mov dword [eax + 0x228], 0x57
mov dword [eax + 0x110], 0x57
mov dword [eax + 0x108], 0x57
mov dword [eax + 0x22c], 0xe6
mov dword [eax + 0x114], 0xe6
mov dword [eax + 0x10c], 0xe6
mov dword [eax + 0x238], 0x3e8
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x51
test eax, eax
je 0x4b3245
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b3247
xor esi, esi
mov dword [esi + 0x228], 0x70
mov dword [esi + 0x110], 0x70
mov dword [esi + 0x108], 0x70
mov dword [esi + 0x22c], 9
mov dword [esi + 0x114], 9
mov dword [esi + 0x10c], 9
mov ecx, dword [ebx + 0x118]
push esi
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [esi + 0x184]
push str.Trickster_Minotaur
push eax
call fcn.004afe40
push 0x5cfce8
push str.serverdata_tricksterMino.dat
mov dword [ebp - 0xc48], 1
call fcn.00566191
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b32e1
lea eax, [ebp - 0xc48]
push eax
push 0x5cfcf4
push edi
call fcn.00448230
push edi
call fcn.00565ea3
add esp, 0x10
mov eax, dword [ebp - 0xc48]
cmp eax, 1
jge 0x4b32f8
mov dword [ebp - 0xc48], 1
jmp 0x4b3309
cmp eax, 0xbb8
jle 0x4b3309
mov dword [ebp - 0xc48], 0xbb8
mov dword [esi + 0x1a4], 0xff0000ff
movd xmm0, dword [ebp - 0xc48]
cvtdq2ps xmm0, xmm0
push 0x2c8
movss xmm2, dword [0x5d0048]
divss xmm0, dword [0x5d3e5c]
movaps xmm1, xmm2
addss xmm0, xmm2
movss dword [esi + 0x1a8], xmm0
imul eax, dword [ebp - 0xc48], 0x64
mov dword [esi + 0x1ac], eax
imul eax, dword [ebp - 0xc48], 0x64
mov dword [esi + 0x1b0], eax
mov eax, dword [ebp - 0xc48]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x1b4], eax
mov eax, dword [ebp - 0xc48]
mov dword [esi + 0x1b8], eax
mov eax, dword [ebp - 0xc48]
mov dword [esi + 0x1bc], eax
mov eax, dword [ebp - 0xc48]
mov dword [esi + 0x1c0], eax
movd xmm0, dword [ebp - 0xc48]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x238], 0x3e8
divss xmm1, xmm0
subss xmm2, xmm1
movss dword [esi + 0x1f4], xmm2
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x52
test eax, eax
je 0x4b33df
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b33e1
xor esi, esi
mov edi, dword [ebp - 0xc30]
mov dword [esi + 0x228], 0x63
mov dword [esi + 0x110], 0x63
mov dword [esi + 0x108], 0x63
mov dword [esi + 0x22c], 0x2f
mov dword [esi + 0x114], 0x2f
mov dword [esi + 0x10c], 0x2f
mov ecx, dword [edi + 0x118]
push esi
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [esi + 0x184]
push str.Punching_Bag
push eax
call fcn.004afe40
push 0x5cfce8
push str.serverdataDecayingGolem.dat
call fcn.00566191
push 0x2c8
mov dword [esi + 0x1a4], 0xff0000ff
mov dword [esi + 0x1a8], 0x40000000
mov dword [esi + 0x1ac], 0x3d090
mov dword [esi + 0x1b0], 0x493e0
mov dword [esi + 0x1b4], 1
mov dword [esi + 0x1b8], 1
mov dword [esi + 0x1bc], 1
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1f4], 0x3f800000
mov dword [esi + 0x234], 0x7a120
mov dword [esi + 0x238], 0x3e8
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x53
test eax, eax
je 0x4b34ef
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b34f1
xor esi, esi
mov dword [esi + 0x228], 0x48
mov dword [esi + 0x110], 0x48
mov dword [esi + 0x108], 0x48
mov dword [esi + 0x22c], 0x1c
mov dword [esi + 0x114], 0x1c
mov dword [esi + 0x10c], 0x1c
mov ecx, dword [edi + 0x118]
push esi
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [esi + 0x184]
push str.Punching_Bag
push eax
call fcn.004afe40
push 0x5cfce8
push str.serverdataDecayingGolem.dat
call fcn.00566191
lea eax, [ebp - 0x410]
mov dword [esi + 0x1a4], 0xff0000ff
push str.Loading_Guilds._n
push eax
mov dword [esi + 0x1a8], 0x40000000
mov dword [esi + 0x1ac], 0x3d090
mov dword [esi + 0x1b0], 0x493e0
mov dword [esi + 0x1b4], 1
mov dword [esi + 0x1b8], 1
mov dword [esi + 0x1bc], 1
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1f4], 0x3f800000
mov dword [esi + 0x234], 0x7a120
mov dword [esi + 0x238], 0x3e8
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x5cfce8
push str.serverdataguilds.dat
call fcn.00566191
mov esi, eax
add esp, 0x28
mov dword [ebp - 0xc34], esi
test esi, esi
je 0x4b3ca5
push 0x19
call fcn.00565b5b
lea eax, [ebp - 0xc38]
push eax
push 0x5d22c0
push esi
call fcn.00448230
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d390
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b3665
test dl, dl
je 0x4b3661
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b3665
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b3645
xor eax, eax
jmp 0x4b366a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b3c8d
push 0x41c
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x54
test eax, eax
je 0x4b36a8
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Tower
push 3
call fcn.0052ed60
mov ebx, eax
jmp 0x4b36aa
xor ebx, ebx
movss xmm0, dword [ebp - 0xc38]
push ecx
movss dword [esp], xmm0
mov ecx, ebx
push esi
mov byte [ebp - 4], 0
call fcn.0052f440
mov ecx, dword [ebx + 0x144]
call fcn.0044e060
cmp eax, 2
jge 0x4b36e1
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x4b3c42
mov eax, dword [ebp - 0xc2c]
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044de70
cmp dword [ebx + 0x12c], 0xffffffff
je 0x4b3c42
cmp dword [ebx + 0x130], 0xffffffff
je 0x4b3c42
nop word [eax + eax]
mov eax, dword [ebx + 0x130]
xor esi, esi
mov ecx, dword [ebx + 0x12c]
mov edx, dword [edi]
push eax
push ecx
push eax
push ecx
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
je 0x4b3749
mov eax, dword [ebx + 0x130]
mov ecx, dword [ebx + 0x12c]
dec eax
mov edx, dword [edi]
push eax
push ecx
push eax
push ecx
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
jne 0x4b374e
mov esi, 1
mov edi, dword [ebx + 0x12c]
cmp edi, 2
jl 0x4b3761
cmp edi, 0xfe
jl 0x4b3766
mov esi, 1
mov eax, dword [ebx + 0x130]
cmp eax, 2
jl 0x4b3778
cmp eax, 0xfe
jl 0x4b377d
mov esi, 1
mov ecx, 0x60e2b4
mov eax, edi
sub eax, dword [ecx - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b37a9
mov eax, dword [ebx + 0x130]
sub eax, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
add ecx, 0x50
cmp ecx, 0x60ea34
jl 0x4b3782
mov ecx, dword [ebx + 0x130]
mov eax, 0xe6
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b37e2
mov eax, 0x35
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x14
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b380a
mov eax, 0x17
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0xb3
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b3832
mov eax, 0xa4
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x6b
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b385a
mov eax, 0xa2
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x13
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b3882
mov eax, 5
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x8d
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b38aa
mov eax, 0x56
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0xb6
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b38d2
mov eax, 0x1a
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x20
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b38fa
mov eax, 0xed
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0xd7
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b3922
mov eax, 0xde
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x7b
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b394a
mov eax, 0x96
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov eax, 1
cmovl esi, eax
mov eax, 0x78
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x4b3989
mov eax, 0x25
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov eax, 1
cmovl esi, eax
mov eax, 0x1b
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov eax, 1
cmovl esi, eax
mov eax, 0x60
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x4b39b1
mov eax, 0x98
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov eax, 1
cmovl esi, eax
mov eax, 0x5a
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x4b39d9
mov eax, 0x8c
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov eax, 1
cmovl esi, eax
mov eax, dword [ebp - 0xc30]
push 0x3e8
push 0
push 0
mov ecx, dword [eax + 0x118]
call fcn.005155e0
mov edi, eax
test edi, edi
je 0x4b3a7f
nop dword [eax]
mov ecx, edi
call fcn.0044c8d0
cmp eax, 1
je 0x4b3a3c
mov ecx, edi
call fcn.0044c8d0
cmp eax, 7
je 0x4b3a3c
mov ecx, edi
call fcn.0044c8d0
cmp eax, 5
je 0x4b3a3c
mov ecx, edi
call fcn.0044c8d0
cmp eax, 0xe
je 0x4b3a3c
mov ecx, edi
call fcn.0044c8d0
cmp eax, 0x12
jne 0x4b3a68
mov eax, dword [ebx + 0x12c]
sub eax, dword [edi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b3a68
mov eax, dword [ebx + 0x130]
sub eax, dword [edi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x4b3a87
mov eax, dword [ebp - 0xc30]
mov ecx, dword [eax + 0x118]
call fcn.00515690
mov edi, eax
test edi, edi
jne 0x4b3a00
test esi, esi
je 0x4b3b3f
mov edi, dword [ebp - 0xc30]
mov esi, 3
call fcn.00565b3a
cdq
idiv esi
dec edx
add dword [ebx + 0x12c], edx
call fcn.00565b3a
cdq
idiv esi
mov eax, dword [ebx + 0x130]
mov ecx, dword [ebx + 0x12c]
dec eax
add eax, edx
mov dword [ebx + 0x130], eax
cmp ecx, 2
jge 0x4b3ad0
add ecx, esi
cmp ecx, 2
jl 0x4b3ac3
mov dword [ebx + 0x12c], ecx
cmp eax, 2
jge 0x4b3ae3
add eax, 3
cmp eax, 2
jl 0x4b3ad5
mov dword [ebx + 0x130], eax
mov eax, dword [ebx + 0x12c]
cmp eax, 0xfe
jl 0x4b3b00
add eax, 0xfffffffd
cmp eax, 0xfe
jge 0x4b3af0
mov dword [ebx + 0x12c], eax
mov ecx, dword [ebx + 0x130]
cmp ecx, 0xfe
jl 0x4b3b21
nop
add ecx, 0xfffffffd
cmp ecx, 0xfe
jge 0x4b3b10
mov dword [ebx + 0x130], ecx
mov eax, dword [ebx + 0x12c]
mov edx, dword [edi]
push ecx
push eax
push ecx
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
je 0x4b3a92
jmp 0x4b3710
push 0x190
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc6c], eax
mov byte [ebp - 4], 0x55
test eax, eax
je 0x4b3b71
push dword [ebx + 0x130]
mov ecx, eax
push dword [ebx + 0x12c]
call fcn.0049e680
mov esi, eax
jmp 0x4b3b73
xor esi, esi
mov edi, dword [ebp - 0xc30]
push esi
mov byte [ebp - 4], 0
mov ecx, dword [edi + 0x118]
call fcn.005155c0
push 0x194
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], 1
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc68], eax
mov byte [ebp - 4], 0x56
test eax, eax
je 0x4b3bc1
push 2
push 2
mov ecx, eax
call fcn.0048fc00
jmp 0x4b3bc3
xor eax, eax
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x194
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc64], eax
mov byte [ebp - 4], 0x57
test eax, eax
je 0x4b3bfd
push 4
push 4
mov ecx, eax
call fcn.0049e7b0
mov ecx, eax
jmp 0x4b3bff
xor ecx, ecx
mov eax, dword [ebx + 0x12c]
mov dword [ecx + 0x180], eax
mov eax, dword [ebx + 0x130]
dec eax
mov dword [ecx + 0x188], 0
mov dword [ecx + 0x184], eax
mov dword [ecx + 0x18c], 0
push ecx
mov ecx, dword [ebx + 0x118]
mov byte [ebp - 4], 0
call fcn.005155c0
mov esi, dword [ebp - 0xc34]
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d390
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b3c80
test dl, dl
je 0x4b3c7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b3c80
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b3c60
xor eax, eax
jmp 0x4b3c85
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b3672
push esi
call fcn.00565ea3
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00565b5b
add esp, 4
lea eax, [ebp - 0x410]
push str.Loading_Lab1._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x140
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x58
test eax, eax
je 0x4b3cfd
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth
push 2
call fcn.005104a0
mov ebx, eax
jmp 0x4b3cff
xor ebx, ebx
push 1
push 1
push 0x40
push 0x40
push str.datlabyrinth_server.raw
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.00510670
mov dword [ebx + 0x134], 3
mov ecx, dword [edi + 0x48]
push ebx
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Loading_Lab2._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x140
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x59
test eax, eax
je 0x4b3d82
push dword [edi + 0x34]
mov ecx, eax
push str.Deep_Labyrinth
push 2
call fcn.005104a0
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b3d8a
xor esi, esi
mov dword [ebp - 0xc34], esi
push 1
push 1
push 0x40
push 0x40
push str.datlabyrinth2_server.raw
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00510670
mov dword [esi + 0x134], 4
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Loading_Lab3._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x140
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5a
test eax, eax
je 0x4b3e07
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth_Basement
push 2
call fcn.005104a0
mov edi, eax
jmp 0x4b3e09
xor edi, edi
push 1
push 1
push 0x40
push 0x40
push str.datlabyrinth3_server.raw
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00510670
mov eax, dword [ebp - 0xc2c]
mov dword [edi + 0x134], 5
push edi
mov ecx, dword [eax + 0x48]
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5b
test eax, eax
je 0x4b3e62
push 0
push 0
mov ecx, eax
call fcn.004911b0
jmp 0x4b3e64
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_the_Three_Spiders._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x2c8
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5c
test eax, eax
je 0x4b3ec4
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b3ec6
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Larath
push eax
call fcn.004afe40
add esp, 8
mov dword [esi + 0x1a8], 0x3fd9999a
mov dword [esi + 0x1b0], 0x13880
mov dword [esi + 0x1ac], 0x13880
mov dword [esi + 0x1b4], 0x28
mov dword [esi + 0x1b8], 0x5a
mov dword [esi + 0x1bc], 0x87
mov dword [esi + 0x1c0], 0x14
mov dword [esi + 0x1f4], 0x3f4ccccd
mov dword [esi + 0x238], 0x3e8
mov word [esi + 0x1a4], 0x80ff
mov byte [esi + 0x1a6], 0
mov dword [esi + 0x108], 0x19
mov dword [esi + 0x228], 0x19
mov dword [esi + 0x110], 0x19
mov dword [esi + 0x10c], 4
mov dword [esi + 0x22c], 4
mov dword [esi + 0x114], 4
mov byte [esi + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push esi
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5d
test eax, eax
je 0x4b3fc5
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b3fc7
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Moultz
push eax
call fcn.004afe40
add esp, 8
mov dword [esi + 0x1a8], 0x3fe66666
mov dword [esi + 0x1b0], 0x13880
mov dword [esi + 0x1ac], 0x13880
mov dword [esi + 0x1b4], 0x28
mov dword [esi + 0x1b8], 0x64
mov dword [esi + 0x1bc], 0x91
mov dword [esi + 0x1c0], 0x14
mov dword [esi + 0x1f4], 0x3f666666
mov dword [esi + 0x238], 0x3e8
mov word [esi + 0x1a4], 0xff00
mov byte [esi + 0x1a6], 0x80
mov dword [esi + 0x108], 0x30
mov dword [esi + 0x228], 0x30
mov dword [esi + 0x110], 0x30
mov dword [esi + 0x10c], 0x1c
mov dword [esi + 0x22c], 0x1c
mov dword [esi + 0x114], 0x1c
mov byte [esi + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push esi
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5e
test eax, eax
je 0x4b40c6
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b40c8
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Reorth
push eax
call fcn.004afe40
add esp, 8
mov dword [esi + 0x1a8], 0x3ff33333
mov dword [esi + 0x1b0], 0x13880
mov dword [esi + 0x1ac], 0x13880
mov dword [esi + 0x1b4], 0x28
mov dword [esi + 0x1b8], 0x6e
mov dword [esi + 0x1bc], 0x9b
mov dword [esi + 0x1c0], 0x14
mov dword [esi + 0x1f4], 0x3f7d70a4
mov dword [esi + 0x238], 0x3e8
mov word [esi + 0x1a4], 0x80
mov byte [esi + 0x1a6], 0xff
mov dword [esi + 0x108], 0x18
mov dword [esi + 0x228], 0x18
mov dword [esi + 0x110], 0x18
mov dword [esi + 0x10c], 0x38
mov dword [esi + 0x22c], 0x38
mov dword [esi + 0x114], 0x38
mov byte [esi + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push esi
call fcn.005155c0
lea eax, [ebp - 0x410]
push str.Adding_warp_points._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
mov esi, dword [ebp - 0xc34]
add esp, 0x10
mov ecx, dword [ebp - 0xc2c]
push 1
push 0
push 1
push edi
push 0xa
push 0x21
push esi
call fcn.004b5560
mov ecx, dword [ebp - 0xc2c]
push 1
push 1
push 1
push esi
push 0x1c
push 0x1c
push ebx
call fcn.004b5560
mov esi, dword [ebp - 0xc30]
mov ecx, dword [ebp - 0xc2c]
push 1
push 1
push 1
push ebx
push 5
push 0x13
push esi
call fcn.004b5560
mov ecx, dword [ebp - 0xc2c]
push 1
push 4
push 0x33
push ebx
push 0x56
push 0x8d
push esi
call fcn.004b5560
push 1
push 0x3b
push 0x33
push ebx
push 0x1a
push 0xb7
push esi
mov ecx, dword [ebp - 0xc2c]
call fcn.004b5560
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x37
push 4
push ebx
push 0xed
push 0x20
push esi
call fcn.004b5560
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x1f
push 0x16
push ebx
push 0xde
push 0xd7
push esi
call fcn.004b5560
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x20
push 0x2e
push ebx
push 0x96
push 0x7b
push esi
call fcn.004b5560
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5f
test eax, eax
je 0x4b42bc
push 0
push 0
mov ecx, eax
call fcn.004911b0
jmp 0x4b42be
xor eax, eax
mov ebx, dword [ebp - 0xc34]
push eax
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_lab2_bosses._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x2c8
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x60
test eax, eax
je 0x4b4322
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00492f60
jmp 0x4b4324
xor eax, eax
mov dword [eax + 0x228], 5
mov dword [eax + 0x110], 5
mov dword [eax + 0x108], 5
mov dword [eax + 0x22c], 6
mov dword [eax + 0x114], 6
mov dword [eax + 0x10c], 6
mov dword [eax + 0x1f4], 0x3f7d70a4
mov byte [eax + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x61
test eax, eax
je 0x4b43af
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00492f60
mov esi, eax
jmp 0x4b43b1
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Biphomet
push eax
mov dword [esi + 0x228], 0x34
mov dword [esi + 0x110], 0x34
mov dword [esi + 0x108], 0x34
mov dword [esi + 0x22c], 0x3b
mov dword [esi + 0x114], 0x3b
mov dword [esi + 0x10c], 0x3b
mov dword [esi + 0x1f4], 0x3f7d70a4
call fcn.004afe40
add esp, 8
mov byte [esi + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push esi
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x62
test eax, eax
je 0x4b444e
push 0
push 0
push 1
push 0x1b
mov ecx, eax
call fcn.00492f60
jmp 0x4b4450
xor eax, eax
mov dword [eax + 0x228], 7
mov dword [eax + 0x110], 7
mov dword [eax + 0x108], 7
mov dword [eax + 0x22c], 0x3a
mov dword [eax + 0x114], 0x3a
mov dword [eax + 0x10c], 0x3a
mov dword [eax + 0x1f4], 0x3f7d70a4
mov byte [eax + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [ebp - 0x410]
push str.Populating_Lab3._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x774
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x63
test eax, eax
je 0x4b44f7
push 0
push 0
mov ecx, eax
call fcn.004911b0
jmp 0x4b44f9
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
push 0x774
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x64
test eax, eax
je 0x4b4531
push 0
push 0
mov ecx, eax
call fcn.004911b0
jmp 0x4b4533
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Adding_lab3_bosses._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x2c8
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x65
test eax, eax
je 0x4b4591
push 0
push 0
push 2
push 0x1b
mov ecx, eax
call fcn.00492f60
jmp 0x4b4593
xor eax, eax
mov dword [eax + 0x228], 0x11
mov dword [eax + 0x110], 0x11
mov dword [eax + 0x108], 0x11
mov dword [eax + 0x22c], 0xf
mov dword [eax + 0x114], 0xf
mov dword [eax + 0x10c], 0xf
mov dword [eax + 0x1f4], 0x3f7d70a4
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x66
test eax, eax
je 0x4b461c
push 0
push 0
push 3
push 0x1b
mov ecx, eax
call fcn.00492f60
jmp 0x4b461e
xor eax, eax
mov dword [eax + 0x228], 0x1d
mov dword [eax + 0x110], 0x1d
mov dword [eax + 0x108], 0x1d
mov dword [eax + 0x22c], 0x1a
mov dword [eax + 0x114], 0x1a
mov dword [eax + 0x10c], 0x1a
mov dword [eax + 0x1f4], 0x3f7d70a4
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x67
test eax, eax
je 0x4b46a7
push 0
push 0
push 4
push 0x1b
mov ecx, eax
call fcn.00492f60
jmp 0x4b46a9
xor eax, eax
mov dword [eax + 0x228], 0xc
mov dword [eax + 0x110], 0xc
mov dword [eax + 0x108], 0xc
mov dword [eax + 0x22c], 0x27
mov dword [eax + 0x114], 0x27
mov dword [eax + 0x10c], 0x27
mov dword [eax + 0x1f4], 0x3f7d70a4
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x68
test eax, eax
je 0x4b4732
push 0
push 0
push 2
push 0x1e
mov ecx, eax
call fcn.00492f60
jmp 0x4b4734
xor eax, eax
mov dword [eax + 0x228], 0x14
mov dword [eax + 0x110], 0x14
mov dword [eax + 0x108], 0x14
mov dword [eax + 0x22c], 0x35
mov dword [eax + 0x114], 0x35
mov dword [eax + 0x10c], 0x35
mov dword [eax + 0x1f4], 0x40000000
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x69
test eax, eax
je 0x4b47bd
push 0
push 0
push 3
push 0x1e
mov ecx, eax
call fcn.00492f60
jmp 0x4b47bf
xor eax, eax
mov dword [eax + 0x228], 0x23
mov dword [eax + 0x110], 0x23
mov dword [eax + 0x108], 0x23
mov dword [eax + 0x22c], 0x2b
mov dword [eax + 0x114], 0x2b
mov dword [eax + 0x10c], 0x2b
mov dword [eax + 0x1f4], 0x40400000
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6a
test eax, eax
je 0x4b4848
push 0
push 0
push 4
push 0x1e
mov ecx, eax
call fcn.00492f60
jmp 0x4b484a
xor eax, eax
mov dword [eax + 0x228], 0x35
mov dword [eax + 0x110], 0x35
mov dword [eax + 0x108], 0x35
mov dword [eax + 0x22c], 0x16
mov dword [eax + 0x114], 0x16
mov dword [eax + 0x10c], 0x16
mov dword [eax + 0x1f4], 0x40800000
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
push 0x2c8
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6b
test eax, eax
je 0x4b48d3
push 0
push 0
push 5
push 0x1e
mov ecx, eax
call fcn.00492f60
jmp 0x4b48d5
xor eax, eax
mov dword [eax + 0x228], 0x2a
mov dword [eax + 0x110], 0x2a
mov dword [eax + 0x108], 0x2a
mov dword [eax + 0x22c], 0x3c
mov dword [eax + 0x114], 0x3c
mov dword [eax + 0x10c], 0x3c
mov dword [eax + 0x1f4], 0x40a00000
mov byte [eax + 0x2c4], 1
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.005155c0
lea eax, [ebp - 0x410]
push str.Loading_testrealm._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x13c
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov ebx, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x6c
test eax, eax
je 0x4b498a
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Realm
push 4
call fcn.00525b30
mov esi, eax
jmp 0x4b498c
xor esi, esi
push 0
push 0
push 0x40
push 0x40
push str.dat_testrealm_server.raw
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00525ce0
mov dword [esi + 0x134], 6
mov ecx, dword [ebx + 0x48]
push esi
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.TOken_init._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
mov ecx, 0x62d4e8
call fcn.0052db50
lea eax, [ebp - 0x410]
push str.Loading_saved_tokens_if_present._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
mov ecx, 0x62d4e8
call fcn.0052dc40
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov dword [ebx + 0x50], eax
call esi
mov dword [ebx + 0x58], eax
lea eax, [ebp - 0x410]
push str.Loading_banlists._n
push eax
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x64], 0
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x14
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6d
test eax, eax
je 0x4b4aa0
mov ecx, eax
call fcn.0050ffe0
jmp 0x4b4aa2
xor eax, eax
push 0x14
mov byte [ebp - 4], 0
mov dword [0x62ca94], eax
call fcn.0055644a
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6e
test eax, eax
je 0x4b4acc
mov ecx, eax
call fcn.00531130
jmp 0x4b4ace
xor eax, eax
mov dword [0x62ca98], eax
lea eax, [ebp - 0x410]
push str.Loading_quests._n
push eax
mov byte [ebp - 4], 0
mov dword [ebx + 0xc8], 0
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x14
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6f
test eax, eax
je 0x4b4b24
mov ecx, eax
call fcn.00522490
jmp 0x4b4b26
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0
mov dword [0x62d4d8], eax
call fcn.005238a0
lea eax, [ebp - 0x410]
push str.Loading_alternate_main._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
push 0x10128
call fcn.0055644a
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x70
test eax, eax
je 0x4b4b88
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Large_Realm
push 0
call fcn.004f4fc0
mov esi, eax
jmp 0x4b4b8a
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 1
push 1
push 1
push 1
mov byte [ebp - 4], 0
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x48]
push esi
call fcn.0044de70
lea eax, [ebp - 0x410]
push str.Done_loading._n
push eax
call fcn.0046d610
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.0049eb10
add esp, 0x10
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.00556488
mov esp, ebp
pop ebp
ret 4