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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3ec3
mov eax, dword fs:[0]
push eax
sub esp, 0xc64
mov eax, dword [0x626734]
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.005132b0
push 0
mov dword [0x62aadc], ebx
push str.Logs
mov dword [ebx + 0xc0], 0x2710
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0xc24]
call fcn.005132b0
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 0x4b3e80
mov ecx, 0xffff
add dx, cx
mov word [ebp - 0xc1e], dx
jmp 0x4b3e87
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.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x5cecf0
push str.serverdataconfig.dat
call fcn.0056632e
push 0x62aae8
mov edi, eax
push str.MAX_LOGINS__d_n
push edi
call fcn.00448270
push dword [0x62aae8]
lea eax, [ebp - 0x410]
push str.MAX_LOGINS_is__d_n
push eax
call fcn.00472410
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add ebx, 0x8c
push ebx
push str.ENABLE_TOI__d_n
push edi
call fcn.00448270
push dword [ebx]
lea eax, [ebp - 0x410]
push str.ENABLE_TOI_is__d_n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x62aaf0
push str.ENABLE_HALLOWEEN__d_n
push edi
call fcn.00448270
push dword [0x62aaf0]
lea eax, [ebp - 0x410]
push str.ENABLE_HALLOWEEN_is__d_n
push eax
call fcn.00472410
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
mov ebx, dword [ebp - 0xc2c]
lea esi, [ebx + 0x90]
push esi
push str.INFINITE_SUPPLY__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.INFINITE_SUPPLY_is__d_n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add ebx, 0x7c
push ebx
push str.ENABLE_CHEATING__d_n
push edi
call fcn.00448270
push dword [ebx]
lea eax, [ebp - 0x410]
push str.ENABLE_CHEATING_is__d_n
push eax
call fcn.00472410
add esp, 0x40
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
mov esi, dword [ebp - 0xc2c]
sub esi, 0xffffff80
push esi
push str.ENABLE_WALL_BREAKING__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.ENABLE_WALL_BREAKING_is__d_n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
mov esi, dword [ebp - 0xc2c]
add esi, 0x84
push esi
push str.REMOVE_GEO_WALLS__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.REMOVE_GEO_WALLS_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esp, 0x40
add esi, 0x88
push esi
push str.POSSESSED_MONSTERS_MOVE__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.POSSESSED_MONSTERS_MOVE_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esi, 0x94
push esi
push str.COMBAT_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.COMBAT_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esi, 0x98
push esi
push str.SMITH_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.SMITH_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esp, 0x48
add esi, 0x9c
push esi
push str.BOMBING_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.BOMBING_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esi, 0xa0
push esi
push str.GEOMANCY_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.GEOMANCY_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esi, 0xa4
push esi
push str.TS_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.TS_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esp, 0x48
add esi, 0xa8
push esi
push str.MAGIC_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.MAGIC_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
mov esi, dword [ebp - 0xc2c]
add esi, 0xac
push esi
push str.MASTERY_EXP_MULTIPLIER__d_n
push edi
call fcn.00448270
push dword [esi]
lea eax, [ebp - 0x410]
push str.MASTERY_EXP_MULTIPLIER_is__d_n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push edi
call fcn.00566040
mov esi, dword [ebp - 0xc2c]
add esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], eax
test eax, eax
je 0x4b422b
call fcn.00443ce0
push 0x8c8
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b4213
mov ecx, eax
call fcn.004403d0
jmp 0x4b4215
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 0x4b4267
push 0x88
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4b424f
mov ecx, eax
call fcn.00445050
jmp 0x4b4251
xor eax, eax
cmp dword [ebx], 0
mov ecx, 0xe5e
mov byte [ebp - 4], 0
mov dword [esi + 0x34], eax
je 0x4b4267
mov ecx, 0xe5f
push 0
push 0x64
push ecx
mov ecx, eax
call fcn.00442090
push 0x10
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4b4294
mov ecx, eax
call fcn.0044de70
jmp 0x4b4296
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x44], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4b42be
mov ecx, eax
call fcn.0044de70
jmp 0x4b42c0
xor eax, eax
push 0x10
mov byte [ebp - 4], 0
mov dword [esi + 0x48], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4b42e8
mov ecx, eax
call fcn.0044de70
jmp 0x4b42ea
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.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
call fcn.004a25a0
lea eax, [ebp - 0x410]
push str.Initializing_main_map_n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x10128
call fcn.00556676
add esp, 0x24
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4b4370
push dword [esi + 0x34]
mov ecx, eax
push str.Ground
push 0
call fcn.004f6950
mov ebx, eax
mov dword [ebp - 0xc30], eax
jmp 0x4b4378
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.0044e180
lea eax, [ebp - 0x410]
push str.Adding_Merchants._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
mov edi, 0x60c2d4
xor esi, esi
mov dword [ebp - 0xc40], esi
nop word [eax + eax]
mov eax, dword [edi + 4]
inc eax
mov dword [ebp - 0xc34], 0
test eax, eax
jle 0x4b44cb
push 0x990
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4b440e
push 2
mov ecx, eax
call fcn.0049ff90
mov ebx, eax
jmp 0x4b4410
xor ebx, ebx
mov eax, dword [edi + 8]
mov byte [ebp - 4], 0
mov dword [ebx + 0x184], eax
mov dword [ebx + 0x188], esi
mov esi, dword [edi + 4]
call fcn.00565cd7
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 - 4]
add eax, ecx
mov dword [ebx + 0x108], eax
mov esi, dword [edi + 4]
call fcn.00565cd7
cdq
lea ecx, [esi + 1]
idiv ecx
mov eax, esi
mov esi, dword [edi]
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add esi, ecx
mov dword [ebx + 0x10c], esi
mov edx, esi
mov ecx, dword [edi]
lea eax, [ecx + 1]
cmp esi, eax
jne 0x4b448b
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi - 4]
jne 0x4b448b
lea edx, [esi + 1]
mov dword [ebx + 0x10c], edx
mov ecx, dword [edi]
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi - 4]
jne 0x4b449a
cmp edx, ecx
je 0x4b4423
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.00513530
mov ebx, dword [ebp - 0xc34]
mov eax, dword [edi + 4]
inc ebx
mov esi, dword [ebp - 0xc40]
inc eax
mov dword [ebp - 0xc34], ebx
cmp ebx, eax
jl 0x4b43e6
inc esi
add edi, 0x50
mov dword [ebp - 0xc40], esi
cmp edi, 0x60ca54
jl 0x4b43d0
lea eax, [ebp - 0x410]
push str.Adding_trainers._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
mov edi, 0x60c2d8
nop dword [eax + eax]
mov eax, dword [edi]
cdq
sub eax, edx
mov dword [ebp - 0xc34], 0
sar eax, 1
inc eax
test eax, eax
jle 0x4b45e5
nop word [eax + eax]
push 0x990
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4b4558
push 3
mov ecx, eax
call fcn.0049ff90
mov ebx, eax
jmp 0x4b455a
xor ebx, ebx
mov byte [ebp - 4], 0
nop
mov esi, dword [edi]
call fcn.00565cd7
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.00565cd7
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 0x4b45b6
cmp edx, dword [edi - 4]
je 0x4b4560
mov eax, dword [ebp - 0xc30]
push ebx
mov ecx, dword [eax + 0x118]
call fcn.00513530
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 0x4b4530
add edi, 0x50
cmp edi, str.Knife
jl 0x4b4510
lea eax, [ebp - 0x410]
push str.Adding_Town_Mages._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
mov esi, 0x60c2d4
nop
push 0x990
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4b4648
push 4
mov ecx, eax
call fcn.0049ff90
mov ecx, eax
jmp 0x4b464a
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.00513530
add esi, 0x50
cmp esi, 0x60ca54
jl 0x4b4620
push 0x194
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4b46aa
push 0x12
push 0x79
push 0xa1
mov ecx, eax
call fcn.004a23b0
jmp 0x4b46ac
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.00513530
mov eax, dword [ebp - 0xc2c]
cmp dword [eax + 0x8c], 1
jne 0x4b47d9
push 0x990
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4b4707
push 2
mov ecx, eax
call fcn.0049ff90
mov esi, eax
jmp 0x4b4709
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.00513530
lea eax, [ebp - 0xc14]
push str.Tower_of_Infinity_Ticket.
push eax
call fcn.0043d370
push 0x120
call fcn.00556676
add esp, 0xc
mov dword [ebp - 0xc38], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4b4789
lea ecx, [ebp - 0xc14]
push ecx
push 0
push 0x13
mov ecx, eax
call fcn.0050b040
mov ecx, eax
jmp 0x4b478b
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.0050b900
mov esi, dword [ebp - 0xc30]
lea eax, [ebp - 0x410]
push str.Adding_dungeons._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x5cecf0
push str.serverdatadungeons.dat
call fcn.0056632e
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xc40], ebx
test ebx, ebx
jne 0x4b4c09
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.004f6a00
lea edi, [eax - 0xfa]
mov dword [ebp - 0xc3c], edi
cmp edi, 4
ja 0x4b4bd9
push 0x190
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc54], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4b487b
push dword [ebp - 0xc50]
mov ecx, eax
push ebx
call fcn.004a2230
mov ebx, eax
jmp 0x4b487d
xor ebx, ebx
mov ecx, dword [esi + 0x118]
push ebx
mov byte [ebp - 4], 0
call fcn.00513530
push 0x23c
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4b48c9
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004edeb0
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b48d1
xor esi, esi
mov dword [ebp - 0xc34], esi
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.004eed00
mov eax, dword [ebp - 0xc2c]
push esi
mov ecx, dword [eax + 0x48]
call fcn.0044e180
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 0x4b4a58
call fcn.00565cd7
cdq
mov ecx, 0x22
idiv ecx
mov ebx, edx
mov dword [ebp - 0xc38], ebx
call fcn.00565cd7
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 0x4b4a2d
mov ecx, dword [ecx + 0x61a864]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b4a2d
cmp ecx, edi
jg 0x4b4a2d
call fcn.00565cd7
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.00565cd7
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b49b7
cmp edi, 4
jl 0x4b4991
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x4b49eb
push 0
push 0
push dword [ebp - 0xc4c]
mov ecx, eax
push dword [ebp - 0xc38]
call fcn.00496cf0
jmp 0x4b49ed
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.00513530
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 0x4b4938
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 0x4b4bcd
mov edi, 0x22
lea esi, [edi - 0x1c]
nop dword [eax]
call fcn.00565cd7
cdq
idiv edi
mov ebx, edx
mov dword [ebp - 0xc4c], ebx
call fcn.00565cd7
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 + 0x61a868], 1
je 0x4b4aa0
cmp byte [eax + str.Ghost], 0
mov esi, dword [ebp - 0xc34]
mov edi, dword [ebp - 0xc3c]
je 0x4b4ba4
mov ecx, dword [eax + 0x61a864]
lea eax, [edi - 3]
cmp ecx, eax
jl 0x4b4ba4
lea eax, [edi - 1]
cmp ecx, eax
jg 0x4b4ba4
call fcn.00565cd7
cdq
idiv dword [esi + 0x124]
mov ebx, edx
call fcn.00565cd7
cdq
idiv dword [esi + 0x128]
mov edi, edx
cmp ebx, 4
jge 0x4b4b2d
cmp edi, 4
jl 0x4b4b07
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4b4b61
push 0
push 0
push dword [ebp - 0xc38]
mov ecx, eax
push dword [ebp - 0xc4c]
call fcn.00496cf0
jmp 0x4b4b63
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.00513530
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 0x4b4a91
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 0x4b4830
inc ebx
mov dword [ebp - 0xc40], ebx
cmp ebx, 0x100
jl 0x4b4823
jmp 0x4b52b8
push 0x19
call fcn.00565cf8
lea eax, [ebp - 0xc44]
push eax
push 0x5d1860
push ebx
call fcn.00448270
push 0
lea eax, [ebp - 0x410]
push eax
push ebx
call fcn.0044d710
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b4c60
test dl, dl
je 0x4b4c5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b4c60
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b4c40
xor eax, eax
jmp 0x4b4c65
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b52a0
lea ebx, [eax + 0x22]
lea edi, [eax + 6]
push 0x23c
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc60], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x4b4ca9
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004edeb0
mov esi, eax
jmp 0x4b4cab
xor esi, esi
movss xmm0, dword [ebp - 0xc44]
movss xmm1, dword [0x5da64c]
comiss xmm1, xmm0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0
movss dword [esp], xmm0
push dword [ebp - 0xc40]
jbe 0x4b4d99
call fcn.004ef0b0
lea eax, [esi + 0x144]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00472410
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.00556676
add esp, 4
mov dword [ebp - 0xc5c], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4b4d47
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Test_Dungeon
push 1
call fcn.004edeb0
mov esi, eax
jmp 0x4b4d49
xor esi, esi
mov byte [ebp - 4], 0
call fcn.00565cd7
mov ecx, 5
cdq
idiv ecx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push ecx
mov ecx, esi
call fcn.004eed00
lea eax, [ebp - 0x410]
push eax
lea eax, [esi + 0x144]
push eax
call fcn.004b3980
mov eax, dword [ebp - 0xc38]
add esp, 8
mov dword [esi + 0x12c], eax
mov eax, dword [ebp - 0xc34]
mov dword [esi + 0x130], eax
jmp 0x4b4d9e
call fcn.004ef0b0
mov ecx, dword [ebp - 0xc2c]
push esi
call fcn.004b8a10
movss xmm0, dword [ebp - 0xc44]
lea ecx, [esi + 0x12c]
movss xmm1, dword [0x5da648]
comiss xmm1, xmm0
mov dword [ebp - 0xc3c], ecx
jbe 0x4b4de9
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 0x4b4def
mov dword [ebp - 0xc3c], ecx
movss xmm1, dword [0x5da64c]
comiss xmm1, xmm0
jbe 0x4b4f94
mov ecx, dword [esi + 0x124]
mov eax, 0x2aaaaaab
imul ecx, dword [esi + 0x128]
mov dword [ebp - 0xc34], 0
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x4b4f8e
nop
call fcn.00565cd7
cdq
idiv ebx
mov ebx, edx
mov dword [ebp - 0xc4c], ebx
call fcn.00565cd7
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 0x4b4f60
call fcn.00565cd7
cdq
idiv dword [esi + 0x124]
mov edi, edx
call fcn.00565cd7
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 + 0x61a868], 1
jne 0x4b4ecd
mov ebx, 0x3e8
mov edi, ebx
call fcn.00565cd7
cdq
mov ecx, 0x22
idiv ecx
mov dword [ebp - 0xc4c], edx
call fcn.00565cd7
cdq
mov ecx, 6
idiv ecx
mov dword [ebp - 0xc50], edx
mov eax, dword [esi + 0x124]
sub eax, 2
cmp edi, eax
jle 0x4b4eeb
mov eax, dword [esi + 0x128]
sub eax, 2
cmp ebx, eax
jg 0x4b4e66
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc58], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4b4f1f
push 0
push 0
push dword [ebp - 0xc50]
mov ecx, eax
push dword [ebp - 0xc4c]
call fcn.00496cf0
jmp 0x4b4f21
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.00513530
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 0x4b4e30
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 0x4b4fdb
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 0x4b4fe0
mov edi, 1
mov eax, dword [ebx]
mov dword [ebp - 0xc38], eax
cmp eax, 2
jl 0x4b4ff4
cmp eax, 0xfe
jl 0x4b4ff9
mov edi, 1
mov ecx, dword [esi + 0x130]
cmp ecx, 2
jl 0x4b500c
cmp ecx, 0xfe
jl 0x4b5011
mov edi, 1
mov ecx, 0x60c2d8
sub eax, dword [ecx - 8]
mov ebx, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jge 0x4b503c
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 0x4b5016
test edi, edi
je 0x4b508a
call fcn.00565cd7
and eax, 0x800000ff
jns 0x4b5064
dec eax
or eax, 0xffffff00
inc eax
mov edi, dword [ebp - 0xc3c]
mov dword [edi], eax
call fcn.00565cd7
and eax, 0x800000ff
jns 0x4b507f
dec eax
or eax, 0xffffff00
inc eax
mov dword [esi + 0x130], eax
jmp 0x4b4f8e
push 0x190
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc54], eax
mov edi, dword [ebp - 0xc3c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4b50be
push dword [esi + 0x130]
mov ecx, eax
push dword [edi]
call fcn.004a2230
mov ebx, eax
jmp 0x4b50c0
xor ebx, ebx
mov eax, dword [ebp - 0xc30]
push ebx
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.00513530
push 0x194
mov dword [ebx + 0x188], esi
call fcn.00556676
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc64], ebx
mov byte [ebp - 4], 0x15
test ebx, ebx
je 0x4b511c
call fcn.00565cd7
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00565cd7
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.004939a0
jmp 0x4b511e
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513530
push 0x194
call fcn.00556676
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc68], ebx
mov byte [ebp - 4], 0x16
test ebx, ebx
je 0x4b516e
call fcn.00565cd7
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00565cd7
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.004939a0
jmp 0x4b5170
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513530
push 0x194
call fcn.00556676
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc6c], ebx
mov byte [ebp - 4], 0x17
test ebx, ebx
je 0x4b51c0
call fcn.00565cd7
cdq
idiv dword [esi + 0x128]
push edx
call fcn.00565cd7
cdq
mov ecx, ebx
idiv dword [esi + 0x124]
push edx
call fcn.004939a0
jmp 0x4b51c2
xor eax, eax
mov ecx, dword [esi + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513530
push 0x194
call fcn.00556676
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x4b5208
mov eax, dword [esi + 0x128]
dec eax
push eax
mov eax, dword [esi + 0x124]
dec eax
push eax
call fcn.004a2360
mov ecx, eax
jmp 0x4b520a
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.00513530
push 0
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc40]
call fcn.0044d710
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.DUNGEON
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b5285
test dl, dl
je 0x4b5281
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b5285
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5265
xor eax, eax
jmp 0x4b528a
sbb eax, eax
or eax, 1
mov ebx, 0x22
lea edi, [ebx - 0x1c]
test eax, eax
je 0x4b4c73
mov ebx, dword [ebp - 0xc40]
push ebx
call fcn.00566040
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00565cf8
add esp, 4
push 0x190
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x4b52e8
push 0x3e
push 0x3e
mov ecx, eax
call fcn.004a2230
mov esi, eax
mov dword [ebp - 0xc44], eax
jmp 0x4b52f0
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.00513530
lea eax, [ebp - 0x410]
push str.Opening_cave_dat_file._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x5cecf0
push str.serverdatacave.dat
call fcn.0056632e
mov edi, eax
push 0x23c
mov dword [ebp - 0xc4c], edi
call fcn.00556676
add esp, 0x1c
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4b5375
mov ecx, dword [ebp - 0xc2c]
push dword [ecx + 0x34]
mov ecx, eax
push str.Mysterious_Cave
push 1
call fcn.004edeb0
mov ebx, eax
jmp 0x4b5377
xor ebx, ebx
mov byte [ebp - 4], 0
lea eax, [ebp - 0x410]
test edi, edi
jne 0x4b5462
push str.Failed__creating_default._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
mov ecx, ebx
push edi
push 0x3e
push 0x3e
push 0x14
push 0x14
call fcn.004eed00
mov eax, dword [ebp - 0xc2c]
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e180
lea eax, [ebx + 0x144]
mov dword [esi + 0x188], ebx
push str.Mysterious_Cave
push eax
mov dword [ebx + 0x204], 1
call fcn.004b3980
push 0x194
call fcn.00556676
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x4b541e
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.004a2360
mov ecx, eax
jmp 0x4b5420
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.00513530
jmp 0x4b5881
push str.Reading_cave_map._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
mov eax, dword [ebx + 0x134]
add esp, 0x10
test eax, eax
je 0x4b5494
push eax
call fcn.00556b0a
add esp, 4
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x4b54a7
push eax
call fcn.00556b0a
add esp, 4
push 0
lea eax, [ebx + 0x144]
push eax
push edi
call fcn.0044d710
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.00448270
add esp, 0x28
mov ecx, ebx
push dword [esi]
push dword [ebx + 0x130]
push dword [ebx + 0x12c]
push dword [ebx + 0x128]
push dword [ebx + 0x124]
call fcn.004eed00
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5d1aa0
push edi
call fcn.00448270
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 + 0x128]
imul eax, dword [ebx + 0x124]
test eax, eax
jle 0x4b559f
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5d1aa0
push edi
call fcn.00448270
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 + 0x128]
imul eax, dword [ebx + 0x124]
cmp esi, eax
jl 0x4b5551
mov eax, dword [ebp - 0xc2c]
mov dword [ebx + 0x204], 1
push ebx
mov ecx, dword [eax + 0x48]
call fcn.0044e180
mov eax, dword [ebp - 0xc44]
push 0x194
mov dword [eax + 0x188], ebx
call fcn.00556676
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc28], ecx
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x4b55fa
mov eax, dword [ebx + 0x128]
dec eax
push eax
mov eax, dword [ebx + 0x124]
dec eax
push eax
call fcn.004a2360
mov ecx, eax
jmp 0x4b55fc
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.00513530
push 0x5cff08
push edi
call fcn.00448270
push 0
lea eax, [ebp - 0x410]
push eax
push edi
call fcn.0044d710
add esp, 0x14
lea eax, [ebp - 0x410]
mov ecx, str.PLAYERMERCHANT
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b5681
test dl, dl
je 0x4b567d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b5681
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5661
xor eax, eax
jmp 0x4b5686
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b5878
nop
lea eax, [ebp - 0x410]
push str.Loading_Playemerchant._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
lea eax, [ebp - 0x410]
push eax
push str.ACCOUNT__s_n
push edi
call fcn.00448270
lea eax, [ebp - 0x810]
push eax
push str.OWNER__s_n
push edi
call fcn.00448270
lea eax, [ebp - 0x410]
push str.Loading_coords._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc3c]
push eax
push str._d__d_n
push edi
call fcn.00448270
add esp, 0x48
push 0x990
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x4b573c
push 0x15
mov ecx, eax
call fcn.0049ff90
mov edi, eax
jmp 0x4b573e
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.0044d1c0
lea eax, [ebp - 0x410]
mov dword [edi + 0x184], 0
push str.Loading_inventory._n
push eax
mov dword [edi + 0x188], 0
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
mov ecx, dword [edi + 0x180]
add esp, 0x38
mov dword [esp], 0x402e147b
push dword [ebp - 0xc4c]
call fcn.0050c820
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.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
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.00513530
mov ecx, str.PLAYERMERCHANT
lea eax, [ebp - 0x410]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b5865
test dl, dl
je 0x4b5861
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b5865
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5845
xor eax, eax
jmp 0x4b586a
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0xc4c]
test eax, eax
je 0x4b5690
push edi
call fcn.00566040
add esp, 4
lea eax, [ebp - 0x410]
push str.Adding_monster_generators._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x774
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x4b58cd
push 0
push 0
mov ecx, eax
call fcn.00494f50
mov edi, eax
jmp 0x4b58cf
xor edi, edi
mov ebx, dword [ebp - 0xc30]
push edi
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044e180
mov eax, 0xc8
add edi, 0x438
mov ecx, 0xcc
rep stosd dword es:[edi], eax
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4b591f
push 0
push 0
mov ecx, eax
call fcn.00494b90
jmp 0x4b5921
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x4b5959
push 0
push 0
mov ecx, eax
call fcn.00493e80
jmp 0x4b595b
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x794
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4b5990
push ebx
mov ecx, eax
call fcn.004930f0
jmp 0x4b5992
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x7bc
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x22
test eax, eax
je 0x4b59c7
push ebx
mov ecx, eax
call fcn.00495bc0
jmp 0x4b59c9
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x794
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x23
test eax, eax
je 0x4b59fe
push ebx
mov ecx, eax
call fcn.0043cc10
jmp 0x4b5a00
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x24
test eax, eax
je 0x4b5a38
push 0
push 0
mov ecx, eax
call fcn.0049f8e0
jmp 0x4b5a3a
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Adding_halloween_if_enabled._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
cmp dword [0x62aaf0], 0
je 0x4b5afe
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4b5aab
push 0x19
push 0x2b
push 0x68
push 0x35
push 0x68
push ebx
mov ecx, eax
call fcn.0046f150
jmp 0x4b5aad
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x26
test eax, eax
je 0x4b5aec
push 0x19
push 0x35
push 0x5e
push 0x2b
push 0x5e
push ebx
mov ecx, eax
call fcn.0046f150
jmp 0x4b5aee
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Adding_spider_armies._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x804
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x27
test eax, eax
je 0x4b5b4f
push 0x23
push 0x1b
push 0x78
push 0x25
push 0x78
push ebx
mov ecx, eax
call fcn.0046f790
jmp 0x4b5b51
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x28
test eax, eax
je 0x4b5b96
push 0x2d
push 0x8c
push 0x5a
push 0x98
push 0x60
push ebx
mov ecx, eax
call fcn.0046f790
jmp 0x4b5b98
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Adding_great_trees._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
xor esi, esi
nop
push 0x184
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x29
test eax, eax
je 0x4b5bfa
push 0
push 0
mov ecx, eax
call fcn.004a22d0
mov ecx, eax
jmp 0x4b5bfc
xor ecx, ecx
mov eax, dword [esi*8 + 0x60d250]
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.00513530
inc esi
cmp esi, 9
jl 0x4b5bd0
push 0x5cecf0
push str.serverdataunicornData.dat
call fcn.0056632e
add esp, 8
mov dword [ebp - 0xc34], eax
test eax, eax
je 0x4b5d05
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.00448270
push 0x2c4
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x4b5c9d
push 0
push 0
push edi
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ecx, eax
jmp 0x4b5c9f
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.00513530
mov eax, dword [ebp - 0xc34]
inc edi
add esi, 8
cmp edi, 6
jl 0x4b5c60
push eax
call fcn.00566040
add esp, 4
jmp 0x4b6248
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
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
sete bl
test eax, eax
jne 0x4b5d4f
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
lea edi, [edx + 1]
test bl, bl
mov ebx, dword [ebp - 0xc30]
jne 0x4b5d20
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4b5d87
push 0
push 0
push 0
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ebx, eax
jmp 0x4b5d89
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.00513530
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.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
mov edi, edx
nop
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
sete bl
test eax, eax
jne 0x4b5e33
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
lea edi, [edx + 1]
test bl, bl
jne 0x4b5e00
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x4b5e65
push 0
push 0
push 1
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ebx, eax
jmp 0x4b5e67
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.00513530
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.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
mov edi, edx
nop dword [eax]
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
sete bl
test eax, eax
jne 0x4b5f13
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
lea edi, [edx + 1]
test bl, bl
jne 0x4b5ee0
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2d
test eax, eax
je 0x4b5f45
push 0
push 0
push 2
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ebx, eax
jmp 0x4b5f47
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.00513530
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.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
mov edi, edx
nop dword [eax]
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
sete bl
test eax, eax
jne 0x4b5ff3
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
lea edi, [edx + 1]
test bl, bl
jne 0x4b5fc0
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x4b6025
push 0
push 0
push 3
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ebx, eax
jmp 0x4b6027
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.00513530
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.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
mov edi, edx
nop dword [eax]
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
sete bl
test eax, eax
jne 0x4b60d3
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
lea edi, [edx + 1]
test bl, bl
jne 0x4b60a0
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x4b6105
push 0
push 0
push 4
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ebx, eax
jmp 0x4b6107
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.00513530
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.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
mov edi, edx
nop dword [eax]
mov ecx, dword [ebp - 0xc30]
push edi
push esi
push edi
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
test eax, eax
sete bl
test eax, eax
jne 0x4b61b3
call fcn.00565cd7
cdq
mov edi, 0xfe
idiv edi
lea esi, [edx + 1]
call fcn.00565cd7
cdq
idiv edi
lea edi, [edx + 1]
test bl, bl
jne 0x4b6180
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x30
test eax, eax
je 0x4b61e5
push 0
push 0
push 5
push 0x1f
mov ecx, eax
call fcn.00496cf0
mov ebx, eax
jmp 0x4b61e7
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.00513530
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.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x13c
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x4b62a0
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Spirits
push 4
call fcn.005238c0
mov esi, eax
jmp 0x4b62a2
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.00523a70
mov dword [esi + 0x134], 0
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x32
test eax, eax
je 0x4b62f5
push 0
push 0
mov ecx, eax
call fcn.00494f50
jmp 0x4b62f7
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x33
test eax, eax
je 0x4b6333
push 0
push 0
push 1
push 0x10
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6335
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x34
test eax, eax
je 0x4b63ad
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00496cf0
jmp 0x4b63af
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x35
test eax, eax
je 0x4b6427
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6429
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x36
test eax, eax
je 0x4b64a1
push 0
push 0
push 1
push 0xb
mov ecx, eax
call fcn.00496cf0
jmp 0x4b64a3
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.00513530
lea eax, [ebp - 0x410]
push str.Adding_realm_of_the_dead._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x13c
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x37
test eax, eax
je 0x4b6541
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_the_Dead
push 4
call fcn.005238c0
mov esi, eax
jmp 0x4b6543
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.00523a70
mov dword [esi + 0x134], 1
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x38
test eax, eax
je 0x4b6596
push 0
push 0
mov ecx, eax
call fcn.00494f50
jmp 0x4b6598
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x39
test eax, eax
je 0x4b65d7
push 1
push 2
push 0x32
push 5
push 0x29
push esi
mov ecx, eax
call fcn.0046d900
jmp 0x4b65d9
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3a
test eax, eax
je 0x4b6618
push 2
push 0x20
push 0x15
push 0x23
push 0x20
push esi
mov ecx, eax
call fcn.0046d900
jmp 0x4b661a
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3b
test eax, eax
je 0x4b6659
push 3
push 0x36
push 0x18
push 0x36
push 0xe
push esi
mov ecx, eax
call fcn.0046d900
jmp 0x4b665b
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3c
test eax, eax
je 0x4b669a
push 4
push 0x19
push 0x2b
push 0x28
push 0x32
push esi
mov ecx, eax
call fcn.0046d900
jmp 0x4b669c
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x13c
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3d
test eax, eax
je 0x4b66dc
push dword [edi + 0x34]
mov ecx, eax
push str.Realm_of_Dragons
push 4
call fcn.005238c0
mov esi, eax
jmp 0x4b66de
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.00523a70
mov dword [esi + 0x134], 2
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x4b6731
push 0
push 0
mov ecx, eax
call fcn.00493ab0
jmp 0x4b6733
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x3f
test eax, eax
je 0x4b676b
push 7
push 0x15
mov ecx, eax
call fcn.00494230
jmp 0x4b676d
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x40
test eax, eax
je 0x4b67a5
push 0x3a
push 0xc
mov ecx, eax
call fcn.00494230
jmp 0x4b67a7
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x41
test eax, eax
je 0x4b67df
push 0x13
push 0x18
mov ecx, eax
call fcn.00494230
jmp 0x4b67e1
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x42
test eax, eax
je 0x4b6820
push 0x55
push 2
push 0x3c
push 9
push 0x3c
push esi
mov ecx, eax
call fcn.0046ea10
jmp 0x4b6822
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x43
test eax, eax
je 0x4b6861
push 0x56
push 0x3e
push 0x3e
push 0x35
push 0x3d
push esi
mov ecx, eax
call fcn.0046e1f0
jmp 0x4b6863
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x44
test eax, eax
je 0x4b68a2
push 0x57
push 0x36
push 0x29
push 0x36
push 0x29
push esi
mov ecx, eax
call fcn.0046e5d0
jmp 0x4b68a4
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x45
test eax, eax
je 0x4b68e3
push 0x55
push 0x2a
push 0x10
push 0x2a
push 5
push esi
mov ecx, eax
call fcn.0046efb0
jmp 0x4b68e5
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x804
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x46
test eax, eax
je 0x4b6924
push 0x56
push 0xb
push 0x24
push 3
push 0x24
push esi
mov ecx, eax
call fcn.0046efb0
jmp 0x4b6926
xor eax, eax
mov ecx, dword [esi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x47
test eax, eax
je 0x4b6962
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6964
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x48
test eax, eax
je 0x4b69e6
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00496cf0
jmp 0x4b69e8
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x49
test eax, eax
je 0x4b6a6a
push 0
push 0
push 0
push 0x13
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6a6c
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4a
test eax, eax
je 0x4b6aee
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6af0
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4b
test eax, eax
je 0x4b6b72
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6b74
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4c
test eax, eax
je 0x4b6bf6
push 0
push 0
push 0
push 9
mov ecx, eax
call fcn.00496cf0
jmp 0x4b6bf8
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x4d
test eax, eax
je 0x4b6c7c
push 0
push 0
push 2
push 2
mov ecx, eax
call fcn.00496cf0
mov esi, eax
jmp 0x4b6c7e
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.00513530
lea eax, [esi + 0x184]
push str.Trickster_Minotaur
push eax
call fcn.004b3950
push 0x5cecf0
push str.serverdata_tricksterMino.dat
mov dword [ebp - 0xc48], 1
call fcn.0056632e
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b6d18
lea eax, [ebp - 0xc48]
push eax
push 0x5cecfc
push edi
call fcn.00448270
push edi
call fcn.00566040
add esp, 0x10
mov eax, dword [ebp - 0xc48]
cmp eax, 1
jge 0x4b6d2f
mov dword [ebp - 0xc48], 1
jmp 0x4b6d3f
mov ecx, 0xbb8
cmp eax, ecx
cmovg eax, ecx
mov dword [ebp - 0xc48], eax
mov dword [esi + 0x1a4], 0xff0000ff
movd xmm0, dword [ebp - 0xc48]
cvtdq2ps xmm0, xmm0
push str.Loading_Guilds._n
movss xmm2, dword [0x5cf058]
divss xmm0, dword [0x5d33a8]
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
lea eax, [ebp - 0x410]
movd xmm0, dword [ebp - 0xc48]
cvtdq2ps xmm0, xmm0
push eax
mov dword [esi + 0x238], 0x3e8
divss xmm1, xmm0
subss xmm2, xmm1
movss dword [esi + 0x1f4], xmm2
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x5cecf0
push str.serverdataguilds.dat
call fcn.0056632e
mov esi, eax
add esp, 0x18
mov dword [ebp - 0xc34], esi
test esi, esi
je 0x4b74c5
push 0x19
call fcn.00565cf8
lea eax, [ebp - 0xc38]
push eax
push 0x5d1860
push esi
call fcn.00448270
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d710
add esp, 0x1c
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b6e81
test dl, dl
je 0x4b6e7d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b6e81
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b6e61
xor eax, eax
jmp 0x4b6e86
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b74ad
nop
push 0x41c
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x4e
test eax, eax
je 0x4b6ec6
push dword [edi + 0x34]
mov ecx, eax
push str.Test_Tower
push 3
call fcn.0052ddb0
mov ebx, eax
jmp 0x4b6ec8
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.0052e490
mov ecx, dword [ebx + 0x144]
call fcn.0044e370
cmp eax, 2
jge 0x4b6eff
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x4b7462
mov ecx, dword [edi + 0x48]
push ebx
call fcn.0044e180
cmp dword [ebx + 0x12c], 0xffffffff
je 0x4b7462
cmp dword [ebx + 0x130], 0xffffffff
je 0x4b7462
mov edi, dword [ebp - 0xc30]
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 0x4b6f69
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 0x4b6f6e
mov esi, 1
mov edi, dword [ebx + 0x12c]
cmp edi, 2
jl 0x4b6f81
cmp edi, 0xfe
jl 0x4b6f86
mov esi, 1
mov eax, dword [ebx + 0x130]
cmp eax, 2
jl 0x4b6f98
cmp eax, 0xfe
jl 0x4b6f9d
mov esi, 1
mov ecx, 0x60c2d4
mov eax, edi
sub eax, dword [ecx - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b6fc9
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, 0x60ca54
jl 0x4b6fa2
mov ecx, dword [ebx + 0x130]
mov eax, 0xe6
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7002
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 0x4b702a
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 0x4b7052
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 0x4b707a
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 0x4b70a2
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 0x4b70ca
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 0x4b70f2
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 0x4b711a
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 0x4b7142
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 0x4b716a
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 0x4b71a9
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 0x4b71d1
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 0x4b71f9
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.00513550
mov edi, eax
test edi, edi
je 0x4b729f
nop dword [eax]
mov ecx, edi
call fcn.0044ccc0
cmp eax, 1
je 0x4b725c
mov ecx, edi
call fcn.0044ccc0
cmp eax, 7
je 0x4b725c
mov ecx, edi
call fcn.0044ccc0
cmp eax, 5
je 0x4b725c
mov ecx, edi
call fcn.0044ccc0
cmp eax, 0xe
je 0x4b725c
mov ecx, edi
call fcn.0044ccc0
cmp eax, 0x12
jne 0x4b7288
mov eax, dword [ebx + 0x12c]
sub eax, dword [edi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4b7288
mov eax, dword [ebx + 0x130]
sub eax, dword [edi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x4b72a7
mov eax, dword [ebp - 0xc30]
mov ecx, dword [eax + 0x118]
call fcn.005135f0
mov edi, eax
test edi, edi
jne 0x4b7220
test esi, esi
je 0x4b735f
mov edi, dword [ebp - 0xc30]
mov esi, 3
call fcn.00565cd7
cdq
idiv esi
dec edx
add dword [ebx + 0x12c], edx
call fcn.00565cd7
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 0x4b72f0
add ecx, esi
cmp ecx, 2
jl 0x4b72e3
mov dword [ebx + 0x12c], ecx
cmp eax, 2
jge 0x4b7303
add eax, 3
cmp eax, 2
jl 0x4b72f5
mov dword [ebx + 0x130], eax
mov eax, dword [ebx + 0x12c]
cmp eax, 0xfe
jl 0x4b7320
add eax, 0xfffffffd
cmp eax, 0xfe
jge 0x4b7310
mov dword [ebx + 0x12c], eax
mov ecx, dword [ebx + 0x130]
cmp ecx, 0xfe
jl 0x4b7341
nop
add ecx, 0xfffffffd
cmp ecx, 0xfe
jge 0x4b7330
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 0x4b72b2
jmp 0x4b6f30
push 0x190
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc6c], eax
mov byte [ebp - 4], 0x4f
test eax, eax
je 0x4b7391
push dword [ebx + 0x130]
mov ecx, eax
push dword [ebx + 0x12c]
call fcn.004a2230
mov esi, eax
jmp 0x4b7393
xor esi, esi
mov eax, dword [ebp - 0xc30]
push esi
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.00513530
push 0x194
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], 1
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc68], eax
mov byte [ebp - 4], 0x50
test eax, eax
je 0x4b73e1
push 2
push 2
mov ecx, eax
call fcn.004939a0
jmp 0x4b73e3
xor eax, eax
mov ecx, dword [ebx + 0x118]
push eax
mov byte [ebp - 4], 0
call fcn.00513530
push 0x194
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc64], eax
mov byte [ebp - 4], 0x51
test eax, eax
je 0x4b741d
push 4
push 4
mov ecx, eax
call fcn.004a2360
mov ecx, eax
jmp 0x4b741f
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.00513530
mov esi, dword [ebp - 0xc34]
push 0
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0044d710
add esp, 0xc
lea eax, [ebp - 0x410]
mov ecx, str.TOWER
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b74a0
test dl, dl
je 0x4b749c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b74a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b7480
xor eax, eax
jmp 0x4b74a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b6e90
push esi
call fcn.00566040
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00565cf8
add esp, 4
lea eax, [ebp - 0x410]
push str.Loading_Lab1._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x140
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov edi, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x52
test eax, eax
je 0x4b751d
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth
push 2
call fcn.0050e410
mov ebx, eax
jmp 0x4b751f
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.0050e5e0
mov dword [ebx + 0x134], 3
mov ecx, dword [edi + 0x48]
push ebx
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Loading_Lab2._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x140
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x53
test eax, eax
je 0x4b75a2
push dword [edi + 0x34]
mov ecx, eax
push str.Deep_Labyrinth
push 2
call fcn.0050e410
mov esi, eax
mov dword [ebp - 0xc34], eax
jmp 0x4b75aa
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.0050e5e0
mov dword [esi + 0x134], 4
mov ecx, dword [edi + 0x48]
push esi
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Loading_Lab3._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x140
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x54
test eax, eax
je 0x4b7627
push dword [edi + 0x34]
mov ecx, eax
push str.Labyrinth_Basement
push 2
call fcn.0050e410
mov edi, eax
jmp 0x4b7629
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.0050e5e0
mov eax, dword [ebp - 0xc2c]
mov dword [edi + 0x134], 5
push edi
mov ecx, dword [eax + 0x48]
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x55
test eax, eax
je 0x4b7682
push 0
push 0
mov ecx, eax
call fcn.00494f50
jmp 0x4b7684
xor eax, eax
mov ecx, dword [ebx + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Adding_the_Three_Spiders._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x2c4
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x56
test eax, eax
je 0x4b76e4
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00496cf0
mov esi, eax
jmp 0x4b76e6
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Larath
push eax
call fcn.004b3950
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x57
test eax, eax
je 0x4b77de
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00496cf0
mov esi, eax
jmp 0x4b77e0
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Moultz
push eax
call fcn.004b3950
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x58
test eax, eax
je 0x4b78d8
push 0
push 0
push 4
push 0x18
mov ecx, eax
call fcn.00496cf0
mov esi, eax
jmp 0x4b78da
xor esi, esi
lea eax, [esi + 0x184]
mov byte [ebp - 4], 0
push str.Reorth
push eax
call fcn.004b3950
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.00513530
lea eax, [ebp - 0x410]
push str.Adding_warp_points._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
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.004b8ac0
mov ecx, dword [ebp - 0xc2c]
push 1
push 1
push 1
push esi
push 0x1c
push 0x1c
push ebx
call fcn.004b8ac0
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.004b8ac0
mov ecx, dword [ebp - 0xc2c]
push 1
push 4
push 0x33
push ebx
push 0x56
push 0x8d
push esi
call fcn.004b8ac0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x3b
push 0x33
push ebx
push 0x1a
push 0xb7
push esi
call fcn.004b8ac0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x37
push 4
push ebx
push 0xed
push 0x20
push esi
call fcn.004b8ac0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x1f
push 0x16
push ebx
push 0xde
push 0xd7
push esi
call fcn.004b8ac0
mov ecx, dword [ebp - 0xc2c]
push 1
push 0x20
push 0x2e
push ebx
push 0x96
push 0x7b
push esi
call fcn.004b8ac0
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x59
test eax, eax
je 0x4b7ac7
push 0
push 0
mov ecx, eax
call fcn.00494f50
jmp 0x4b7ac9
xor eax, eax
mov ebx, dword [ebp - 0xc34]
push eax
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x114]
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Adding_lab2_bosses._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x2c4
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5a
test eax, eax
je 0x4b7b2d
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7b2f
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5b
test eax, eax
je 0x4b7bb3
push 0
push 0
push 0
push 0x1b
mov ecx, eax
call fcn.00496cf0
mov esi, eax
jmp 0x4b7bb5
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.004b3950
mov ecx, dword [ebx + 0x118]
add esp, 8
push esi
call fcn.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5c
test eax, eax
je 0x4b7c4b
push 0
push 0
push 1
push 0x1b
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7c4d
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.00513530
lea eax, [ebp - 0x410]
push str.Populating_Lab3._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x774
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5d
test eax, eax
je 0x4b7ced
push 0
push 0
mov ecx, eax
call fcn.00494f50
jmp 0x4b7cef
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
push 0x774
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5e
test eax, eax
je 0x4b7d27
push 0
push 0
mov ecx, eax
call fcn.00494f50
jmp 0x4b7d29
xor eax, eax
mov ecx, dword [edi + 0x114]
push eax
mov byte [ebp - 4], 0
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.Adding_lab3_bosses._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x2c4
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x5f
test eax, eax
je 0x4b7d87
push 0
push 0
push 2
push 0x1b
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7d89
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x60
test eax, eax
je 0x4b7e0b
push 0
push 0
push 3
push 0x1b
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7e0d
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x61
test eax, eax
je 0x4b7e8f
push 0
push 0
push 4
push 0x1b
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7e91
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x62
test eax, eax
je 0x4b7f13
push 0
push 0
push 2
push 0x1e
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7f15
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x63
test eax, eax
je 0x4b7f97
push 0
push 0
push 3
push 0x1e
mov ecx, eax
call fcn.00496cf0
jmp 0x4b7f99
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x64
test eax, eax
je 0x4b801b
push 0
push 0
push 4
push 0x1e
mov ecx, eax
call fcn.00496cf0
jmp 0x4b801d
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.00513530
push 0x2c4
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x65
test eax, eax
je 0x4b809f
push 0
push 0
push 5
push 0x1e
mov ecx, eax
call fcn.00496cf0
jmp 0x4b80a1
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.00513530
lea eax, [ebp - 0x410]
push str.Loading_testrealm._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x13c
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov ebx, dword [ebp - 0xc2c]
mov byte [ebp - 4], 0x66
test eax, eax
je 0x4b814f
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Realm
push 4
call fcn.005238c0
mov esi, eax
jmp 0x4b8151
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.00523a70
mov dword [esi + 0x134], 6
mov ecx, dword [ebx + 0x48]
push esi
call fcn.0044e180
lea eax, [ebp - 0x410]
push str.TOken_init._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
mov ecx, 0x62b580
call fcn.0052cba0
lea eax, [ebp - 0x410]
push str.Loading_saved_tokens_if_present._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
add esp, 0x10
mov ecx, 0x62b580
call fcn.0052cc90
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.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x14
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x67
test eax, eax
je 0x4b8265
mov ecx, eax
call fcn.0050df50
jmp 0x4b8267
xor eax, eax
push 0x14
mov byte [ebp - 4], 0
mov dword [0x62aae0], eax
call fcn.00556676
add esp, 4
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x68
test eax, eax
je 0x4b8291
mov ecx, eax
call fcn.00530120
jmp 0x4b8293
xor eax, eax
mov dword [0x62aae4], eax
lea eax, [ebp - 0x410]
push str.Loading_quests._n
push eax
mov byte [ebp - 4], 0
mov dword [ebx + 0xc4], 0
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x14
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x69
test eax, eax
je 0x4b82e9
mov ecx, eax
call fcn.005202a0
jmp 0x4b82eb
xor eax, eax
mov ecx, eax
mov byte [ebp - 4], 0
mov dword [0x62b560], eax
call fcn.005216b0
lea eax, [ebp - 0x410]
push str.Loading_alternate_main._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
push 0x10128
call fcn.00556676
add esp, 0x14
mov dword [ebp - 0xc28], eax
mov byte [ebp - 4], 0x6a
test eax, eax
je 0x4b834d
push dword [ebx + 0x34]
mov ecx, eax
push str.Test_Large_Realm
push 0
call fcn.004f6950
mov esi, eax
jmp 0x4b834f
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.0044e180
lea eax, [ebp - 0x410]
push str.Done_loading._n
push eax
call fcn.00472410
lea eax, [ebp - 0x410]
push eax
push str.gamelog.txt
call fcn.004a26d0
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.005566b4
mov esp, ebp
pop ebp
ret 4