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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6d71
mov eax, dword fs:[0]
push eax
sub esp, 0xc64
mov eax, dword [0x62a780]
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 + 0xb0]
mov dword [ebp - 4], 0
call fcn.00513b80
push 0
mov dword [0x62eb80], ebx
push str.Logs
mov dword [ebx + 0xc0], 0x2710
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0xc24]
call fcn.00513b80
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 0x4b3cc0
mov ecx, 0xffff
add dx, cx
mov word [ebp - 0xc1e], dx
jmp 0x4b3cc7
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.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x5d1cf0
push str.serverdataconfig.dat
call fcn.0056868c
push 0x62eb8c
mov edi, eax
push str.MAX_LOGINS__d_n
push edi
call fcn.00448230
push dword [0x62eb8c]
lea eax, [ebp - 0x410]
push str.MAX_LOGINS_is__d_n
push eax
call fcn.00472290
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
lea esi, [ebx + 0x8c]
push esi
push str.ENABLE_TOI__d_n
push edi
call fcn.00448230
push dword [esi]
lea eax, [ebp - 0x410]
push str.ENABLE_TOI_is__d_n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x62eb94
push str.ENABLE_HALLOWEEN__d_n
push edi
call fcn.00448230
push dword [0x62eb94]
lea eax, [ebp - 0x410]
push str.ENABLE_HALLOWEEN_is__d_n
push eax
call fcn.00472290
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x62eb98
push str.INFINITE_SUPPLY__d_n
push edi
call fcn.00448230
push dword [0x62eb98]
lea eax, [ebp - 0x410]
push str.INFINITE_SUPPLY_is__d_n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add ebx, 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.00472290
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
mov esi, dword [ebp - 0xc2c]
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.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
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.00472290
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.00472290
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.00472290
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.00472290
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.00472290
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.00472290
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.00472290
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.00472290
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.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push edi
call fcn.0056839e
mov esi, dword [ebp - 0xc2c]
add esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], eax
test eax, eax
je 0x4b4067
call fcn.00443d40
push 0x8c8
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b404f
mov ecx, eax
call fcn.004404e0
jmp 0x4b4051
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 0x4b40a3
push 0x88
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4b408b
mov ecx, eax
call fcn.00445040
jmp 0x4b408d
xor eax, eax
cmp dword [ebx], 0
mov ecx, 0xe5e
mov byte [ebp - 4], 0
mov dword [esi + 0x34], eax
je 0x4b40a3
mov ecx, 0xe5f
push 0
push 0x64
push ecx
mov ecx, eax
call fcn.00442160
push 0x10
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4b40d0
mov ecx, eax
call fcn.0044dec0
jmp 0x4b40d2
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x44], eax
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4b40fa
mov ecx, eax
call fcn.0044dec0
jmp 0x4b40fc
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x48], eax
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4b4124
mov ecx, eax
call fcn.0044dec0
jmp 0x4b4126
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.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
call fcn.004a2260
lea eax, [ebp - 0x410]
push str.Initializing_main_map_n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x10128
call fcn.00558849
add esp, 0x24
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4b41ac
push dword [esi + 0x34]
mov ecx, eax
push str.Ground
push 0
call fcn.004f7100
mov ebx, eax
mov dword [ebp - 0xc30], eax
jmp 0x4b41b4
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.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_Merchants._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
mov edi, 0x6102d0
xor esi, esi
mov dword [ebp - 0xc3c], esi
mov eax, dword [edi + 8]
inc eax
mov dword [ebp - 0xc34], 0
test eax, eax
jle 0x4b4304
nop dword [eax + eax]
push 0x990
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4b4248
push 2
mov ecx, eax
call fcn.0049fc50
mov ebx, eax
jmp 0x4b424a
xor ebx, ebx
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 0
mov dword [ebx + 0x184], eax
mov dword [ebx + 0x188], esi
nop dword [eax]
mov esi, dword [edi + 8]
call fcn.00568035
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.00568035
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 0x4b42c4
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi]
jne 0x4b42c4
lea ecx, [edx + 1]
mov dword [ebx + 0x10c], ecx
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi]
jne 0x4b42d3
cmp ecx, dword [edi + 4]
je 0x4b4260
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.00513e00
mov ebx, dword [ebp - 0xc34]
mov eax, dword [edi + 8]
inc ebx
mov esi, dword [ebp - 0xc3c]
inc eax
mov dword [ebp - 0xc34], ebx
cmp ebx, eax
jl 0x4b4220
inc esi
add edi, 0x50
mov dword [ebp - 0xc3c], esi
cmp edi, 0x610a50
jl 0x4b4202
lea eax, [ebp - 0x410]
push str.Adding_trainers._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
mov edi, 0x6102d8
mov eax, dword [edi]
cdq
sub eax, edx
mov dword [ebp - 0xc34], 0
sar eax, 1
inc eax
test eax, eax
jle 0x4b4415
nop
push 0x990
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4b4388
push 3
mov ecx, eax
call fcn.0049fc50
mov ebx, eax
jmp 0x4b438a
xor ebx, ebx
mov byte [ebp - 4], 0
nop
mov esi, dword [edi]
call fcn.00568035
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.00568035
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 0x4b43e6
cmp edx, dword [edi - 4]
je 0x4b4390
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.00513e00
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 0x4b4360
add edi, 0x50
cmp edi, str.Knife
jl 0x4b4344
lea eax, [ebp - 0x410]
push str.Adding_Town_Mages._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
mov esi, 0x6102d4
nop
push 0x990
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4b4478
push 4
mov ecx, eax
call fcn.0049fc50
mov ecx, eax
jmp 0x4b447a
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.00513e00
add esi, 0x50
cmp esi, 0x610a54
jl 0x4b4450
push 0x194
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4b44da
push 0x12
push 0x79
push 0xa1
mov ecx, eax
call fcn.004a2070
jmp 0x4b44dc
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.00513e00
mov eax, dword [ebp - 0xc2c]
cmp dword [eax + 0x8c], 1
jne 0x4b4609
push 0x990
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4b4537
push 2
mov ecx, eax
call fcn.0049fc50
mov esi, eax
jmp 0x4b4539
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.00513e00
lea eax, [ebp - 0xc14]
push str.Tower_of_Infinity_Ticket.
push eax
call fcn.0043d370
push 0x120
call fcn.00558849
add esp, 0xc
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4b45b9
lea ecx, [ebp - 0xc14]
push ecx
push 0
push 0x13
mov ecx, eax
call fcn.0050b900
mov ecx, eax
jmp 0x4b45bb
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.0050c1c0
mov esi, dword [ebp - 0xc30]
lea eax, [ebp - 0x410]
push str.Adding_dungeons._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x5d1cf0
push str.serverdatadungeons.dat
call fcn.0056868c
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xc3c], ebx
test ebx, ebx
jne 0x4b4a39
mov dword [ebp - 0xc3c], ebx
xor eax, eax
mov dword [ebp - 0xc4c], eax
nop dword [eax + eax]
push eax
push ebx
mov ecx, esi
call fcn.004f71b0
lea edi, [eax - 0xfa]
mov dword [ebp - 0xc40], edi
cmp edi, 4
ja 0x4b4a09
push 0x190
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4b46ab
push dword [ebp - 0xc4c]
mov ecx, eax
push ebx
call fcn.004a1ef0
mov ebx, eax
jmp 0x4b46ad
xor ebx, ebx
mov ecx, dword [esi + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x23c
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4b46f9
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004ee5f0
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b4701
xor esi, esi
mov dword [ebp - 0xc34], esi
push edi
push dword [ebp - 0xc4c]
lea eax, [edi + 4]
mov byte [ebp - 4], 0
push dword [ebp - 0xc3c]
lea eax, [eax + eax*4]
mov ecx, esi
push 0x14
push eax
call fcn.004ef450
mov eax, dword [ebp - 0xc2c]
push esi
mov ecx, dword [eax + 0x48]
call fcn.0044e1c0
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 0x4b4888
call fcn.00568035
cdq
mov ecx, 0x22
idiv ecx
mov ebx, edx
mov dword [ebp - 0xc54], ebx
call fcn.00568035
cdq
mov ecx, 6
idiv ecx
lea eax, [ebx + ebx*2]
mov ecx, edx
mov dword [ebp - 0xc50], ecx
lea eax, [ecx + eax*2]
imul ecx, eax, 0x64
cmp byte [ecx + str.Ghost], 0
je 0x4b485d
mov ecx, dword [ecx + 0x61e874]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b485d
cmp ecx, edi
jg 0x4b485d
call fcn.00568035
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.00568035
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b47e7
cmp edi, 4
jl 0x4b47c1
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4b481b
push 0
push 0
push dword [ebp - 0xc50]
mov ecx, eax
push dword [ebp - 0xc54]
call fcn.00496980
jmp 0x4b481d
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.00513e00
inc dword [ebp - 0xc44]
mov edi, dword [ebp - 0xc40]
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 0x4b4768
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 - 0xc40], edi
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b49fd
mov edi, 0x22
lea esi, [edi - 0x1c]
nop dword [eax]
call fcn.00568035
cdq
idiv edi
mov ebx, edx
mov dword [ebp - 0xc50], ebx
call fcn.00568035
cdq
idiv esi
lea eax, [ebx + ebx*2]
mov ecx, edx
mov dword [ebp - 0xc54], ecx
lea eax, [ecx + eax*2]
imul eax, eax, 0x64
test byte [eax + 0x61e878], 1
je 0x4b48d0
cmp byte [eax + str.Ghost], 0
mov esi, dword [ebp - 0xc34]
mov edi, dword [ebp - 0xc40]
je 0x4b49d4
mov ecx, dword [eax + 0x61e874]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b49d4
lea eax, [edi - 1]
cmp ecx, eax
jg 0x4b49d4
call fcn.00568035
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.00568035
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b495d
cmp edi, 4
jl 0x4b4937
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4b4991
push 0
push 0
push dword [ebp - 0xc54]
mov ecx, eax
push dword [ebp - 0xc50]
call fcn.00496980
jmp 0x4b4993
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.00513e00
inc dword [ebp - 0xc44]
mov ecx, dword [esi + 0x124]
mov eax, 0x2aaaaaab
imul ecx, dword [esi + 0x128]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xc44], eax
jl 0x4b48c1
mov esi, dword [ebp - 0xc30]
mov ebx, dword [ebp - 0xc3c]
mov eax, dword [ebp - 0xc4c]
inc eax
mov dword [ebp - 0xc4c], eax
cmp eax, 0x100
jl 0x4b4660
inc ebx
mov dword [ebp - 0xc3c], ebx
cmp ebx, 0x100
jl 0x4b4653
jmp 0x4b50da
push 0x19
call fcn.00568056
lea eax, [ebp - 0xc44]
push eax
push 0x5d4870
push ebx
call fcn.00448230
push 0
lea eax, [ebp - 0x410]
push eax
push ebx
call fcn.0044d760
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b4a90
test dl, dl
je 0x4b4a8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b4a90
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b4a70
xor eax, eax
jmp 0x4b4a95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b50c2
lea ebx, [eax + 0x22]
lea edi, [eax + 6]
push 0x23c
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4b4ad9
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004ee5f0
mov esi, eax
jmp 0x4b4adb
xor esi, esi
movss xmm0, dword [ebp - 0xc44]
movss xmm1, dword [0x5dd69c]
comiss xmm1, xmm0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0
movss dword [esp], xmm0
push dword [ebp - 0xc3c]
jbe 0x4b4bc9
call fcn.004ef830
lea eax, [esi + 0x144]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00472290
mov eax, dword [esi + 0x12c]
add esp, 8
mov dword [ebp - 0xc54], eax
mov ecx, esi
mov eax, dword [esi + 0x130]
mov dword [ebp - 0xc50], eax
mov eax, dword [esi]
push 1
call dword [eax]
push 0x23c
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4b4b77
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004ee5f0
mov esi, eax
jmp 0x4b4b79
xor esi, esi
mov byte [ebp - 4], 0
call fcn.00568035
mov ecx, 5
cdq
idiv ecx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push ecx
mov ecx, esi
call fcn.004ef450
lea eax, [ebp - 0x410]
push eax
lea eax, [esi + 0x144]
push eax
call fcn.004b37c0
mov eax, dword [ebp - 0xc54]
add esp, 8
mov dword [esi + 0x12c], eax
mov eax, dword [ebp - 0xc50]
mov dword [esi + 0x130], eax
jmp 0x4b4bce
call fcn.004ef830
mov ecx, dword [ebp - 0xc2c]
push esi
call fcn.004b8b00
movss xmm0, dword [ebp - 0xc44]
movss xmm1, dword [0x5dd698]
comiss xmm1, xmm0
jbe 0x4b4c13
mov eax, dword [esi + 0x12c]
add eax, eax
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x130]
add eax, eax
mov dword [esi + 0x130], eax
movss xmm0, dword [ebp - 0xc44]
movss xmm1, dword [0x5dd69c]
comiss xmm1, xmm0
jbe 0x4b4dc0
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 0x4b4dc0
call fcn.00568035
cdq
idiv ebx
mov ebx, edx
mov dword [ebp - 0xc40], ebx
call fcn.00568035
cdq
idiv edi
lea eax, [ebx + ebx*2]
mov ecx, edx
mov dword [ebp - 0xc4c], ecx
lea eax, [ecx + eax*2]
imul eax, eax, 0x64
cmp byte [eax + str.Ghost], 0
je 0x4b4d8a
nop dword [eax]
call fcn.00568035
cdq
idiv dword [esi + 0x124]
mov edi, edx
call fcn.00568035
cdq
idiv dword [esi + 0x128]
mov eax, dword [ebp - 0xc40]
mov ecx, dword [ebp - 0xc4c]
mov ebx, edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
imul eax, eax, 0x64
test byte [eax + 0x61e878], 1
jne 0x4b4cf7
mov ebx, 0x3e8
mov edi, ebx
call fcn.00568035
cdq
mov ecx, 0x22
idiv ecx
mov dword [ebp - 0xc40], edx
call fcn.00568035
cdq
mov ecx, 6
idiv ecx
mov dword [ebp - 0xc4c], edx
mov eax, dword [esi + 0x124]
sub eax, 2
cmp edi, eax
jle 0x4b4d15
mov eax, dword [esi + 0x128]
sub eax, 2
cmp ebx, eax
jg 0x4b4c90
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4b4d49
push 0
push 0
push dword [ebp - 0xc4c]
mov ecx, eax
push dword [ebp - 0xc40]
call fcn.00496980
jmp 0x4b4d4b
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.00513e00
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 0x4b4c53
nop dword [eax + eax]
mov eax, dword [esi + 0x130]
xor edi, edi
mov ecx, dword [esi + 0x12c]
mov ebx, dword [ebp - 0xc30]
push eax
push ecx
push eax
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
je 0x4b4dff
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x12c]
dec eax
mov edx, dword [ebx]
push eax
push ecx
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
jne 0x4b4e04
mov edi, 1
mov eax, dword [esi + 0x12c]
cmp eax, 2
jl 0x4b4e16
cmp eax, 0xfe
jl 0x4b4e1b
mov edi, 1
mov ecx, dword [esi + 0x130]
cmp ecx, 2
jl 0x4b4e2e
cmp ecx, 0xfe
jl 0x4b4e33
mov edi, 1
mov ecx, 0x6102d8
sub eax, dword [ecx - 8]
mov ebx, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jge 0x4b4e5e
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 [esi + 0x12c]
add ecx, 0x50
cmp ecx, str.Knife
jl 0x4b4e38
test edi, edi
je 0x4b4eaa
call fcn.00568035
and eax, 0x800000ff
jns 0x4b4e86
dec eax
or eax, 0xffffff00
inc eax
mov dword [esi + 0x12c], eax
call fcn.00568035
and eax, 0x800000ff
jns 0x4b4e9f
dec eax
or eax, 0xffffff00
inc eax
mov dword [esi + 0x130], eax
jmp 0x4b4dc0
push 0x190
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4b4edc
push dword [esi + 0x130]
mov ecx, eax
push dword [esi + 0x12c]
call fcn.004a1ef0
mov edi, eax
jmp 0x4b4ede
xor edi, edi
mov eax, dword [ebp - 0xc30]
push edi
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.00513e00
push 0x194
mov dword [edi + 0x188], esi
call fcn.00558849
mov edi, eax
add esp, 4
mov dword [ebp - 0xc64], edi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x4b4f3a
call fcn.00568035
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00568035
cdq
mov ecx, edi
idiv dword [esi + 0x124]
push edx
call fcn.00493630
jmp 0x4b4f3c
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x194
call fcn.00558849
mov edi, eax
add esp, 4
mov dword [ebp - 0xc68], edi
mov byte [ebp - 4], 0x16
test edi, edi
je 0x4b4f8c
call fcn.00568035
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00568035
cdq
mov ecx, edi
idiv dword [esi + 0x124]
push edx
call fcn.00493630
jmp 0x4b4f8e
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x194
call fcn.00558849
mov edi, eax
add esp, 4
mov dword [ebp - 0xc6c], edi
mov byte [ebp - 4], 0x17
test edi, edi
je 0x4b4fde
call fcn.00568035
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00568035
cdq
mov ecx, edi
idiv dword [esi + 0x124]
push edx
call fcn.00493630
jmp 0x4b4fe0
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x194
call fcn.00558849
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x4b5026
mov eax, dword [esi + 0x128]
dec eax
push eax
mov eax, dword [esi + 0x124]
dec eax
push eax
call fcn.004a2020
mov ecx, eax
jmp 0x4b5028
xor ecx, ecx
mov eax, dword [esi + 0x12c]
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.00513e00
push 0
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc3c]
call fcn.0044d760
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b50a7
test dl, dl
je 0x4b50a3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b50a7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5087
xor eax, eax
jmp 0x4b50ac
sbb eax, eax
or eax, 1
mov ebx, 0x22
lea edi, [ebx - 0x1c]
test eax, eax
je 0x4b4aa3
mov ebx, dword [ebp - 0xc3c]
push ebx
call fcn.0056839e
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00568056
add esp, 4
push 0x190
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x4b510a
push 0x3e
push 0x3e
mov ecx, eax
call fcn.004a1ef0
mov edi, eax
mov dword [ebp - 0xc4c], eax
jmp 0x4b5112
xor edi, edi
mov dword [ebp - 0xc4c], edi
mov eax, dword [ebp - 0xc30]
push edi
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.00513e00
lea eax, [ebp - 0x410]
push str.Opening_cave_dat_file._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x5d1cf0
push str.serverdatacave.dat
call fcn.0056868c
mov ebx, eax
push 0x23c
mov dword [ebp - 0xc44], ebx
call fcn.00558849
add esp, 0x1c
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4b519d
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Mysterious_Cave
push 1
call fcn.004ee5f0
mov esi, eax
mov dword [ebp - 0xc3c], eax
jmp 0x4b51a5
xor esi, esi
mov dword [ebp - 0xc3c], esi
mov byte [ebp - 4], 0
lea eax, [ebp - 0x410]
test ebx, ebx
jne 0x4b5290
push str.Failed__creating_default._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
mov ecx, esi
push ebx
push 0x3e
push 0x3e
push 0x14
push 0x14
call fcn.004ef450
mov eax, dword [ebp - 0xc2c]
push esi
mov ecx, dword [eax + 0x48]
call fcn.0044e1c0
lea eax, [esi + 0x144]
mov dword [edi + 0x188], esi
push str.Mysterious_Cave
push eax
mov dword [esi + 0x204], 1
call fcn.004b37c0
push 0x194
call fcn.00558849
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x4b524c
mov eax, dword [esi + 0x128]
dec eax
push eax
mov eax, dword [esi + 0x124]
dec eax
push eax
call fcn.004a2020
mov ecx, eax
jmp 0x4b524e
xor ecx, ecx
mov eax, dword [esi + 0x12c]
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.00513e00
jmp 0x4b56cc
push str.Reading_cave_map._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
mov eax, dword [esi + 0x134]
add esp, 0x10
test eax, eax
je 0x4b52c2
push eax
call fcn.00558d9f
add esp, 4
mov eax, dword [esi + 0x138]
test eax, eax
je 0x4b52d5
push eax
call fcn.00558d9f
add esp, 4
push 0
lea eax, [esi + 0x144]
push eax
push ebx
call fcn.0044d760
lea edi, [esi + 0x130]
push edi
lea ebx, [esi + 0x12c]
push ebx
lea eax, [esi + 0x128]
push eax
lea ecx, [esi + 0x124]
mov dword [ebp - 0xc54], eax
push ecx
add esi, 0x21c
mov dword [ebp - 0xc38], ecx
push esi
push str._d__d__d__d__d
push dword [ebp - 0xc44]
call fcn.00448230
mov eax, dword [ebp - 0xc54]
add esp, 0x28
push dword [esi]
push dword [edi]
push dword [ebx]
mov ebx, dword [ebp - 0xc3c]
mov ecx, ebx
push dword [eax]
mov eax, dword [ebp - 0xc38]
push dword [eax]
call fcn.004ef450
mov esi, dword [ebp - 0xc44]
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5d4ab0
push esi
call fcn.00448230
movzx eax, byte [ebp - 0xc34]
add esp, 0x10
mov byte [ebx + 0x13c], al
xor edi, edi
movzx eax, byte [ebp - 0xc40]
mov byte [ebx + 0x13d], al
mov eax, dword [ebx + 0x124]
imul eax, dword [ebx + 0x128]
test eax, eax
jle 0x4b53ee
nop dword [eax + eax]
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5d4ab0
push esi
call fcn.00448230
mov ecx, dword [ebx + 0x134]
add esp, 0x10
movzx eax, byte [ebp - 0xc34]
mov byte [edi + ecx], al
mov ecx, dword [ebx + 0x138]
movzx eax, byte [ebp - 0xc40]
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebx + 0x124]
imul eax, dword [ebx + 0x128]
cmp edi, eax
jl 0x4b53a0
mov eax, dword [ebp - 0xc2c]
mov dword [ebx + 0x204], 1
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e1c0
mov eax, dword [ebp - 0xc4c]
push 0x194
mov dword [eax + 0x188], ebx
call fcn.00558849
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x4b5449
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.004a2020
mov ecx, eax
jmp 0x4b544b
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.00513e00
push 0x5d2f28
push esi
call fcn.00448230
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d760
add esp, 0x14
lea eax, [ebp - 0x410]
mov ecx, str.PLAYERMERCHANT
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b54d0
test dl, dl
je 0x4b54cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b54d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b54b0
xor eax, eax
jmp 0x4b54d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b56c3
nop dword [eax]
lea eax, [ebp - 0x410]
push str.Loading_Playemerchant._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
lea eax, [ebp - 0x410]
push eax
push str.ACCOUNT__s_n
push esi
call fcn.00448230
lea eax, [ebp - 0x810]
push eax
push str.OWNER__s_n
push esi
call fcn.00448230
lea eax, [ebp - 0x410]
push str.Loading_coords._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0xc40]
push eax
push str._d__d_n
push esi
call fcn.00448230
add esp, 0x48
push 0x990
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x4b558c
push 0x15
mov ecx, eax
call fcn.0049fc50
mov edi, eax
jmp 0x4b558e
xor edi, edi
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0
push eax
lea eax, [edi + 0x190]
push eax
call fcn.0043d370
lea eax, [ebp - 0x810]
push eax
lea esi, [edi + 0x590]
push esi
call fcn.0043d370
push esi
lea eax, [ebp - 0x810]
push str._ss_Merchant
push eax
call fcn.0043d370
push 0xff
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x810]
push 0xff
push eax
call fcn.0044d210
lea eax, [ebp - 0x410]
mov dword [edi + 0x184], 0
push str.Loading_inventory._n
push eax
mov dword [edi + 0x188], 0
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
mov esi, dword [ebp - 0xc44]
add esp, 0x38
mov ecx, dword [edi + 0x180]
mov dword [esp], 0x402e147b
push esi
call fcn.0050d0d0
push dword [ebp - 0xc50]
lea eax, [ebp - 0x410]
push dword [ebp - 0xc40]
push str.Adding_to_map_list_at__d__d._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
mov eax, dword [ebp - 0xc40]
add esp, 0x18
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0xc50]
mov dword [edi + 0x10c], eax
mov ecx, dword [ebx + 0x118]
push edi
call fcn.00513e00
mov ecx, str.PLAYERMERCHANT
lea eax, [ebp - 0x410]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b56b6
test dl, dl
je 0x4b56b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b56b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5696
xor eax, eax
jmp 0x4b56bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b54e0
push esi
call fcn.0056839e
add esp, 4
lea eax, [ebp - 0x410]
push str.Adding_monster_generators._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x774
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4b5718
push 0
push 0
mov ecx, eax
call fcn.00494bc0
mov edi, eax
jmp 0x4b571a
xor edi, edi
mov ebx, dword [ebp - 0xc30]
push edi
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044e1c0
mov eax, 0xc8
add edi, 0x438
mov ecx, 0xcc
rep stosd dword es:[edi], eax
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4b576a
push 0
push 0
mov ecx, eax
call fcn.00494800
jmp 0x4b576c
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x4b57a4
push 0
push 0
mov ecx, eax
call fcn.00493af0
jmp 0x4b57a6
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x794
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4b57db
push ebx
mov ecx, eax
call fcn.00492d80
jmp 0x4b57dd
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x7bc
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x22
test eax, eax
je 0x4b5812
push ebx
mov ecx, eax
call fcn.00495860
jmp 0x4b5814
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x794
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x4b5849
push ebx
mov ecx, eax
call fcn.0043cc10
jmp 0x4b584b
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x24
test eax, eax
je 0x4b5883
push 0
push 0
mov ecx, eax
call fcn.0049f590
jmp 0x4b5885
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_halloween_if_enabled._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
cmp dword [0x62eb94], 0
je 0x4b5949
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4b58f6
push 0x19
push 0x2b
push 0x68
push 0x35
push 0x68
push ebx
mov ecx, eax
call fcn.0046f000
jmp 0x4b58f8
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x26
test eax, eax
je 0x4b5937
push 0x19
push 0x35
push 0x5e
push 0x2b
push 0x5e
push ebx
mov ecx, eax
call fcn.0046f000
jmp 0x4b5939
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_spider_armies._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x804
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x27
test eax, eax
je 0x4b599a
push 0x23
push 0x1b
push 0x78
push 0x25
push 0x78
push ebx
mov ecx, eax
call fcn.0046f640
jmp 0x4b599c
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4b59e1
push 0x2d
push 0x8c
push 0x5a
push 0x98
push 0x60
push ebx
mov ecx, eax
call fcn.0046f640
jmp 0x4b59e3
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_great_trees._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
xor esi, esi
nop word [eax + eax]
push 0x184
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x29
test eax, eax
je 0x4b5a4a
push 0
push 0
mov ecx, eax
call fcn.004a1f90
mov ecx, eax
jmp 0x4b5a4c
xor ecx, ecx
mov eax, dword [esi*8 + 0x611218]
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.00513e00
inc esi
cmp esi, 9
jl 0x4b5a20
push 0x5d1cf0
push str.serverdataunicornData.dat
call fcn.0056868c
add esp, 8
mov dword [ebp - 0xc50], eax
test eax, eax
je 0x4b5b55
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 0x2c4
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4b5aed
push 0
push 0
push edi
push 0x1f
mov ecx, eax
call fcn.00496980
mov ecx, eax
jmp 0x4b5aef
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.00513e00
mov eax, dword [ebp - 0xc50]
inc edi
add esi, 8
cmp edi, 6
jl 0x4b5ab0
push eax
call fcn.0056839e
add esp, 4
jmp 0x4b603d
call fcn.00568035
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00568035
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 0x4b5b9c
call fcn.00568035
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00568035
cdq
idiv edi
lea edi, [edx + 1]
jmp 0x4b5b70
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4b5bca
push 0
push 0
push 0
push 0x1f
mov ecx, eax
call fcn.00496980
mov ebx, eax
jmp 0x4b5bcc
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.00513e00
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.00568035
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
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 0x4b5c6c
call fcn.00568035
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b5c41
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x4b5c9a
push 0
push 0
push 1
push 0x1f
mov ecx, eax
call fcn.00496980
mov ebx, eax
jmp 0x4b5c9c
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.00513e00
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.00568035
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
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 0x4b5d3c
call fcn.00568035
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b5d11
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4b5d6a
push 0
push 0
push 2
push 0x1f
mov ecx, eax
call fcn.00496980
mov ebx, eax
jmp 0x4b5d6c
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.00513e00
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.00568035
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
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 0x4b5e0c
call fcn.00568035
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b5de1
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4b5e3a
push 0
push 0
push 3
push 0x1f
mov ecx, eax
call fcn.00496980
mov ebx, eax
jmp 0x4b5e3c
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.00513e00
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.00568035
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
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 0x4b5edc
call fcn.00568035
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b5eb1
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x4b5f0a
push 0
push 0
push 4
push 0x1f
mov ecx, eax
call fcn.00496980
mov ebx, eax
jmp 0x4b5f0c
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.00513e00
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.00568035
cdq
mov ebx, 0xfe
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
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 0x4b5fac
call fcn.00568035
cdq
idiv ebx
lea esi, [edx + 1]
call fcn.00568035
cdq
idiv ebx
lea edi, [edx + 1]
jmp 0x4b5f81
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x30
test eax, eax
je 0x4b5fda
push 0
push 0
push 5
push 0x1f
mov ecx, eax
call fcn.00496980
mov ebx, eax
jmp 0x4b5fdc
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.00513e00
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.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x13c
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x4b6095
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Spirits
push 4
call fcn.00524170
mov esi, eax
jmp 0x4b6097
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.00524320
mov dword [esi + 0x134], 0
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4b60ea
push 0
push 0
mov ecx, eax
call fcn.00494bc0
jmp 0x4b60ec
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x4b6128
push 0
push 0
push 1
push 0x10
mov ecx, eax
call fcn.00496980
jmp 0x4b612a
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 ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x34
test eax, eax
je 0x4b61a2
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00496980
jmp 0x4b61a4
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 ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x35
test eax, eax
je 0x4b621c
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00496980
jmp 0x4b621e
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 ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x36
test eax, eax
je 0x4b6296
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00496980
jmp 0x4b6298
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 ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
lea eax, [ebp - 0x410]
push str.Adding_realm_of_the_dead._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x13c
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x4b6336
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_the_Dead
push 4
call fcn.00524170
mov esi, eax
jmp 0x4b6338
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.00524320
mov dword [esi + 0x134], 1
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x38
test eax, eax
je 0x4b638b
push 0
push 0
mov ecx, eax
call fcn.00494bc0
jmp 0x4b638d
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x39
test eax, eax
je 0x4b63cc
push 1
push 2
push 0x32
push 5
push 0x29
push esi
mov ecx, eax
call fcn.0046d7c0
jmp 0x4b63ce
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3a
test eax, eax
je 0x4b640d
push 2
push 0x20
push 0x15
push 0x23
push 0x20
push esi
mov ecx, eax
call fcn.0046d7c0
jmp 0x4b640f
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3b
test eax, eax
je 0x4b644e
push 3
push 0x36
push 0x18
push 0x36
push 0xe
push esi
mov ecx, eax
call fcn.0046d7c0
jmp 0x4b6450
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3c
test eax, eax
je 0x4b648f
push 4
push 0x19
push 0x2b
push 0x28
push 0x32
push esi
mov ecx, eax
call fcn.0046d7c0
jmp 0x4b6491
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x13c
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3d
test eax, eax
je 0x4b64d1
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Dragons
push 4
call fcn.00524170
mov esi, eax
jmp 0x4b64d3
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.00524320
mov dword [esi + 0x134], 2
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x4b6526
push 0
push 0
mov ecx, eax
call fcn.00493740
jmp 0x4b6528
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3f
test eax, eax
je 0x4b6560
push 7
push 0x15
mov ecx, eax
call fcn.00493ea0
jmp 0x4b6562
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x40
test eax, eax
je 0x4b659a
push 0x3a
push 0xc
mov ecx, eax
call fcn.00493ea0
jmp 0x4b659c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x41
test eax, eax
je 0x4b65d4
push 0x13
push 0x18
mov ecx, eax
call fcn.00493ea0
jmp 0x4b65d6
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x42
test eax, eax
je 0x4b660e
push 0x36
push 0x1e
mov ecx, eax
call fcn.00493ea0
jmp 0x4b6610
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x43
test eax, eax
je 0x4b6648
push 0x34
push 0x33
mov ecx, eax
call fcn.00493ea0
jmp 0x4b664a
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x44
test eax, eax
je 0x4b6682
push 0x1c
push 0x39
mov ecx, eax
call fcn.00493ea0
jmp 0x4b6684
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x45
test eax, eax
je 0x4b66bc
push 5
push 0x2f
mov ecx, eax
call fcn.00493ea0
jmp 0x4b66be
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x46
test eax, eax
je 0x4b66fd
push 0x55
push 2
push 0x3c
push 9
push 0x3c
push esi
mov ecx, eax
call fcn.0046e8c0
jmp 0x4b66ff
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x47
test eax, eax
je 0x4b673e
push 0x56
push 0x3e
push 0x3e
push 0x35
push 0x3d
push esi
mov ecx, eax
call fcn.0046e0a0
jmp 0x4b6740
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x48
test eax, eax
je 0x4b677f
push 0x57
push 0x36
push 0x29
push 0x36
push 0x29
push esi
mov ecx, eax
call fcn.0046e480
jmp 0x4b6781
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x49
test eax, eax
je 0x4b67c0
push 0x55
push 0x2a
push 0x10
push 0x2a
push 5
push esi
mov ecx, eax
call fcn.0046ee60
jmp 0x4b67c2
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x804
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4a
test eax, eax
je 0x4b6801
push 0x56
push 0xb
push 0x24
push 3
push 0x24
push esi
mov ecx, eax
call fcn.0046ee60
jmp 0x4b6803
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4b
test eax, eax
je 0x4b683f
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00496980
jmp 0x4b6841
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.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x4b68c3
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00496980
jmp 0x4b68c5
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.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4d
test eax, eax
je 0x4b6947
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00496980
jmp 0x4b6949
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.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4e
test eax, eax
je 0x4b69cb
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00496980
jmp 0x4b69cd
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.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4f
test eax, eax
je 0x4b6a4f
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00496980
jmp 0x4b6a51
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.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x50
test eax, eax
je 0x4b6ad3
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00496980
jmp 0x4b6ad5
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.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x51
test eax, eax
je 0x4b6b59
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b6b5b
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.00513e00
lea eax, [esi + 0x184]
push str.Trickster_Minotaur
push eax
call fcn.004b3790
push 0x5d1cf0
push str.serverdata_tricksterMino.dat
mov dword [ebp - 0xc48], 1
call fcn.0056868c
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b6bf5
lea eax, [ebp - 0xc48]
push eax
push 0x5d1cfc
push edi
call fcn.00448230
push edi
call fcn.0056839e
add esp, 0x10
mov eax, dword [ebp - 0xc48]
cmp eax, 1
jge 0x4b6c0c
mov dword [ebp - 0xc48], 1
jmp 0x4b6c1d
cmp eax, 0xbb8
jle 0x4b6c1d
mov dword [ebp - 0xc48], 0xbb8
mov dword [esi + 0x1a4], 0xff0000ff
movd xmm0, dword [ebp - 0xc48]
cvtdq2ps xmm0, xmm0
push 0x2c4
movss xmm2, dword [0x5d2058]
divss xmm0, dword [0x5d63c8]
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.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x52
test eax, eax
je 0x4b6cf3
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b6cf5
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.00513e00
lea eax, [esi + 0x184]
push str.Punching_Bag
push eax
call fcn.004b3790
push 0x5d1cf0
push str.serverdataDecayingGolem.dat
call fcn.0056868c
push 0x2c4
mov dword [esi + 0x1a4], 0xff0000ff
mov dword [esi + 0x1a8], 0x40000000
mov dword [esi + 0x1ac], 0x61a8
mov dword [esi + 0x1b0], 0x7530
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], 0xc350
mov dword [esi + 0x238], 0x3e8
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x53
test eax, eax
je 0x4b6e03
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b6e05
xor esi, esi
mov dword [esi + 0x228], 0xc8
mov dword [esi + 0x110], 0xc8
mov dword [esi + 0x108], 0xc8
mov dword [esi + 0x22c], 0xc8
mov dword [esi + 0x114], 0xc8
mov dword [esi + 0x10c], 0xc8
mov ecx, dword [edi + 0x118]
push esi
mov byte [ebp - 4], 0
call fcn.00513e00
lea eax, [esi + 0x184]
push str.Punching_Bag
push eax
call fcn.004b3790
push 0x5d1cf0
push str.serverdataDecayingGolem.dat
call fcn.0056868c
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], 0x61a8
mov dword [esi + 0x1b0], 0x7530
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], 0xc350
mov dword [esi + 0x238], 0x3e8
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x5d1cf0
push str.serverdataguilds.dat
call fcn.0056868c
mov esi, eax
add esp, 0x28
mov dword [ebp - 0xc54], esi
test esi, esi
je 0x4b75b5
push 0x19
call fcn.00568056
lea eax, [ebp - 0xc38]
push eax
push 0x5d4870
push esi
call fcn.00448230
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d760
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b6f80
test dl, dl
je 0x4b6f7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b6f80
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b6f60
xor eax, eax
jmp 0x4b6f85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b759d
nop dword [eax]
push 0x41c
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x54
test eax, eax
je 0x4b6fc6
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Tower
push 3
call fcn.0052e610
mov ebx, eax
jmp 0x4b6fc8
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.0052ecf0
mov ecx, dword [ebx + 0x144]
call fcn.0044e3b0
cmp eax, 2
jge 0x4b6fff
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x4b7552
mov eax, dword [ebp - 0xc2c]
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e1c0
cmp dword [ebx + 0x12c], 0xffffffff
je 0x4b7552
cmp dword [ebx + 0x130], 0xffffffff
je 0x4b7552
nop dword [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 0x4b7069
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 0x4b706e
mov esi, 1
mov edi, dword [ebx + 0x12c]
cmp edi, 2
jl 0x4b7081
cmp edi, 0xfe
jl 0x4b7086
mov esi, 1
mov eax, dword [ebx + 0x130]
cmp eax, 2
jl 0x4b7098
cmp eax, 0xfe
jl 0x4b709d
mov esi, 1
mov ecx, 0x6102d4
mov eax, edi
sub eax, dword [ecx - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b70c9
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, 0x610a54
jl 0x4b70a2
mov eax, 0xe6
mov ecx, 1
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7100
mov eax, 0x35
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x14
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7127
mov eax, 0x17
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0xb3
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b714e
mov eax, 0xa4
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x6b
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7175
mov eax, 0xa2
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x13
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b719c
mov eax, 5
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x8d
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b71c3
mov eax, 0x56
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0xb6
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b71ea
mov eax, 0x1a
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x20
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7211
mov eax, 0xed
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0xd7
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7238
mov eax, 0xde
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x7b
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b725f
mov eax, 0x96
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
cmovl esi, ecx
mov eax, 0x78
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x4b72a4
mov ecx, dword [ebx + 0x130]
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
mov ecx, 1
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
cmovl esi, ecx
mov eax, 0x60
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x4b72cb
mov eax, 0x98
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
cmovl esi, ecx
mov eax, 0x5a
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x4b72f2
mov eax, 0x8c
sub eax, dword [ebx + 0x130]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
cmovl esi, ecx
mov eax, dword [ebp - 0xc30]
push 0x3e8
push 0
push 0
mov ecx, dword [eax + 0x118]
call fcn.00513e20
mov edi, eax
test edi, edi
je 0x4b7391
mov ecx, edi
call fcn.0044cd10
cmp eax, 1
je 0x4b734e
mov ecx, edi
call fcn.0044cd10
cmp eax, 7
je 0x4b734e
mov ecx, edi
call fcn.0044cd10
cmp eax, 5
je 0x4b734e
mov ecx, edi
call fcn.0044cd10
cmp eax, 0xe
je 0x4b734e
mov ecx, edi
call fcn.0044cd10
cmp eax, 0x12
jne 0x4b737a
mov eax, dword [ebx + 0x12c]
sub eax, dword [edi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b737a
mov eax, dword [ebx + 0x130]
sub eax, dword [edi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x4b7399
mov eax, dword [ebp - 0xc30]
mov ecx, dword [eax + 0x118]
call fcn.00513ed0
mov edi, eax
test edi, edi
jne 0x4b7312
test esi, esi
je 0x4b744f
mov edi, dword [ebp - 0xc30]
mov esi, 3
call fcn.00568035
cdq
idiv esi
dec edx
add dword [ebx + 0x12c], edx
call fcn.00568035
cdq
idiv esi
mov ecx, dword [ebx + 0x130]
mov eax, dword [ebx + 0x12c]
dec ecx
add ecx, edx
mov dword [ebx + 0x130], ecx
cmp eax, 2
jge 0x4b73e3
add eax, 3
cmp eax, 2
jl 0x4b73d5
mov dword [ebx + 0x12c], eax
cmp ecx, 2
jge 0x4b73f5
add ecx, esi
cmp ecx, 2
jl 0x4b73e8
mov dword [ebx + 0x130], ecx
mov eax, dword [ebx + 0x12c]
cmp eax, 0xfe
jl 0x4b7412
add eax, 0xfffffffd
cmp eax, 0xfe
jge 0x4b7402
mov dword [ebx + 0x12c], eax
mov ecx, dword [ebx + 0x130]
cmp ecx, 0xfe
jl 0x4b7431
add ecx, 0xfffffffd
cmp ecx, 0xfe
jge 0x4b7420
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 0x4b73a4
jmp 0x4b7030
push 0x190
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc6c], eax
mov byte [ebp - 4], 0x55
test eax, eax
je 0x4b7481
push dword [ebx + 0x130]
mov ecx, eax
push dword [ebx + 0x12c]
call fcn.004a1ef0
mov esi, eax
jmp 0x4b7483
xor esi, esi
mov edi, dword [ebp - 0xc30]
push esi
mov byte [ebp - 4], 0
mov ecx, dword [edi + 0x118]
call fcn.00513e00
push 0x194
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], 1
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc68], eax
mov byte [ebp - 4], 0x56
test eax, eax
je 0x4b74d1
push 2
push 2
mov ecx, eax
call fcn.00493630
jmp 0x4b74d3
xor eax, eax
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x194
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc64], eax
mov byte [ebp - 4], 0x57
test eax, eax
je 0x4b750d
push 4
push 4
mov ecx, eax
call fcn.004a2020
mov ecx, eax
jmp 0x4b750f
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.00513e00
mov esi, dword [ebp - 0xc54]
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d760
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b7590
test dl, dl
je 0x4b758c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b7590
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b7570
xor eax, eax
jmp 0x4b7595
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b6f90
push esi
call fcn.0056839e
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00568056
add esp, 4
lea eax, [ebp - 0x410]
push str.Loading_Lab1._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x140
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x58
test eax, eax
je 0x4b760d
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth
push 2
call fcn.0050ecc0
mov ebx, eax
jmp 0x4b760f
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.0050ee90
mov dword [ebx + 0x134], 3
mov ecx, dword [edi + 0x48]
push ebx
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Loading_Lab2._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x140
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x59
test eax, eax
je 0x4b7692
push dword [edi + 0x34]
mov ecx, eax
push str.Deep_Labyrinth
push 2
call fcn.0050ecc0
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b769a
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.0050ee90
mov dword [esi + 0x134], 4
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Loading_Lab3._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x140
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5a
test eax, eax
je 0x4b7717
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth_Basement
push 2
call fcn.0050ecc0
mov edi, eax
jmp 0x4b7719
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.0050ee90
mov eax, dword [ebp - 0xc2c]
mov dword [edi + 0x134], 5
push edi
mov ecx, dword [eax + 0x48]
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5b
test eax, eax
je 0x4b7772
push 0
push 0
mov ecx, eax
call fcn.00494bc0
jmp 0x4b7774
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_the_Three_Spiders._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x2c4
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5c
test eax, eax
je 0x4b77d4
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b77d6
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Larath
push eax
call fcn.004b3790
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 ecx, dword [ebx + 0x118]
push esi
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5d
test eax, eax
je 0x4b78ce
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b78d0
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Moultz
push eax
call fcn.004b3790
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 ecx, dword [ebx + 0x118]
push esi
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5e
test eax, eax
je 0x4b79c8
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b79ca
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Reorth
push eax
call fcn.004b3790
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 ecx, dword [ebx + 0x118]
push esi
call fcn.00513e00
lea eax, [ebp - 0x410]
push str.Adding_warp_points._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
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.004b8bb0
mov ecx, dword [ebp - 0xc2c]
push 1
push 1
push 1
push esi
push 0x1c
push 0x1c
push ebx
call fcn.004b8bb0
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.004b8bb0
mov ecx, dword [ebp - 0xc2c]
push 1
push 4
push 0x33
push ebx
push 0x56
push 0x8d
push esi
call fcn.004b8bb0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x3b
push 0x33
push ebx
push 0x1a
push 0xb7
push esi
call fcn.004b8bb0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x37
push 4
push ebx
push 0xed
push 0x20
push esi
call fcn.004b8bb0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x1f
push 0x16
push ebx
push 0xde
push 0xd7
push esi
call fcn.004b8bb0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x20
push 0x2e
push ebx
push 0x96
push 0x7b
push esi
call fcn.004b8bb0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5f
test eax, eax
je 0x4b7bb7
push 0
push 0
mov ecx, eax
call fcn.00494bc0
jmp 0x4b7bb9
xor eax, eax
mov ebx, dword [ebp - 0xc34]
push eax
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_lab2_bosses._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x2c4
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x60
test eax, eax
je 0x4b7c1d
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00496980
jmp 0x4b7c1f
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 ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x61
test eax, eax
je 0x4b7ca3
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00496980
mov esi, eax
jmp 0x4b7ca5
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.004b3790
mov ecx, dword [ebx + 0x118]
add esp, 8
push esi
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x62
test eax, eax
je 0x4b7d3b
push 0
push 0
push 1
push 0x1b
mov ecx, eax
call fcn.00496980
jmp 0x4b7d3d
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 ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
lea eax, [ebp - 0x410]
push str.Populating_Lab3._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x774
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x63
test eax, eax
je 0x4b7ddd
push 0
push 0
mov ecx, eax
call fcn.00494bc0
jmp 0x4b7ddf
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
push 0x774
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x64
test eax, eax
je 0x4b7e17
push 0
push 0
mov ecx, eax
call fcn.00494bc0
jmp 0x4b7e19
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.Adding_lab3_bosses._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x2c4
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x65
test eax, eax
je 0x4b7e77
push 0
push 0
push 2
push 0x1b
mov ecx, eax
call fcn.00496980
jmp 0x4b7e79
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 ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x66
test eax, eax
je 0x4b7efb
push 0
push 0
push 3
push 0x1b
mov ecx, eax
call fcn.00496980
jmp 0x4b7efd
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 ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x67
test eax, eax
je 0x4b7f7f
push 0
push 0
push 4
push 0x1b
mov ecx, eax
call fcn.00496980
jmp 0x4b7f81
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 ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x68
test eax, eax
je 0x4b8003
push 0
push 0
push 2
push 0x1e
mov ecx, eax
call fcn.00496980
jmp 0x4b8005
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], 0x3f800000
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x69
test eax, eax
je 0x4b8087
push 0
push 0
push 3
push 0x1e
mov ecx, eax
call fcn.00496980
jmp 0x4b8089
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], 0x3f800000
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6a
test eax, eax
je 0x4b810b
push 0
push 0
push 4
push 0x1e
mov ecx, eax
call fcn.00496980
jmp 0x4b810d
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], 0x3f800000
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
push 0x2c4
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6b
test eax, eax
je 0x4b818f
push 0
push 0
push 5
push 0x1e
mov ecx, eax
call fcn.00496980
jmp 0x4b8191
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], 0x3f800000
mov ecx, dword [edi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513e00
lea eax, [ebp - 0x410]
push str.Loading_testrealm._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x13c
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov ebx, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x6c
test eax, eax
je 0x4b823f
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Realm
push 4
call fcn.00524170
mov esi, eax
jmp 0x4b8241
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.00524320
mov dword [esi + 0x134], 6
mov ecx, dword [ebx + 0x48]
push esi
call fcn.0044e1c0
lea eax, [ebp - 0x410]
push str.TOken_init._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
mov ecx, 0x62f620
call fcn.0052d400
lea eax, [ebp - 0x410]
push str.Loading_saved_tokens_if_present._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
add esp, 0x10
mov ecx, 0x62f620
call fcn.0052d4f0
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.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x14
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6d
test eax, eax
je 0x4b8355
mov ecx, eax
call fcn.0050e800
jmp 0x4b8357
xor eax, eax
push 0x14
mov byte [ebp - 4], 0
mov dword [0x62eb84], eax
call fcn.00558849
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6e
test eax, eax
je 0x4b8381
mov ecx, eax
call fcn.00530980
jmp 0x4b8383
xor eax, eax
mov dword [0x62eb88], eax
lea eax, [ebp - 0x410]
push str.Loading_quests._n
push eax
mov byte [ebp - 4], 0
mov dword [ebx + 0xc4], 0
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x14
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6f
test eax, eax
je 0x4b83d9
mov ecx, eax
call fcn.00520b60
jmp 0x4b83db
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0
mov dword [0x62f600], eax
call fcn.00521f70
lea eax, [ebp - 0x410]
push str.Loading_alternate_main._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
push 0x10128
call fcn.00558849
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x70
test eax, eax
je 0x4b843d
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Large_Realm
push 0
call fcn.004f7100
mov esi, eax
jmp 0x4b843f
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.0044e1c0
lea eax, [ebp - 0x410]
push str.Done_loading._n
push eax
call fcn.00472290
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a2390
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.00558887
mov esp, ebp
pop ebp
ret 4