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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd8f1
mov eax, dword fs:[0]
push eax
sub esp, 0xc64
mov eax, dword [0x6327e8]
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.0051b0a0
push 0
mov dword [0x636bc0], ebx
push str.Logs
mov dword [ebx + 0xc4], 0x2710
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0xc24]
call fcn.0051b0a0
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 0x4b60b0
mov ecx, 0xffff
add dx, cx
mov word [ebp - 0xc1e], dx
jmp 0x4b60b7
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.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x5d8cf0
push str.serverdataconfig.dat
call fcn.0056f120
push 0x636bcc
mov edi, eax
push str.MAX_LOGINS__d_n
push edi
call fcn.00448350
push dword [0x636bcc]
lea eax, [ebp - 0x410]
push str.MAX_LOGINS_is__d_n
push eax
call fcn.00473350
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add ebx, 0x8c
push ebx
push str.ENABLE_TOI__d_n
push edi
call fcn.00448350
push dword [ebx]
lea eax, [ebp - 0x410]
push str.ENABLE_TOI_is__d_n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x636bd4
push str.ENABLE_HALLOWEEN__d_n
push edi
call fcn.00448350
push dword [0x636bd4]
lea eax, [ebp - 0x410]
push str.ENABLE_HALLOWEEN_is__d_n
push eax
call fcn.00473350
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x636bd8
push str.INFINITE_SUPPLY__d_n
push edi
call fcn.00448350
push dword [0x636bd8]
lea eax, [ebp - 0x410]
push str.INFINITE_SUPPLY_is__d_n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
mov esi, dword [ebp - 0xc2c]
lea ebx, [esi + 0x7c]
push ebx
push str.ENABLE_CHEATING__d_n
push edi
call fcn.00448350
push dword [ebx]
lea eax, [ebp - 0x410]
push str.ENABLE_CHEATING_is__d_n
push eax
call fcn.00473350
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
sub esi, 0xffffff80
push esi
push str.ENABLE_WALL_BREAKING__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.ENABLE_WALL_BREAKING_is__d_n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
mov esi, dword [ebp - 0xc2c]
add esi, 0x84
push esi
push str.REMOVE_GEO_WALLS__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.REMOVE_GEO_WALLS_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esp, 0x40
add esi, 0x88
push esi
push str.POSSESSED_MONSTERS_MOVE__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.POSSESSED_MONSTERS_MOVE_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esi, 0x94
push esi
push str.COMBAT_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.COMBAT_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esi, 0x98
push esi
push str.SMITH_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.SMITH_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esp, 0x48
add esi, 0x9c
push esi
push str.BOMBING_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.BOMBING_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esi, 0xa0
push esi
push str.GEOMANCY_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.GEOMANCY_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esi, 0xa4
push esi
push str.TS_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.TS_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esp, 0x48
add esi, 0xa8
push esi
push str.MAGIC_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.MAGIC_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esi, 0xac
push esi
push str.MASTERY_EXP_MULTIPLIER__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.MASTERY_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00473350
mov esi, dword [ebp - 0xc2c]
add esi, 0xb0
push esi
push str.MACRO_CUTOFF_SECONDS__d_n
push edi
call fcn.00448350
push dword [esi]
lea eax, [ebp - 0x410]
push str.MACRO_CUTOFF_SECONDS_is__d_n
push eax
call fcn.00473350
add esp, 0x48
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push edi
call fcn.0056ee32
mov esi, dword [ebp - 0xc2c]
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], eax
test eax, eax
je 0x4b6485
call fcn.00443da0
push 0x8c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b646d
mov ecx, eax
call fcn.004404e0
jmp 0x4b646f
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 0x4b64c1
push 0x88
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4b64a9
mov ecx, eax
call fcn.00445130
jmp 0x4b64ab
xor eax, eax
cmp dword [ebx], 0
mov ecx, 0xe5e
mov byte [ebp - 4], 0
mov dword [esi + 0x34], eax
je 0x4b64c1
mov ecx, 0xe5f
push 0
push 0x64
push ecx
mov ecx, eax
call fcn.004421a0
push 0x10
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4b64ee
mov ecx, eax
call fcn.0044e080
jmp 0x4b64f0
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x44], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4b6518
mov ecx, eax
call fcn.0044e080
jmp 0x4b651a
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x48], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4b6542
mov ecx, eax
call fcn.0044e080
jmp 0x4b6544
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.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
call fcn.004a4720
lea eax, [ebp - 0x410]
push str.Initializing_main_map_n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x10128
call fcn.0055f3ea
add esp, 0x24
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4b65ca
push dword [esi + 0x34]
mov ecx, eax
push str.Ground
push 0
call fcn.004fad50
mov ebx, eax
mov dword [ebp - 0xc30], eax
jmp 0x4b65d2
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.0044e390
lea eax, [ebp - 0x410]
push str.Adding_Merchants._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
mov edi, 0x6182f8
xor esi, esi
mov dword [ebp - 0xc40], esi
mov eax, dword [edi + 8]
inc eax
mov dword [ebp - 0xc34], 0
test eax, eax
jle 0x4b6717
push 0x990
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4b665e
push 2
mov ecx, eax
call fcn.004a2050
mov ebx, eax
jmp 0x4b6660
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.0056eac9
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.0056eac9
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 0x4b66d7
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi]
jne 0x4b66d7
lea ecx, [edx + 1]
mov dword [ebx + 0x10c], ecx
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi]
jne 0x4b66e6
cmp ecx, dword [edi + 4]
je 0x4b6673
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.0051b320
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 0x4b6636
inc esi
add edi, 0x50
mov dword [ebp - 0xc40], esi
cmp edi, 0x618a78
jl 0x4b6620
lea eax, [ebp - 0x410]
push str.Adding_trainers._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
mov edi, 0x618300
mov eax, dword [edi]
cdq
sub eax, edx
mov dword [ebp - 0xc34], 0
sar eax, 1
inc eax
test eax, eax
jle 0x4b6825
push 0x990
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4b6799
push 3
mov ecx, eax
call fcn.004a2050
mov ebx, eax
jmp 0x4b679b
xor ebx, ebx
mov byte [ebp - 4], 0
nop
mov esi, dword [edi]
call fcn.0056eac9
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.0056eac9
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 0x4b67f6
cmp edx, dword [edi - 4]
je 0x4b67a0
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.0051b320
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 0x4b6771
add edi, 0x50
cmp edi, str.Knife
jl 0x4b6757
lea eax, [ebp - 0x410]
push str.Adding_Town_Mages._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
mov esi, 0x6182fc
nop
push 0x990
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4b6888
push 4
mov ecx, eax
call fcn.004a2050
mov ecx, eax
jmp 0x4b688a
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.0051b320
add esi, 0x50
cmp esi, 0x618a7c
jl 0x4b6860
push 0x194
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4b68ea
push 0x12
push 0x79
push 0xa1
mov ecx, eax
call fcn.004a4540
jmp 0x4b68ec
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.0051b320
mov eax, dword [ebp - 0xc2c]
cmp dword [eax + 0x8c], 1
jne 0x4b6a19
push 0x990
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4b6947
push 2
mov ecx, eax
call fcn.004a2050
mov esi, eax
jmp 0x4b6949
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.0051b320
lea eax, [ebp - 0xc14]
push str.Tower_of_Infinity_Ticket.
push eax
call fcn.0043d380
push 0x120
call fcn.0055f3ea
add esp, 0xc
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4b69c9
lea ecx, [ebp - 0xc14]
push ecx
push 0
push 0x13
mov ecx, eax
call fcn.00512b90
mov ecx, eax
jmp 0x4b69cb
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.005137e0
mov esi, dword [ebp - 0xc30]
lea eax, [ebp - 0x410]
push str.Adding_dungeons._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x5d8cf0
push str.serverdatadungeons.dat
call fcn.0056f120
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xc40], ebx
test ebx, ebx
jne 0x4b6e52
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.004fae00
lea edi, [eax - 0xfa]
mov dword [ebp - 0xc3c], edi
cmp edi, 4
ja 0x4b6e22
push 0x190
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc54], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4b6abb
push dword [ebp - 0xc50]
mov ecx, eax
push ebx
call fcn.004a43c0
mov ebx, eax
jmp 0x4b6abd
xor ebx, ebx
mov ecx, dword [esi + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.0051b320
push 0x23c
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4b6b09
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004f22a0
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b6b11
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.004f30f0
mov eax, dword [ebp - 0xc2c]
push esi
mov ecx, dword [eax + 0x48]
call fcn.0044e390
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 0x4b6ca7
nop word [eax + eax]
call fcn.0056eac9
cdq
mov ecx, 0x22
idiv ecx
mov ebx, edx
mov dword [ebp - 0xc38], ebx
call fcn.0056eac9
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 0x4b6c7c
mov ecx, dword [ecx + 0x62690c]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b6c7c
cmp ecx, edi
jg 0x4b6c7c
nop dword [eax]
call fcn.0056eac9
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.0056eac9
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b6c06
cmp edi, 4
jl 0x4b6be0
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4b6c3a
push 0
push 0
push dword [ebp - 0xc4c]
mov ecx, eax
push dword [ebp - 0xc38]
call fcn.00498ca0
jmp 0x4b6c3c
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.0051b320
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 0x4b6b80
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 0x4b6e16
mov edi, 0x22
lea esi, [edi - 0x1c]
call fcn.0056eac9
cdq
idiv edi
mov ebx, edx
mov dword [ebp - 0xc4c], ebx
call fcn.0056eac9
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 + 0x626910], 1
je 0x4b6ce8
cmp byte [eax + str.Ghost], 0
mov esi, dword [ebp - 0xc34]
mov edi, dword [ebp - 0xc3c]
je 0x4b6ded
mov ecx, dword [eax + 0x62690c]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b6ded
lea eax, [edi - 1]
cmp ecx, eax
jg 0x4b6ded
nop
call fcn.0056eac9
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.0056eac9
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b6d76
cmp edi, 4
jl 0x4b6d50
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4b6daa
push 0
push 0
push dword [ebp - 0xc38]
mov ecx, eax
push dword [ebp - 0xc4c]
call fcn.00498ca0
jmp 0x4b6dac
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.0051b320
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 0x4b6ce0
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 0x4b6a70
inc ebx
mov dword [ebp - 0xc40], ebx
cmp ebx, 0x100
jl 0x4b6a63
jmp 0x4b7508
push 0x19
call fcn.0056eaea
lea eax, [ebp - 0xc44]
push eax
push 0x5db898
push ebx
call fcn.00448350
push 0
lea eax, [ebp - 0x410]
push eax
push ebx
call fcn.0044d8b0
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b6ea8
test dl, dl
je 0x4b6ea4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b6ea8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b6e88
xor eax, eax
jmp 0x4b6ead
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b74f0
lea ebx, [eax + 0x22]
lea edi, [eax + 6]
nop dword [eax + eax]
push 0x23c
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4b6ef6
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004f22a0
mov esi, eax
jmp 0x4b6ef8
xor esi, esi
movss xmm0, dword [ebp - 0xc44]
movss xmm1, dword [0x5e488c]
comiss xmm1, xmm0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0
movss dword [esp], xmm0
push dword [ebp - 0xc40]
jbe 0x4b6fe8
call fcn.004f34a0
lea eax, [esi + 0x144]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00473350
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.0055f3ea
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4b6f94
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004f22a0
mov esi, eax
jmp 0x4b6f96
xor esi, esi
push 2
mov byte [ebp - 4], 0
call fcn.0056eac9
mov ecx, 5
cdq
idiv ecx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push ecx
mov ecx, esi
call fcn.004f30f0
lea eax, [ebp - 0x410]
push eax
lea eax, [esi + 0x144]
push eax
call fcn.004b5bb0
mov eax, dword [ebp - 0xc38]
add esp, 8
mov dword [esi + 0x12c], eax
mov eax, dword [ebp - 0xc34]
mov dword [esi + 0x130], eax
jmp 0x4b6fed
call fcn.004f34a0
mov ecx, dword [ebp - 0xc2c]
push esi
call fcn.004bb1f0
movss xmm0, dword [ebp - 0xc44]
lea ecx, [esi + 0x12c]
movss xmm1, dword [0x5e4888]
comiss xmm1, xmm0
mov dword [ebp - 0xc3c], ecx
jbe 0x4b7038
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 0x4b703e
mov dword [ebp - 0xc3c], ecx
movss xmm1, dword [0x5e488c]
comiss xmm1, xmm0
jbe 0x4b71e4
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 0x4b71de
nop
call fcn.0056eac9
cdq
idiv ebx
mov ebx, edx
mov dword [ebp - 0xc4c], ebx
call fcn.0056eac9
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 0x4b71b0
call fcn.0056eac9
cdq
idiv dword [esi + 0x124]
mov edi, edx
call fcn.0056eac9
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 + 0x626910], 1
jne 0x4b711d
mov ebx, 0x3e8
mov edi, ebx
call fcn.0056eac9
cdq
mov ecx, 0x22
idiv ecx
mov dword [ebp - 0xc4c], edx
call fcn.0056eac9
cdq
mov ecx, 6
idiv ecx
mov dword [ebp - 0xc50], edx
mov eax, dword [esi + 0x124]
sub eax, 2
cmp edi, eax
jle 0x4b713b
mov eax, dword [esi + 0x128]
sub eax, 2
cmp ebx, eax
jg 0x4b70b6
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4b716f
push 0
push 0
push dword [ebp - 0xc50]
mov ecx, eax
push dword [ebp - 0xc4c]
call fcn.00498ca0
jmp 0x4b7171
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.0051b320
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 0x4b7080
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 0x4b722b
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 0x4b7230
mov edi, 1
mov eax, dword [ebx]
mov dword [ebp - 0xc38], eax
cmp eax, 2
jl 0x4b7244
cmp eax, 0xfe
jl 0x4b7249
mov edi, 1
mov ecx, dword [esi + 0x130]
cmp ecx, 2
jl 0x4b725c
cmp ecx, 0xfe
jl 0x4b7261
mov edi, 1
mov ecx, 0x618300
sub eax, dword [ecx - 8]
mov ebx, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jge 0x4b728c
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 0x4b7266
test edi, edi
je 0x4b72da
call fcn.0056eac9
and eax, 0x800000ff
jns 0x4b72b4
dec eax
or eax, 0xffffff00
inc eax
mov edi, dword [ebp - 0xc3c]
mov dword [edi], eax
call fcn.0056eac9
and eax, 0x800000ff
jns 0x4b72cf
dec eax
or eax, 0xffffff00
inc eax
mov dword [esi + 0x130], eax
jmp 0x4b71de
push 0x190
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc54], eax
mov edi, dword [ebp - 0xc3c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4b730e
push dword [esi + 0x130]
mov ecx, eax
push dword [edi]
call fcn.004a43c0
mov ebx, eax
jmp 0x4b7310
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
push ebx
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.0051b320
push 0x194
mov dword [ebx + 0x188], esi
call fcn.0055f3ea
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc64], ebx
mov byte [ebp - 4], 0x15
test ebx, ebx
je 0x4b736c
call fcn.0056eac9
cdq
idiv dword [esi + 0x128]
push edx
call fcn.0056eac9
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.00495940
jmp 0x4b736e
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.0051b320
push 0x194
call fcn.0055f3ea
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc68], ebx
mov byte [ebp - 4], 0x16
test ebx, ebx
je 0x4b73be
call fcn.0056eac9
cdq
idiv dword [esi + 0x128]
push edx
call fcn.0056eac9
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.00495940
jmp 0x4b73c0
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.0051b320
push 0x194
call fcn.0055f3ea
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc6c], ebx
mov byte [ebp - 4], 0x17
test ebx, ebx
je 0x4b7410
call fcn.0056eac9
cdq
idiv dword [esi + 0x128]
push edx
call fcn.0056eac9
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.00495940
jmp 0x4b7412
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.0051b320
push 0x194
call fcn.0055f3ea
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x4b7458
mov eax, dword [esi + 0x128]
dec eax
push eax
mov eax, dword [esi + 0x124]
dec eax
push eax
call fcn.004a44f0
mov ecx, eax
jmp 0x4b745a
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.0051b320
push 0
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc40]
call fcn.0044d8b0
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b74d5
test dl, dl
je 0x4b74d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b74d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b74b5
xor eax, eax
jmp 0x4b74da
sbb eax, eax
or eax, 1
mov ebx, 0x22
lea edi, [ebx - 0x1c]
test eax, eax
je 0x4b6ec0
mov ebx, dword [ebp - 0xc40]
push ebx
call fcn.0056ee32
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.0056eaea
add esp, 4
push 0x190
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x4b7538
push 0x3e
push 0x3e
mov ecx, eax
call fcn.004a43c0
mov esi, eax
mov dword [ebp - 0xc44], eax
jmp 0x4b7540
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.0051b320
lea eax, [ebp - 0x410]
push str.Opening_cave_dat_file._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x5d8cf0
push str.serverdatacave.dat
call fcn.0056f120
mov edi, eax
push 0x23c
mov dword [ebp - 0xc4c], edi
call fcn.0055f3ea
add esp, 0x1c
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4b75c5
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Mysterious_Cave
push 1
call fcn.004f22a0
mov ebx, eax
jmp 0x4b75c7
xor ebx, ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x410]
test edi, edi
jne 0x4b76b4
push str.Failed__creating_default._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
mov ecx, ebx
push 2
push edi
push 0x3e
push 0x3e
push 0x14
push 0x14
call fcn.004f30f0
mov eax, dword [ebp - 0xc2c]
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e390
lea eax, [ebx + 0x144]
mov dword [esi + 0x188], ebx
push str.Mysterious_Cave
push eax
mov dword [ebx + 0x204], 1
call fcn.004b5bb0
push 0x194
call fcn.0055f3ea
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x4b7670
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.004a44f0
mov ecx, eax
jmp 0x4b7672
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.0051b320
jmp 0x4b7ae1
push str.Reading_cave_map._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
mov eax, dword [ebx + 0x134]
add esp, 0x10
test eax, eax
je 0x4b76e6
push eax
call fcn.0055f93f
add esp, 4
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x4b76f9
push eax
call fcn.0055f93f
add esp, 4
push 0
lea eax, [ebx + 0x144]
push eax
push edi
call fcn.0044d8b0
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.00448350
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.004f30f0
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5dbadc
push edi
call fcn.00448350
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 0x4b77fe
nop word [eax + eax]
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5dbadc
push edi
call fcn.00448350
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 0x4b77b0
mov eax, dword [ebp - 0xc2c]
mov dword [ebx + 0x204], 1
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e390
mov eax, dword [ebp - 0xc44]
push 0x194
mov dword [eax + 0x188], ebx
call fcn.0055f3ea
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x4b7859
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.004a44f0
mov ecx, eax
jmp 0x4b785b
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.0051b320
push 0x5d9f08
push edi
call fcn.00448350
push 0
lea eax, [ebp - 0x410]
push eax
push edi
call fcn.0044d8b0
add esp, 0x14
lea eax, [ebp - 0x410]
mov ecx, str.PLAYERMERCHANT
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b78e0
test dl, dl
je 0x4b78dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b78e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b78c0
xor eax, eax
jmp 0x4b78e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b7ad8
nop dword [eax]
lea eax, [ebp - 0x410]
push str.Loading_Playemerchant._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
lea eax, [ebp - 0x410]
push eax
push str.ACCOUNT__s_n
push edi
call fcn.00448350
lea eax, [ebp - 0x810]
push eax
push str.OWNER__s_n
push edi
call fcn.00448350
lea eax, [ebp - 0x410]
push str.Loading_coords._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc3c]
push eax
push str._d__d_n
push edi
call fcn.00448350
add esp, 0x48
push 0x990
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x4b799c
push 0x15
mov ecx, eax
call fcn.004a2050
mov edi, eax
jmp 0x4b799e
xor edi, edi
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0
push eax
lea eax, [edi + 0x190]
push eax
call fcn.0043d380
lea eax, [ebp - 0x810]
push eax
lea esi, [edi + 0x590]
push esi
call fcn.0043d380
push esi
lea eax, [ebp - 0x810]
push str._ss_Merchant
push eax
call fcn.0043d380
push 0xff
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x810]
push 0xff
push eax
call fcn.0044d2f0
lea eax, [ebp - 0x410]
mov dword [edi + 0x184], 0
push str.Loading_inventory._n
push eax
mov dword [edi + 0x188], 0
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
mov ecx, dword [edi + 0x180]
add esp, 0x38
mov dword [esp], 0x402f5c29
push dword [ebp - 0xc4c]
call fcn.00514570
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.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
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.0051b320
mov ecx, str.PLAYERMERCHANT
lea eax, [ebp - 0x410]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b7ac5
test dl, dl
je 0x4b7ac1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b7ac5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b7aa5
xor eax, eax
jmp 0x4b7aca
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0xc4c]
test eax, eax
je 0x4b78f0
push edi
call fcn.0056ee32
add esp, 4
lea eax, [ebp - 0x410]
push str.Adding_monster_generators._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x774
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4b7b2d
push 0
push 0
mov ecx, eax
call fcn.00496ef0
mov edi, eax
jmp 0x4b7b2f
xor edi, edi
mov ebx, dword [ebp - 0xc30]
push edi
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044e390
mov eax, 0xc8
add edi, 0x438
mov ecx, 0xcc
rep stosd dword es:[edi], eax
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4b7b7f
push 0
push 0
mov ecx, eax
call fcn.00496b30
jmp 0x4b7b81
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x4b7bb9
push 0
push 0
mov ecx, eax
call fcn.00495e00
jmp 0x4b7bbb
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x794
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4b7bf0
push ebx
mov ecx, eax
call fcn.00495090
jmp 0x4b7bf2
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x7bc
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x22
test eax, eax
je 0x4b7c27
push ebx
mov ecx, eax
call fcn.00497b70
jmp 0x4b7c29
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x794
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x4b7c5e
push ebx
mov ecx, eax
call fcn.0043cc20
jmp 0x4b7c60
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x24
test eax, eax
je 0x4b7c98
push 0
push 0
mov ecx, eax
call fcn.004a1990
jmp 0x4b7c9a
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Adding_halloween_if_enabled._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
cmp dword [0x636bd4], 0
je 0x4b7d5e
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4b7d0b
push 0x19
push 0x2b
push 0x68
push 0x35
push 0x68
push ebx
mov ecx, eax
call fcn.00470090
jmp 0x4b7d0d
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x26
test eax, eax
je 0x4b7d4c
push 0x19
push 0x35
push 0x5e
push 0x2b
push 0x5e
push ebx
mov ecx, eax
call fcn.00470090
jmp 0x4b7d4e
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Adding_spider_armies._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x804
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x27
test eax, eax
je 0x4b7daf
push 0x23
push 0x1b
push 0x78
push 0x25
push 0x78
push ebx
mov ecx, eax
call fcn.004706d0
jmp 0x4b7db1
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4b7df6
push 0x2d
push 0x8c
push 0x5a
push 0x98
push 0x60
push ebx
mov ecx, eax
call fcn.004706d0
jmp 0x4b7df8
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Adding_great_trees._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
xor esi, esi
nop
push 0x184
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x29
test eax, eax
je 0x4b7e5a
push 0
push 0
mov ecx, eax
call fcn.004a4460
mov ecx, eax
jmp 0x4b7e5c
xor ecx, ecx
mov eax, dword [esi*8 + 0x619240]
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.0051b320
inc esi
cmp esi, 9
jl 0x4b7e30
push 0x5d8cf0
push str.serverdataunicornData.dat
call fcn.0056f120
add esp, 8
mov dword [ebp - 0xc34], eax
test eax, eax
je 0x4b7f65
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.00448350
push 0x2c8
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4b7efd
push 0
push 0
push edi
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ecx, eax
jmp 0x4b7eff
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.0051b320
mov eax, dword [ebp - 0xc34]
inc edi
add esi, 8
cmp edi, 6
jl 0x4b7ec0
push eax
call fcn.0056ee32
add esp, 4
jmp 0x4b844d
call fcn.0056eac9
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.0056eac9
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 0x4b7fac
call fcn.0056eac9
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.0056eac9
cdq
idiv edi
lea edi, [edx + 1]
jmp 0x4b7f80
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4b7fda
push 0
push 0
push 0
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ebx, eax
jmp 0x4b7fdc
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.0051b320
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.0056eac9
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
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 0x4b807c
call fcn.0056eac9
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b8051
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x4b80aa
push 0
push 0
push 1
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ebx, eax
jmp 0x4b80ac
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.0051b320
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.0056eac9
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
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 0x4b814c
call fcn.0056eac9
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b8121
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4b817a
push 0
push 0
push 2
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ebx, eax
jmp 0x4b817c
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.0051b320
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.0056eac9
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
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 0x4b821c
call fcn.0056eac9
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b81f1
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4b824a
push 0
push 0
push 3
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ebx, eax
jmp 0x4b824c
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.0051b320
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.0056eac9
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
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 0x4b82ec
call fcn.0056eac9
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b82c1
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x4b831a
push 0
push 0
push 4
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ebx, eax
jmp 0x4b831c
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.0051b320
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.0056eac9
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
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 0x4b83bc
call fcn.0056eac9
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.0056eac9
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b8391
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x30
test eax, eax
je 0x4b83ea
push 0
push 0
push 5
push 0x1f
mov ecx, eax
call fcn.00498ca0
mov ebx, eax
jmp 0x4b83ec
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.0051b320
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.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x13c
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x4b84a5
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Spirits
push 4
call fcn.0052b880
mov esi, eax
jmp 0x4b84a7
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.0052ba30
mov dword [esi + 0x134], 0
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4b84fa
push 0
push 0
mov ecx, eax
call fcn.00496ef0
jmp 0x4b84fc
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x4b8538
push 0
push 0
push 1
push 0x10
mov ecx, eax
call fcn.00498ca0
jmp 0x4b853a
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x34
test eax, eax
je 0x4b85b9
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00498ca0
jmp 0x4b85bb
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x35
test eax, eax
je 0x4b863a
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00498ca0
jmp 0x4b863c
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x36
test eax, eax
je 0x4b86bb
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00498ca0
jmp 0x4b86bd
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.0051b320
lea eax, [ebp - 0x410]
push str.Adding_realm_of_the_dead._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x13c
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x4b8762
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_the_Dead
push 4
call fcn.0052b880
mov esi, eax
jmp 0x4b8764
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.0052ba30
mov dword [esi + 0x134], 1
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x38
test eax, eax
je 0x4b87b7
push 0
push 0
mov ecx, eax
call fcn.00496ef0
jmp 0x4b87b9
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x39
test eax, eax
je 0x4b87f8
push 1
push 2
push 0x32
push 5
push 0x29
push esi
mov ecx, eax
call fcn.0046e7f0
jmp 0x4b87fa
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3a
test eax, eax
je 0x4b8839
push 2
push 0x20
push 0x15
push 0x23
push 0x20
push esi
mov ecx, eax
call fcn.0046e7f0
jmp 0x4b883b
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3b
test eax, eax
je 0x4b887a
push 3
push 0x36
push 0x18
push 0x36
push 0xe
push esi
mov ecx, eax
call fcn.0046e7f0
jmp 0x4b887c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3c
test eax, eax
je 0x4b88bb
push 4
push 0x19
push 0x2b
push 0x28
push 0x32
push esi
mov ecx, eax
call fcn.0046e7f0
jmp 0x4b88bd
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x13c
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3d
test eax, eax
je 0x4b88fd
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Dragons
push 4
call fcn.0052b880
mov esi, eax
jmp 0x4b88ff
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.0052ba30
mov dword [esi + 0x134], 2
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x4b8952
push 0
push 0
mov ecx, eax
call fcn.00495a50
jmp 0x4b8954
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3f
test eax, eax
je 0x4b898c
push 7
push 0x15
mov ecx, eax
call fcn.004961b0
jmp 0x4b898e
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x40
test eax, eax
je 0x4b89c6
push 0x3a
push 0xc
mov ecx, eax
call fcn.004961b0
jmp 0x4b89c8
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x41
test eax, eax
je 0x4b8a00
push 0x13
push 0x18
mov ecx, eax
call fcn.004961b0
jmp 0x4b8a02
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x42
test eax, eax
je 0x4b8a3a
push 0x36
push 0x1e
mov ecx, eax
call fcn.004961b0
jmp 0x4b8a3c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x43
test eax, eax
je 0x4b8a74
push 0x34
push 0x33
mov ecx, eax
call fcn.004961b0
jmp 0x4b8a76
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x44
test eax, eax
je 0x4b8aae
push 0x1c
push 0x39
mov ecx, eax
call fcn.004961b0
jmp 0x4b8ab0
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x45
test eax, eax
je 0x4b8ae8
push 5
push 0x2f
mov ecx, eax
call fcn.004961b0
jmp 0x4b8aea
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x46
test eax, eax
je 0x4b8b29
push 0x55
push 2
push 0x3c
push 9
push 0x3c
push esi
mov ecx, eax
call fcn.0046f950
jmp 0x4b8b2b
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x47
test eax, eax
je 0x4b8b6a
push 0x56
push 0x3e
push 0x3e
push 0x35
push 0x3d
push esi
mov ecx, eax
call fcn.0046f130
jmp 0x4b8b6c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x48
test eax, eax
je 0x4b8bab
push 0x57
push 0x36
push 0x29
push 0x36
push 0x29
push esi
mov ecx, eax
call fcn.0046f510
jmp 0x4b8bad
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x49
test eax, eax
je 0x4b8bec
push 0x55
push 0x2a
push 0x10
push 0x2a
push 5
push esi
mov ecx, eax
call fcn.0046fef0
jmp 0x4b8bee
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x804
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4a
test eax, eax
je 0x4b8c2d
push 0x56
push 0xb
push 0x24
push 3
push 0x24
push esi
mov ecx, eax
call fcn.0046fef0
jmp 0x4b8c2f
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4b
test eax, eax
je 0x4b8c6b
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00498ca0
jmp 0x4b8c6d
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x4b8cef
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00498ca0
jmp 0x4b8cf1
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4d
test eax, eax
je 0x4b8d73
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00498ca0
jmp 0x4b8d75
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4e
test eax, eax
je 0x4b8df7
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00498ca0
jmp 0x4b8df9
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4f
test eax, eax
je 0x4b8e7b
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00498ca0
jmp 0x4b8e7d
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x50
test eax, eax
je 0x4b8eff
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00498ca0
jmp 0x4b8f01
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x51
test eax, eax
je 0x4b8f85
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4b8f87
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.0051b320
lea eax, [esi + 0x184]
push str.Trickster_Minotaur
push eax
call fcn.004b5b80
push 0x5d8cf0
push str.serverdata_tricksterMino.dat
mov dword [ebp - 0xc48], 1
call fcn.0056f120
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b9021
lea eax, [ebp - 0xc48]
push eax
push 0x5d8cfc
push edi
call fcn.00448350
push edi
call fcn.0056ee32
add esp, 0x10
mov eax, dword [ebp - 0xc48]
cmp eax, 1
jge 0x4b9038
mov dword [ebp - 0xc48], 1
jmp 0x4b9049
cmp eax, 0xbb8
jle 0x4b9049
mov dword [ebp - 0xc48], 0xbb8
mov dword [esi + 0x1a4], 0xff0000ff
movd xmm0, dword [ebp - 0xc48]
cvtdq2ps xmm0, xmm0
push 0x2c8
movss xmm2, dword [0x5d9058]
divss xmm0, dword [0x5dd430]
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.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x52
test eax, eax
je 0x4b911f
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4b9121
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.0051b320
lea eax, [esi + 0x184]
push str.Punching_Bag
push eax
call fcn.004b5b80
push 0x5d8cf0
push str.serverdataDecayingGolem.dat
call fcn.0056f120
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.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x53
test eax, eax
je 0x4b922f
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4b9231
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.0051b320
lea eax, [esi + 0x184]
push str.Punching_Bag
push eax
call fcn.004b5b80
push 0x5d8cf0
push str.serverdataDecayingGolem.dat
call fcn.0056f120
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.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x5d8cf0
push str.serverdataguilds.dat
call fcn.0056f120
mov esi, eax
add esp, 0x28
mov dword [ebp - 0xc34], esi
test esi, esi
je 0x4b99e5
push 0x19
call fcn.0056eaea
lea eax, [ebp - 0xc38]
push eax
push 0x5db898
push esi
call fcn.00448350
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d8b0
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b93a5
test dl, dl
je 0x4b93a1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b93a5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b9385
xor eax, eax
jmp 0x4b93aa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b99cd
push 0x41c
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x54
test eax, eax
je 0x4b93e8
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Tower
push 3
call fcn.00535d10
mov ebx, eax
jmp 0x4b93ea
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.005363f0
mov ecx, dword [ebx + 0x144]
call fcn.0044e580
cmp eax, 2
jge 0x4b9421
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x4b9982
mov eax, dword [ebp - 0xc2c]
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e390
cmp dword [ebx + 0x12c], 0xffffffff
je 0x4b9982
cmp dword [ebx + 0x130], 0xffffffff
je 0x4b9982
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 0x4b9489
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 0x4b948e
mov esi, 1
mov edi, dword [ebx + 0x12c]
cmp edi, 2
jl 0x4b94a1
cmp edi, 0xfe
jl 0x4b94a6
mov esi, 1
mov eax, dword [ebx + 0x130]
cmp eax, 2
jl 0x4b94b8
cmp eax, 0xfe
jl 0x4b94bd
mov esi, 1
mov ecx, 0x6182fc
mov eax, edi
sub eax, dword [ecx - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b94e9
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, 0x618a7c
jl 0x4b94c2
mov ecx, dword [ebx + 0x130]
mov eax, 0xe6
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b9522
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 0x4b954a
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 0x4b9572
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 0x4b959a
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 0x4b95c2
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 0x4b95ea
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 0x4b9612
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 0x4b963a
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 0x4b9662
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 0x4b968a
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 0x4b96c9
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 0x4b96f1
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 0x4b9719
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.0051b340
mov edi, eax
test edi, edi
je 0x4b97bf
nop dword [eax]
mov ecx, edi
call fcn.0044cdf0
cmp eax, 1
je 0x4b977c
mov ecx, edi
call fcn.0044cdf0
cmp eax, 7
je 0x4b977c
mov ecx, edi
call fcn.0044cdf0
cmp eax, 5
je 0x4b977c
mov ecx, edi
call fcn.0044cdf0
cmp eax, 0xe
je 0x4b977c
mov ecx, edi
call fcn.0044cdf0
cmp eax, 0x12
jne 0x4b97a8
mov eax, dword [ebx + 0x12c]
sub eax, dword [edi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b97a8
mov eax, dword [ebx + 0x130]
sub eax, dword [edi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x4b97c7
mov eax, dword [ebp - 0xc30]
mov ecx, dword [eax + 0x118]
call fcn.0051b3f0
mov edi, eax
test edi, edi
jne 0x4b9740
test esi, esi
je 0x4b987f
mov edi, dword [ebp - 0xc30]
mov esi, 3
call fcn.0056eac9
cdq
idiv esi
dec edx
add dword [ebx + 0x12c], edx
call fcn.0056eac9
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 0x4b9810
add ecx, esi
cmp ecx, 2
jl 0x4b9803
mov dword [ebx + 0x12c], ecx
cmp eax, 2
jge 0x4b9823
add eax, 3
cmp eax, 2
jl 0x4b9815
mov dword [ebx + 0x130], eax
mov eax, dword [ebx + 0x12c]
cmp eax, 0xfe
jl 0x4b9840
add eax, 0xfffffffd
cmp eax, 0xfe
jge 0x4b9830
mov dword [ebx + 0x12c], eax
mov ecx, dword [ebx + 0x130]
cmp ecx, 0xfe
jl 0x4b9861
nop
add ecx, 0xfffffffd
cmp ecx, 0xfe
jge 0x4b9850
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 0x4b97d2
jmp 0x4b9450
push 0x190
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc6c], eax
mov byte [ebp - 4], 0x55
test eax, eax
je 0x4b98b1
push dword [ebx + 0x130]
mov ecx, eax
push dword [ebx + 0x12c]
call fcn.004a43c0
mov esi, eax
jmp 0x4b98b3
xor esi, esi
mov edi, dword [ebp - 0xc30]
push esi
mov byte [ebp - 4], 0
mov ecx, dword [edi + 0x118]
call fcn.0051b320
push 0x194
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], 1
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc68], eax
mov byte [ebp - 4], 0x56
test eax, eax
je 0x4b9901
push 2
push 2
mov ecx, eax
call fcn.00495940
jmp 0x4b9903
xor eax, eax
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.0051b320
push 0x194
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc64], eax
mov byte [ebp - 4], 0x57
test eax, eax
je 0x4b993d
push 4
push 4
mov ecx, eax
call fcn.004a44f0
mov ecx, eax
jmp 0x4b993f
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.0051b320
mov esi, dword [ebp - 0xc34]
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d8b0
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b99c0
test dl, dl
je 0x4b99bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b99c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b99a0
xor eax, eax
jmp 0x4b99c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b93b2
push esi
call fcn.0056ee32
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.0056eaea
add esp, 4
lea eax, [ebp - 0x410]
push str.Loading_Lab1._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x140
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x58
test eax, eax
je 0x4b9a3d
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth
push 2
call fcn.00516200
mov ebx, eax
jmp 0x4b9a3f
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.005163d0
mov dword [ebx + 0x134], 3
mov ecx, dword [edi + 0x48]
push ebx
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Loading_Lab2._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x140
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x59
test eax, eax
je 0x4b9ac2
push dword [edi + 0x34]
mov ecx, eax
push str.Deep_Labyrinth
push 2
call fcn.00516200
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b9aca
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.005163d0
mov dword [esi + 0x134], 4
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Loading_Lab3._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x140
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5a
test eax, eax
je 0x4b9b47
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth_Basement
push 2
call fcn.00516200
mov edi, eax
jmp 0x4b9b49
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.005163d0
mov eax, dword [ebp - 0xc2c]
mov dword [edi + 0x134], 5
push edi
mov ecx, dword [eax + 0x48]
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5b
test eax, eax
je 0x4b9ba2
push 0
push 0
mov ecx, eax
call fcn.00496ef0
jmp 0x4b9ba4
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Adding_the_Three_Spiders._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x2c8
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5c
test eax, eax
je 0x4b9c04
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4b9c06
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Larath
push eax
call fcn.004b5b80
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5d
test eax, eax
je 0x4b9d05
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4b9d07
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Moultz
push eax
call fcn.004b5b80
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5e
test eax, eax
je 0x4b9e06
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4b9e08
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Reorth
push eax
call fcn.004b5b80
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.0051b320
lea eax, [ebp - 0x410]
push str.Adding_warp_points._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
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.004bb2a0
mov ecx, dword [ebp - 0xc2c]
push 1
push 1
push 1
push esi
push 0x1c
push 0x1c
push ebx
call fcn.004bb2a0
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.004bb2a0
mov ecx, dword [ebp - 0xc2c]
push 1
push 4
push 0x33
push ebx
push 0x56
push 0x8d
push esi
call fcn.004bb2a0
push 1
push 0x3b
push 0x33
push ebx
push 0x1a
push 0xb7
push esi
mov ecx, dword [ebp - 0xc2c]
call fcn.004bb2a0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x37
push 4
push ebx
push 0xed
push 0x20
push esi
call fcn.004bb2a0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x1f
push 0x16
push ebx
push 0xde
push 0xd7
push esi
call fcn.004bb2a0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x20
push 0x2e
push ebx
push 0x96
push 0x7b
push esi
call fcn.004bb2a0
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5f
test eax, eax
je 0x4b9ffc
push 0
push 0
mov ecx, eax
call fcn.00496ef0
jmp 0x4b9ffe
xor eax, eax
mov ebx, dword [ebp - 0xc34]
push eax
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Adding_lab2_bosses._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x2c8
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x60
test eax, eax
je 0x4ba062
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba064
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x61
test eax, eax
je 0x4ba0ef
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00498ca0
mov esi, eax
jmp 0x4ba0f1
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.004b5b80
add esp, 8
mov byte [esi + 0x2c4], 1
mov ecx, dword [ebx + 0x118]
push esi
call fcn.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x62
test eax, eax
je 0x4ba18e
push 0
push 0
push 1
push 0x1b
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba190
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.0051b320
lea eax, [ebp - 0x410]
push str.Populating_Lab3._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x774
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x63
test eax, eax
je 0x4ba237
push 0
push 0
mov ecx, eax
call fcn.00496ef0
jmp 0x4ba239
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
push 0x774
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x64
test eax, eax
je 0x4ba271
push 0
push 0
mov ecx, eax
call fcn.00496ef0
jmp 0x4ba273
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.Adding_lab3_bosses._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x2c8
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x65
test eax, eax
je 0x4ba2d1
push 0
push 0
push 2
push 0x1b
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba2d3
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x66
test eax, eax
je 0x4ba35c
push 0
push 0
push 3
push 0x1b
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba35e
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x67
test eax, eax
je 0x4ba3e7
push 0
push 0
push 4
push 0x1b
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba3e9
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x68
test eax, eax
je 0x4ba472
push 0
push 0
push 2
push 0x1e
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba474
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x69
test eax, eax
je 0x4ba4fd
push 0
push 0
push 3
push 0x1e
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba4ff
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6a
test eax, eax
je 0x4ba588
push 0
push 0
push 4
push 0x1e
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba58a
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.0051b320
push 0x2c8
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6b
test eax, eax
je 0x4ba613
push 0
push 0
push 5
push 0x1e
mov ecx, eax
call fcn.00498ca0
jmp 0x4ba615
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.0051b320
lea eax, [ebp - 0x410]
push str.Loading_testrealm._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x13c
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov ebx, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x6c
test eax, eax
je 0x4ba6ca
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Realm
push 4
call fcn.0052b880
mov esi, eax
jmp 0x4ba6cc
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.0052ba30
mov dword [esi + 0x134], 6
mov ecx, dword [ebx + 0x48]
push esi
call fcn.0044e390
lea eax, [ebp - 0x410]
push str.TOken_init._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
mov ecx, 0x637628
call fcn.00534b00
lea eax, [ebp - 0x410]
push str.Loading_saved_tokens_if_present._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
add esp, 0x10
mov ecx, 0x637628
call fcn.00534bf0
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.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x14
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6d
test eax, eax
je 0x4ba7e0
mov ecx, eax
call fcn.00515d40
jmp 0x4ba7e2
xor eax, eax
push 0x14
mov byte [ebp - 4], 0
mov dword [0x636bc4], eax
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6e
test eax, eax
je 0x4ba80c
mov ecx, eax
call fcn.005380f0
jmp 0x4ba80e
xor eax, eax
mov dword [0x636bc8], eax
lea eax, [ebp - 0x410]
push str.Loading_quests._n
push eax
mov byte [ebp - 4], 0
mov dword [ebx + 0xc8], 0
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x14
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6f
test eax, eax
je 0x4ba864
mov ecx, eax
call fcn.005281f0
jmp 0x4ba866
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0
mov dword [0x637608], eax
call fcn.00529600
lea eax, [ebp - 0x410]
push str.Loading_alternate_main._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
push 0x10128
call fcn.0055f3ea
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x70
test eax, eax
je 0x4ba8c8
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Large_Realm
push 0
call fcn.004fad50
mov esi, eax
jmp 0x4ba8ca
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.0044e390
lea eax, [ebp - 0x410]
push str.Done_loading._n
push eax
call fcn.00473350
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a4850
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.0055f428
mov esp, ebp
pop ebp
ret 4