Function at 0x4bd670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x72c787
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x7cb478
mov dword [esp + 0x10], ebp
call fcn.004d51b0
mov esi, eax
mov ecx, 0x7cb478
mov dword [esp + 0x20], esi
call fcn.004d51e0
mov edi, dword [esp + 0x200]
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x14], ebx
call fcn.004b6750
cmp eax, 0x4d4c5053
mov dword [esp + 0x1c], eax
jg 0x4bf254
je 0x4bf23c
cmp eax, 0x454d4147
jg 0x4be2c5
je 0x4be024
cmp eax, 0x43455243
jg 0x4bd9b6
je 0x4bd986
cmp eax, 0x41505041
jg 0x4bd7b4
je 0x4bd784
cmp eax, 0x33534554
je 0x4c0d2a
cmp eax, 0x41455243
je 0x4bd754
cmp eax, 0x41504552
jne 0x4c0a9b
push 0xb8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x2a
je 0x4c0b48
mov ecx, eax
call fcn.004a6de0
jmp 0x4c0b4a
push 0xe8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x1a
je 0x4c0b48
mov ecx, eax
call fcn.0049c0c0
jmp 0x4c0b4a
push 0xb8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x1c
je 0x4c0b48
mov ecx, eax
call fcn.0049fe70
jmp 0x4c0b4a
cmp eax, 0x424f4c47
je 0x4bd82a
cmp eax, 0x424f5250
je 0x4bd7fa
cmp eax, 0x4343504e
jne 0x4c0a9b
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x2d
je 0x4c0b48
mov ecx, eax
call fcn.004d82b0
jmp 0x4c0b4a
push 0xb8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x29
je 0x4c0b48
mov ecx, eax
call fcn.004a68f0
jmp 0x4c0b4a
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x11
je 0x4bd852
mov ecx, eax
call fcn.004ad980
mov esi, eax
jmp 0x4bd854
xor esi, esi
mov bl, byte [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bd883
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bd885
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bd8a0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4bd8be
mov ecx, dword [ebp + 0x38]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x38]
mov ebx, eax
call fcn.0047e710
test eax, eax
je 0x4bd8fe
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov edi, dword [eax + 8]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4bd915
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
call fcn.0047e720
test eax, eax
jne 0x4bd8d9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4bd8fe
push esi
mov ecx, edi
call fcn.004adb80
mov ecx, dword [esi + 8]
shr ecx, 5
and ecx, 0xffffff01
push ecx
mov ecx, edi
call fcn.004eec70
mov eax, dword [esi + 8]
mov edx, dword [edi]
shr eax, 1
and eax, 0xffffff01
push eax
mov ecx, edi
call dword [edx + 0x14]
test byte [esi + 8], 1
je 0x4bd956
push 1
mov ecx, edi
call fcn.004eec00
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4bd970
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4bd90b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, 1
jmp 0x4c0e63
push 0x8c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x2e
je 0x4c0b48
mov ecx, eax
call fcn.0049d410
jmp 0x4c0b4a
cmp eax, 0x444e414c
jg 0x4bdc0b
je 0x4bda67
cmp eax, 0x4353494d
je 0x4bda3a
cmp eax, 0x43544e43
je 0x4bda0d
cmp eax, 0x4356454c
jne 0x4c0a9b
push 0x44
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x26
je 0x4c0b48
mov ecx, eax
call fcn.004cf1a0
jmp 0x4c0b4a
push 0x70
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x2f
je 0x4c0b48
mov ecx, eax
call fcn.004a4410
jmp 0x4c0b4a
push 0x60
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x28
je 0x4c0b48
mov ecx, eax
call fcn.004a6320
jmp 0x4c0b4a
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov bl, 1
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x56544e49
jne 0x4bda91
push 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.004b6880
xor bl, bl
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4bdaa0
test bl, bl
jne 0x4bda73
mov ecx, dword [0x7ca988]
cmp ecx, esi
je 0x4bdad1
call fcn.004db9d0
cmp eax, dword [esp + 0x20]
jne 0x4bdad1
mov ecx, dword [0x7ca988]
call fcn.004db9f0
cmp eax, dword [esp + 0x24]
jne 0x4bdad1
mov eax, dword [0x7ca988]
cmp eax, esi
mov ebp, eax
jne 0x4bdb50
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xb264]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4bdc01
mov edi, dword [esi]
mov ecx, edi
call fcn.004e22f0
test al, al
jne 0x4bdb15
mov ecx, edi
call fcn.004db9d0
cmp eax, ebp
jne 0x4bdb15
mov ecx, edi
call fcn.004db9f0
cmp eax, ebx
je 0x4bdb35
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4bdaf2
mov eax, 1
jmp 0x4c0e63
test esi, esi
je 0x4bdc01
mov esi, dword [esi]
test esi, esi
je 0x4bdc01
mov edi, dword [esp + 0x200]
mov ebp, esi
push 0x240
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 3
je 0x4bdb7b
mov ecx, eax
call fcn.004c9ff0
mov esi, eax
jmp 0x4bdb7d
xor esi, esi
test esi, esi
mov dword [esp + 0x1f8], 0xffffffff
je 0x4bdc01
mov ecx, dword [esp + 0x20]
mov bl, byte [esi + 8]
mov eax, dword [esi]
mov dword [esi + 0x230], ecx
mov edx, dword [esp + 0x24]
push edi
mov ecx, esi
mov dword [esi + 0x234], edx
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bdbc4
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bdbc6
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bdbe1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
test byte [esi + 0x14], 7
jne 0x4bdbf9
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, 1
jmp 0x4c0e63
push esi
mov ecx, ebp
call fcn.004e2820
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x44524750
je 0x4bdd68
cmp eax, 0x45434152
jne 0x4c0a9b
push 0x1d8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 6
je 0x4bdc4c
mov ecx, eax
call fcn.004a7530
mov esi, eax
jmp 0x4bdc4e
xor esi, esi
mov bl, byte [esi + 8]
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bdc7d
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bdc7f
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bdc9a
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4bdcb8
mov ecx, dword [ebp + 0x1c]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov ecx, dword [ebp + 0x1c]
call fcn.0047e710
test eax, eax
je 0x4bdcee
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea ebx, [esi + 0x10]
mov edi, dword [eax + 8]
lea ecx, [edi + 0x10]
push ebx
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4bdd05
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x1c]
call fcn.0047e720
test eax, eax
jne 0x4bdccd
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x1c]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4bdcee
push esi
mov ecx, edi
call fcn.004a7d40
mov eax, dword [esi + 8]
shr eax, 5
test al, 1
je 0x4bdd24
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4bdd3f
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4bdd52
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4bdcfb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, 1
jmp 0x4c0e63
xor eax, eax
mov dword [esp + 0x28], eax
mov byte [ebx], 0
mov edx, dword [edi + 0x248]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x41544144
je 0x4bdd9e
cmp eax, 0x454d414e
je 0x4bde26
jmp 0x4bde16
cmp dword [edi + 0x240], 0x2c
jne 0x4bde08
push 0x2c
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x208]
call fcn.004b6880
mov cx, word [esp + 0x5e]
mov eax, dword [esp + 0x38]
mov word [esp + 0x32], cx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
xor eax, eax
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x28], edx
mov dx, word [esp + 0x5c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x200]
mov word [esp + 0x30], dx
jmp 0x4bde16
push 0xc
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004b6880
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4bde58
jmp 0x4bdd83
mov ecx, dword [esp + 0x200]
push 0x200
push ebx
call fcn.004b6880
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4bde58
push str.Invalid_PathGrid_data.
call fcn.00477400
add esp, 4
jmp 0x4c0e61
mov ecx, dword [0x7ca988]
test ecx, ecx
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
je 0x4bdec7
call fcn.004e22f0
test al, al
jne 0x4bde93
mov ecx, dword [0x7ca988]
call fcn.004db9d0
cmp eax, dword [esp + 0x28]
jne 0x4bde93
mov ecx, dword [0x7ca988]
call fcn.004db9f0
cmp eax, dword [esp + 0x2c]
je 0x4bdeb9
mov ecx, dword [0x7ca988]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4bdec7
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4bdec7
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4bdec7
mov edi, dword [0x7ca988]
test edi, edi
jne 0x4bdfa4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb264]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4bdf1b
mov edi, dword [esi]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4bdf08
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4bdedc
jmp 0x4bdf1b
test edi, edi
je 0x4bdf1b
mov ecx, edi
call fcn.004e22f0
test al, al
jne 0x4bdfa0
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xb264]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4bdf73
mov edi, dword [esi]
mov ecx, edi
call fcn.004e22f0
test al, al
jne 0x4bdf61
mov ecx, edi
call fcn.004db9d0
cmp eax, dword [esp + 0x20]
jne 0x4bdf61
mov ecx, edi
call fcn.004db9f0
cmp eax, ebp
je 0x4bdf94
mov ecx, dword [ebx + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4bdf3c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push str.Could_not_locate_cell__s____i___i___for_PathGrid_load.
call fcn.00477400
add esp, 0x10
jmp 0x4c0e61
test esi, esi
je 0x4bdf73
mov esi, dword [esi]
test esi, esi
je 0x4bdf73
mov edi, esi
test edi, edi
je 0x4bdf73
push 0x3c
mov dword [0x7c952c], 0x7a6bf0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 5
je 0x4bdfd6
mov ecx, eax
call fcn.004f3b50
mov esi, eax
jmp 0x4bdfd8
xor esi, esi
test esi, esi
mov dword [esp + 0x1f8], 0xffffffff
je 0x4be01a
mov edx, dword [esp + 0x200]
push edx
mov ecx, esi
mov dword [esi + 0x18], edi
call fcn.004eee50
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x34], eax
mov cx, word [esp + 0x32]
mov word [esi + 0x1e], cx
mov dx, word [esp + 0x30]
push esi
mov ecx, edi
mov word [esi + 0x1c], dx
call fcn.004e2860
mov eax, 1
jmp 0x4c0e63
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x54444d47
jne 0x4be2ac
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x200]
push 0x60
lea eax, [esp + 0x6c]
push eax
call fcn.004b6880
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0xb264]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4be09b
mov edi, dword [esi]
mov edx, dword [edi]
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4be09d
mov ecx, dword [ebx + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4be071
xor edi, edi
mov eax, dword [0x7c67dc]
mov dword [eax + 0x32c], edi
mov ecx, dword [0x7c67dc]
mov ecx, dword [ecx + 0x32c]
test ecx, ecx
je 0x4be149
call fcn.004e22f0
test al, al
jne 0x4be149
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xb264]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4be131
mov edi, dword [esi]
mov ecx, edi
call fcn.004e22f0
test al, al
jne 0x4be10f
mov ecx, edi
call fcn.004db9d0
cmp eax, ebp
jne 0x4be10f
mov ecx, edi
call fcn.004db9f0
cmp eax, ebx
je 0x4be127
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4be0ec
jmp 0x4be131
test esi, esi
je 0x4be131
mov esi, dword [esi]
test esi, esi
jne 0x4be133
xor esi, esi
mov ecx, dword [0x7c67dc]
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov ebx, dword [esp + 0x10]
mov dword [ecx + 0x32c], esi
mov eax, dword [esp + 0xb0]
or esi, 0xffffffff
cmp eax, esi
je 0x4be16b
mov edx, dword [0x7c67dc]
mov ecx, dword [edx + 0x58]
push 0x3f800000
push eax
call fcn.00441c40
mov eax, dword [esp + 0xb4]
cmp eax, esi
je 0x4be1a8
movsx ecx, byte [esp + 0xb8]
mov edx, dword [0x7c67dc]
mov dword [esp + 0x14], ecx
push ecx
fild dword [esp + 0x18]
mov ecx, dword [edx + 0x58]
fmul dword [0x746608]
fstp dword [esp]
push eax
call fcn.00441c40
cmp dword [esp + 0xb4], esi
jne 0x4be1b1
cmp dword [esp + 0xb0], esi
je 0x4be1d4
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x32c]
test ecx, ecx
je 0x4be1d4
call fcn.004e28d0
mov ecx, dword [0x7c67dc]
mov edx, dword [ecx + 0x58]
mov dword [edx + 0x1d0], eax
mov eax, dword [0x7c67dc]
fld dword [esp + 0xbc]
mov ecx, dword [eax + 0x58]
fstp dword [ecx + 0x174]
mov edx, dword [0x7c67dc]
mov ecx, dword [esp + 0xc0]
mov eax, dword [edx + 0x58]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x38]
call fcn.0047e710
test eax, eax
je 0x4be22d
mov esi, dword [eax + 8]
mov edx, dword [esi]
push str.GameHour
mov ecx, esi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4be22f
mov ecx, dword [ebx + 0x38]
call fcn.0047e720
test eax, eax
jne 0x4be208
xor esi, esi
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x4be262
test esi, esi
je 0x4be262
fld dword [esi + 0x34]
fsub dword [esp + 0xbc]
fld dword [ecx + 0x16c]
fcompp
fnstsw ax
test ah, 1
je 0x4be262
mov dword [ecx + 0xc], 1
mov ecx, dword [0x7c67dc]
mov edx, dword [ecx + 0x58]
mov byte [edx + 0x10], 1
mov al, byte [esp + 0xc4]
test al, al
je 0x4be290
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x58]
call fcn.006b6e00
mov ecx, eax
call fcn.00445760
jmp 0x4be2a5
mov ecx, dword [0x7c67dc]
mov ecx, dword [ecx + 0x58]
call fcn.006b6e00
mov ecx, eax
call fcn.00445770
mov edi, dword [esp + 0x200]
mov ecx, edi
call fcn.004b67f0
test al, al
jne 0x4be02a
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x4a4f5250
jg 0x4be7e3
je 0x4be7c7
cmp eax, 0x48434e45
jg 0x4be727
je 0x4be6f7
cmp eax, 0x4645474d
je 0x4be4cc
cmp eax, 0x47444e53
je 0x4be334
cmp eax, 0x48434c41
jne 0x4c0a9b
push 0x120
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x18
je 0x4c0b48
mov ecx, eax
call fcn.004aba40
jmp 0x4c0b4a
push 0x3c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x10
je 0x4be35c
mov ecx, eax
call fcn.00511450
mov esi, eax
jmp 0x4be35e
xor esi, esi
mov bl, byte [esi + 8]
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4be38d
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4be38f
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4be3aa
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x4be3c2
lea ecx, [esi + 0x10]
push ecx
push str.SoundGen__s_has_no_TES3Sound_
call fcn.00477400
add esp, 8
mov al, byte [esp + 0x204]
test al, al
jne 0x4be4b1
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0xb388]
push str.GetSoundGen
call fcn.00693f00
mov ecx, dword [edi + 0x34]
call fcn.0047e710
test eax, eax
je 0x4be41f
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea ebx, [esi + 0x10]
mov edi, dword [eax + 8]
lea edx, [edi + 0x10]
push ebx
push edx
call ebp
add esp, 8
test eax, eax
je 0x4be42f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
call fcn.0047e720
test eax, eax
jne 0x4be3fa
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0xb388]
call fcn.00693f10
jmp 0x4be4b1
mov ecx, dword [esp + 0x10]
add ecx, 0xb388
call fcn.00693f10
test edi, edi
je 0x4be4b1
push esi
mov ecx, edi
call fcn.005114b0
test byte [esi + 8], 1
je 0x4be459
push 1
mov ecx, edi
call fcn.004eec00
mov edx, dword [esi + 8]
shr edx, 5
test dl, 1
je 0x4be46d
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4be488
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4be49b
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4be4c2
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, 1
jmp 0x4c0e63
test esi, esi
je 0x4be4c2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x58444e49
jne 0x4be6ed
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004b6880
cmp dword [esp + 0x1c], 0x8f
jge 0x4be6ed
mov ecx, edi
call fcn.004b6190
test al, al
jne 0x4be643
lea ecx, [esp + 0xe0]
call fcn.004a8c90
mov bl, byte [esp + 0xe8]
mov edx, dword [esp + 0xe0]
push edi
lea ecx, [esp + 0xe4]
mov dword [esp + 0x1fc], 0x16
and bl, 1
call dword [edx + 4]
push edi
lea ecx, [esp + 0xe4]
call fcn.004eee50
test bl, bl
jne 0x4be557
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4be559
push 1
lea ecx, [esp + 0xe4]
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4be583
mov eax, dword [esp + 0xe0]
push 1
lea ecx, [esp + 0xe4]
call dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, eax
shl edx, 4
add edx, eax
lea ecx, [esp + 0xe0]
shl edx, 4
push ecx
lea ecx, [edx + ebp + 0x5c8]
call fcn.004a9990
mov ecx, edi
call fcn.004b6200
test al, al
jne 0x4be5cb
mov eax, dword [esp + 0x1c]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 4
push edi
lea ecx, [ecx + ebp + 0x5c8]
call fcn.004eee50
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xe8]
mov ecx, eax
shl ecx, 4
add ecx, eax
shr edx, 5
and edx, 0xffffff01
shl ecx, 4
push edx
lea ecx, [ecx + ebp + 0x5c8]
call fcn.004eec70
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4be622
mov eax, dword [esp + 0x1c]
mov edx, eax
shl edx, 4
add edx, eax
shl edx, 4
mov eax, dword [edx + ebp + 0x5c8]
lea ecx, [edx + ebp + 0x5c8]
push 1
call dword [eax + 0x14]
lea ecx, [esp + 0xe0]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.004a8e70
mov eax, 1
jmp 0x4c0e63
mov eax, dword [esp + 0x1c]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 4
lea ecx, [ecx + ebp + 0x5c8]
call fcn.004a8d20
mov eax, dword [esp + 0x1c]
mov edx, eax
shl edx, 4
add edx, eax
shl edx, 4
push 0
lea ecx, [edx + ebp + 0x5c8]
call fcn.004eec70
mov eax, dword [esp + 0x1c]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 4
mov bl, byte [ecx + ebp + 0x5d0]
mov edx, dword [ecx + ebp + 0x5c8]
lea esi, [ecx + ebp + 0x5c8]
push edi
mov ecx, esi
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4be6bb
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4be6bd
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4be6d8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, eax
shl ecx, 4
add ecx, eax
shl ecx, 4
mov dword [ecx + ebp + 0x5d8], eax
mov eax, 1
jmp 0x4c0e63
push 0xf8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x17
je 0x4c0b48
mov ecx, eax
call fcn.004aada0
jmp 0x4c0b4a
cmp eax, 0x4847494c
je 0x4be79a
cmp eax, 0x49544341
je 0x4be76d
cmp eax, 0x4956454c
jne 0x4c0a9b
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x27
je 0x4c0b48
mov ecx, eax
call fcn.004d0500
jmp 0x4c0b4a
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x1b
je 0x4c0b48
mov ecx, eax
call fcn.0049f990
jmp 0x4c0b4a
push 0x74
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x24
je 0x4c0b48
mov ecx, eax
call fcn.004d1ba0
jmp 0x4c0b4a
mov edx, dword [0x7c67dc]
mov eax, dword [edx + 0x5c]
mov ecx, dword [eax + 0x28]
push edi
call fcn.005755e0
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x4c455053
jg 0x4bebfc
je 0x4bea90
cmp eax, 0x4b434f4c
je 0x4bea60
cmp eax, 0x4b4f4f42
je 0x4bea33
cmp eax, 0x4c414944
jne 0x4c0a9b
mov al, byte [ebp + 0xb375]
test al, al
je 0x4be8a8
xor bl, bl
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x454d414e
jne 0x4be843
mov ecx, dword [esp + 0x20]
push 0
push ecx
mov ecx, edi
call fcn.004b6880
mov bl, 1
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4be852
test bl, bl
je 0x4be825
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp + 0xb26c]
push ebx
call fcn.00481eb0
mov esi, eax
test esi, esi
jne 0x4be880
push ebx
push str.Could_not_locate_dialogue__s.
mov dword [0x7ca984], eax
call fcn.00477400
add esp, 8
jmp 0x4c0e61
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
mov ecx, esi
call fcn.004b2660
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov dword [0x7ca984], esi
mov eax, 1
jmp 0x4c0e63
push 0x30
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x12
je 0x4be8d2
push 0
mov ecx, eax
call fcn.004b2230
mov esi, eax
jmp 0x4be8d4
xor esi, esi
mov dword [0x7ca984], esi
mov bl, byte [esi + 8]
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4be909
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4be90b
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4be926
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov dl, byte [esp + 0x204]
test dl, dl
mov ecx, dword [0x7ca984]
movsx eax, byte [ecx + 0x14]
je 0x4be96c
test eax, eax
je 0x4be944
cmp eax, 4
jne 0x4be96c
test ecx, ecx
mov esi, ecx
je 0x4bea29
call fcn.004b3120
mov ecx, dword [ebp + 0xb26c]
push eax
call fcn.00481eb0
test eax, eax
jne 0x4bea29
jmp 0x4bea0c
call fcn.004b3120
mov ecx, dword [ebp + 0xb26c]
push eax
call fcn.00481eb0
mov ecx, dword [0x7ca984]
mov esi, eax
test esi, esi
je 0x4be9f1
push ecx
mov ecx, esi
call fcn.004b2790
mov edx, dword [0x7ca984]
test byte [edx + 8], 1
je 0x4be9a6
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b6200
test al, al
jne 0x4be9b9
push edi
mov ecx, esi
call fcn.004eee50
mov ecx, dword [0x7ca984]
test ecx, ecx
je 0x4be9c9
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, edi
mov dword [0x7ca984], esi
call fcn.004b62b0
test al, al
je 0x4bea29
mov ecx, dword [0x7ca984]
mov edx, dword [ecx]
push 1
call dword [edx + 0x14]
mov eax, 1
jmp 0x4c0e63
test ecx, ecx
mov esi, ecx
je 0x4bea29
call fcn.004b3120
mov ecx, dword [ebp + 0xb26c]
push eax
call fcn.00481eb0
test eax, eax
jne 0x4bea29
push esi
mov ecx, esi
call fcn.004b3120
mov ecx, dword [ebp + 0xb26c]
push eax
call fcn.00481d80
mov ecx, dword [ebp + 0x3c]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
push 0x70
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x1f
je 0x4c0b48
mov ecx, eax
call fcn.004a1e90
jmp 0x4c0b4a
push 0xb8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x25
je 0x4c0b48
mov ecx, eax
call fcn.004a5de0
jmp 0x4c0b4a
push 0xf8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0xb
je 0x4beabb
mov ecx, eax
call fcn.004a9fd0
mov esi, eax
jmp 0x4beabd
xor esi, esi
mov bl, byte [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4beaec
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4beaee
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4beb09
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4beb35
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x10]
push esi
call fcn.004f1a40
mov eax, dword [esi]
push esi
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [edi + 0xb268]
push eax
jmp 0x4bebc6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0xb268]
push eax
call fcn.00481eb0
mov edi, eax
test edi, edi
je 0x4bebae
mov eax, dword [edi]
push 0
push esi
mov ecx, edi
call dword [eax + 0x24]
mov ecx, dword [esi + 8]
shr ecx, 5
test cl, 1
je 0x4beb70
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4beb8b
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4beb9e
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4bebaa
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov esi, edi
jmp 0x4bebcb
mov ecx, dword [ebx + 0x10]
push esi
call fcn.004f1a40
mov edx, dword [esi]
push esi
mov ecx, esi
call dword [edx + 0x20]
mov ecx, dword [ebx + 0xb268]
push eax
call fcn.00481d80
mov edi, dword [esp + 0x208]
test edi, edi
je 0x4c0d2a
push esi
mov ecx, edi
call fcn.0047e780
test eax, eax
jne 0x4c0d2a
push esi
mov ecx, edi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x4c494b53
je 0x4bf077
cmp eax, 0x4c4c4543
jne 0x4c0a9b
mov eax, dword [edi + 0x21c]
test eax, eax
jne 0x4bec28
mov eax, dword [edi + 0x248]
mov dword [edi + 0x21c], eax
mov eax, dword [edi + 0x248]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1b], 0
mov dword [esp + 0x30], ecx
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x41544144
je 0x4bec85
cmp eax, 0x454c4544
je 0x4bec73
cmp eax, 0x454d414e
jne 0x4bec78
push 0x40
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.004b6880
jmp 0x4bec78
mov byte [esp + 0x1b], 1
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4bed02
jmp 0x4bec47
mov eax, dword [edi + 0x240]
cmp eax, 0xc
jne 0x4becc7
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.004b6880
mov eax, dword [esp + 0x28]
cmp eax, 0xff
jbe 0x4becf3
or eax, 1
lea edx, [esp + 0x68]
mov dword [esp + 0x28], eax
push edx
lea eax, [edi + 0xc]
push eax
push str.File__s_contains_corrupt_data_for_cell__s.
call fcn.00477400
add esp, 0xc
jmp 0x4bed02
cmp eax, 0x18
jne 0x4bec9d
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.004b6880
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
jmp 0x4beca1
test al, 1
je 0x4becfb
test al, 0x80
je 0x4bed02
or eax, 2
mov dword [esp + 0x28], eax
mov ecx, edi
call fcn.004b67f0
mov al, byte [esp + 0x204]
test al, al
jne 0x4bee61
test byte [esp + 0x28], 1
je 0x4bedbf
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0xb264]
call fcn.004f1ab0
mov edi, eax
test edi, edi
je 0x4bed68
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov esi, dword [edi]
mov edx, dword [esi]
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call dword [edx + 0x20]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4bed6f
mov ecx, dword [ebp + 0xb264]
push edi
call fcn.004d4270
mov edi, eax
test edi, edi
jne 0x4bed3e
xor esi, esi
jmp 0x4bee61
test esi, esi
je 0x4bee61
mov ecx, esi
call fcn.004e22f0
test al, al
jne 0x4bee61
mov ecx, esi
call fcn.004db9f0
push eax
mov ecx, esi
call fcn.004db9d0
push eax
lea eax, [esp + 0x70]
push eax
push str.Interior_Cell__s_trying_to_become_Exterior_Cell___d___d__
call fcn.00477400
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0xb375]
add esp, 0x10
test al, al
je 0x4bee61
jmp 0x4c0e61
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xb264]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4bee21
mov edi, dword [esi]
mov ecx, edi
call fcn.004e22f0
test al, al
jne 0x4bedff
mov ecx, edi
call fcn.004db9d0
cmp eax, ebp
jne 0x4bedff
mov ecx, edi
call fcn.004db9f0
cmp eax, ebx
je 0x4bee17
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4beddc
jmp 0x4bee61
test esi, esi
je 0x4bee21
mov esi, dword [esi]
test esi, esi
jne 0x4bee25
xor esi, esi
jmp 0x4bee61
mov ecx, esi
call fcn.004e22f0
test al, al
je 0x4bee61
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
push str.Exterior_Cell___d___d__trying_to_become_Interior_Cell__s__n
call fcn.00477400
mov edx, dword [esp + 0x20]
mov al, byte [edx + 0xb375]
add esp, 0x10
test al, al
jne 0x4c0e61
mov edi, dword [esp + 0x10]
xor bl, bl
or ebp, 0xffffffff
test esi, esi
jne 0x4bef0d
mov al, byte [edi + 0xb375]
test al, al
je 0x4bee9c
test byte [esp + 0x28], 1
je 0x4bee9a
lea eax, [esp + 0x68]
push eax
push str.Could_not_find_Interior_Cell__s_during_SaveGame_load.
call fcn.00477400
add esp, 8
jmp 0x4c0e61
mov bl, 1
push 0x94
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x1f8], 1
je 0x4beec7
mov ecx, eax
call fcn.004db500
mov esi, eax
jmp 0x4beec9
xor esi, esi
push 0xc
mov dword [esp + 0x1fc], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x1f8], 2
je 0x4beef6
mov ecx, eax
call fcn.004d3fa0
jmp 0x4beef8
xor eax, eax
mov dword [eax], esi
mov ecx, dword [edi + 0xb264]
push eax
mov dword [esp + 0x1fc], ebp
call fcn.004d41f0
mov ecx, esi
call fcn.004de030
mov byte [esp + 0x20], al
mov al, byte [edi + 0xb375]
test al, al
je 0x4bef90
test bl, bl
jne 0x4bef90
mov ecx, esi
call fcn.004e2320
test al, al
jne 0x4bef46
mov al, byte [esp + 0x28]
test al, 1
je 0x4bef46
test al, 0x80
je 0x4bef46
push 0
mov ecx, esi
call fcn.004e2890
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004db9c0
mov edi, dword [esp + 0x200]
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.004de040
mov bl, byte [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bf02a
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bf02c
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.004e25e0
mov al, byte [esp + 0x1b]
test al, al
je 0x4befad
push 1
mov ecx, esi
call fcn.004eec70
mov ecx, esi
call fcn.004e2320
test al, al
jne 0x4befcd
mov al, byte [esp + 0x28]
test al, 1
je 0x4befcd
test al, 0x80
je 0x4befcd
push 0
mov ecx, esi
call fcn.004e2890
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.004db9c0
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004db9e0
mov edx, dword [esp + 0x30]
push edx
mov ecx, esi
call fcn.004dba00
mov al, byte [edi + 0xb375]
test al, al
jne 0x4bef52
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x204]
add esp, 4
mov dword [eax + 4], ecx
push eax
lea ecx, [esi + 0x68]
mov dword [eax], edi
mov dword [eax + 8], ebp
call fcn.0047e360
jmp 0x4bef59
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf047
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xb375]
test cl, cl
je 0x4bf05e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
push 1
mov ecx, esi
call fcn.004eec00
mov dword [0x7ca988], esi
mov eax, 1
jmp 0x4c0e63
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x58444e49
jne 0x4bf232
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004b6880
cmp dword [esp + 0x10], 0x1b
jge 0x4bf232
mov ecx, edi
call fcn.004b6190
test al, al
jne 0x4bf1aa
lea ecx, [esp + 0x34]
call fcn.004a8680
mov bl, byte [esp + 0x3c]
mov edx, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x1fc], 0x15
and bl, 1
call dword [edx + 4]
push edi
lea ecx, [esp + 0x38]
call fcn.004eee50
test bl, bl
jne 0x4bf0f0
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bf0f2
push 1
lea ecx, [esp + 0x38]
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf113
mov eax, dword [esp + 0x34]
push 1
lea ecx, [esp + 0x38]
call dword [eax + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*2]
lea ecx, [esp + 0x34]
lea eax, [eax + edx*4]
push ecx
lea ecx, [ebp + eax*4 + 0x4c]
call fcn.004a89b0
mov ecx, edi
call fcn.004b6200
test al, al
jne 0x4bf14a
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
push edi
lea ecx, [ebp + edx*4 + 0x4c]
call fcn.004eee50
mov eax, dword [esp + 0x3c]
shr eax, 5
and eax, 0xffffff01
push eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
lea ecx, [ebp + edx*4 + 0x4c]
call fcn.004eec70
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf18c
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [ebp + edx*4 + 0x4c]
lea ecx, [ebp + edx*4 + 0x4c]
push 1
call dword [eax + 0x14]
lea ecx, [esp + 0x34]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.004a87a0
mov eax, 1
jmp 0x4c0e63
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
lea ecx, [ebp + edx*4 + 0x4c]
call fcn.004a8730
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
push 0
lea ecx, [ebp + edx*4 + 0x4c]
call fcn.004eec70
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov bl, byte [ebp + edx*4 + 0x54]
mov eax, dword [ebp + edx*4 + 0x4c]
lea esi, [ebp + edx*4 + 0x4c]
push edi
mov ecx, esi
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bf207
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bf209
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf224
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov dword [ebp + edx*4 + 0x5c], eax
mov eax, 1
jmp 0x4c0e63
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x70]
push edi
call fcn.004545b0
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x524f4f44
jg 0x4c0206
je 0x4c01d6
cmp eax, 0x50414557
jg 0x4bfd30
je 0x4bfd03
cmp eax, 0x4e4c5453
jg 0x4bf7de
je 0x4bf672
cmp eax, 0x4d584656
je 0x4bf659
cmp eax, 0x4e474552
je 0x4bf3f7
cmp eax, 0x4e475342
jne 0x4c0a9b
push 0x58
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 9
je 0x4bf2d0
mov ecx, eax
call fcn.004745c0
mov esi, eax
jmp 0x4bf2d2
xor esi, esi
mov bl, byte [esi + 8]
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bf301
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bf303
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf31e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4bf33c
mov ecx, dword [ebp + 0x44]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov ecx, dword [ebp + 0x44]
mov ebx, eax
call fcn.0047e710
test eax, eax
je 0x4bf37c
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov edi, dword [eax + 8]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4bf393
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x44]
call fcn.0047e720
test eax, eax
jne 0x4bf357
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4bf37c
push esi
mov ecx, edi
call fcn.00474ba0
mov edx, dword [esi + 8]
shr edx, 5
test dl, 1
je 0x4bf3b3
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4bf3ce
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4bf3e1
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4bf389
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, 1
jmp 0x4c0e63
mov al, byte [ebp + 0xb375]
test al, al
je 0x4bf50a
lea ecx, [esp + 0x68]
call fcn.00480c40
mov bl, byte [esp + 0x70]
mov edx, dword [esp + 0x68]
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1fc], 7
and bl, 1
call dword [edx + 4]
push edi
lea ecx, [esp + 0x6c]
call fcn.004eee50
test bl, bl
jne 0x4bf444
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bf446
push 1
lea ecx, [esp + 0x6c]
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf467
mov eax, dword [esp + 0x68]
push 1
lea ecx, [esp + 0x6c]
call dword [eax + 0x14]
mov ecx, dword [ebp + 0x40]
call fcn.0047e710
test eax, eax
je 0x4bf4a4
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
mov esi, dword [eax + 8]
mov edx, dword [esi]
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call dword [edx + 0x20]
push eax
call edi
add esp, 8
test eax, eax
je 0x4bf4a0
mov ecx, dword [ebp + 0x40]
call fcn.0047e720
test eax, eax
jne 0x4bf479
jmp 0x4bf4a4
test esi, esi
jne 0x4bf4b8
lea eax, [esp + 0x78]
push eax
push str.Unable_to_find_region__s.
call fcn.00477400
add esp, 8
jmp 0x4bf4ec
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.00480e10
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov edi, dword [esp + 0x208]
test edi, edi
je 0x4bf4ec
push esi
mov ecx, edi
call fcn.0047e780
test eax, eax
jne 0x4bf4ec
push esi
mov ecx, edi
call fcn.0047e360
lea ecx, [esp + 0x68]
mov dword [esp + 0x1f8], 0xffffffff
call fcn.00480d10
mov eax, 1
jmp 0x4c0e63
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 8
je 0x4bf532
mov ecx, eax
call fcn.00480c40
mov esi, eax
jmp 0x4bf534
xor esi, esi
mov bl, byte [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bf563
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bf565
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bf580
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4bf59e
mov ecx, dword [ebp + 0x40]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x40]
mov ebx, eax
call fcn.0047e710
test eax, eax
je 0x4bf5de
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov edi, dword [eax + 8]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4bf5f5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x40]
call fcn.0047e720
test eax, eax
jne 0x4bf5b9
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x40]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4bf5de
push esi
mov ecx, edi
call fcn.00480e10
mov ecx, dword [esi + 8]
shr ecx, 5
test cl, 1
je 0x4bf615
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4bf630
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4bf643
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4bf5eb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, 1
jmp 0x4c0e63
mov edx, dword [0x7c67dc]
mov ecx, dword [edx + 0x74]
push edi
call fcn.00469f00
mov eax, 1
jmp 0x4c0e63
mov ecx, 0x7cb478
xor ebp, ebp
call fcn.004d51b0
mov ecx, edi
mov esi, eax
call fcn.004b67c0
test eax, eax
je 0x4c0d2a
mov ebx, dword [esp + 0x10]
sub eax, 0x454d414e
je 0x4bf767
sub eax, 0x7f40cf8
je 0x4bf6f0
sub eax, 9
jne 0x4bf791
test ebp, ebp
je 0x4bf7b9
push 0x20
push esi
mov ecx, edi
call fcn.004b6880
mov ecx, dword [ebx + 0xb268]
push esi
call fcn.00481eb0
test eax, eax
je 0x4bf6dd
push eax
mov ecx, ebp
call fcn.0047e460
jmp 0x4bf791
push esi
push str.Unable_to_find_stolen_object_owner__s.
call fcn.00477400
add esp, 8
jmp 0x4bf791
test ebp, ebp
je 0x4bf7b9
push 0x20
push esi
mov ecx, edi
call fcn.004b6880
mov ecx, dword [ebx + 0x28]
call fcn.0047e710
test eax, eax
je 0x4bf733
mov ebx, dword [esp + 0x10]
mov edi, dword [eax + 8]
lea eax, [edi + 0x10]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x4bf74e
mov ecx, dword [ebx + 0x28]
call fcn.0047e720
test eax, eax
jne 0x4bf712
push esi
push str.Unable_to_find_stolen_object_owner_faction__s.
call fcn.00477400
mov edi, dword [esp + 0x208]
mov ebx, dword [esp + 0x18]
add esp, 8
jmp 0x4bf791
test edi, edi
je 0x4bf733
push edi
mov ecx, ebp
call fcn.0047e460
mov edi, dword [esp + 0x200]
mov ebx, dword [esp + 0x10]
jmp 0x4bf791
push 0x20
push esi
mov ecx, edi
call fcn.004b6880
mov ecx, dword [ebx + 0xb268]
push esi
call fcn.00481eb0
test eax, eax
je 0x4bf7cb
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x144]
mov ebp, eax
test ebp, ebp
je 0x4bf7b9
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4c0d2a
mov ecx, edi
call fcn.004b67c0
test eax, eax
jne 0x4bf693
mov eax, 1
jmp 0x4c0e63
push str.Error_loading_StolenObject.
call fcn.00477400
add esp, 4
jmp 0x4c0e61
push esi
push str.Unable_to_find_StolenObject__s.
call fcn.00477400
add esp, 8
jmp 0x4c0e61
cmp eax, 0x4e554f53
je 0x4bfb7d
cmp eax, 0x4f464e49
je 0x4bf82b
cmp eax, 0x4f4d5241
jne 0x4c0a9b
push 0xc4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x1d
je 0x4c0b48
mov ecx, eax
call fcn.004a0360
jmp 0x4c0b4a
mov eax, dword [0x7ca984]
test eax, eax
je 0x4bfb73
mov al, byte [ebp + 0xb375]
test al, al
je 0x4bf986
xor bl, bl
or ebp, 0xffffffff
mov dword [esp + 0x10], ebp
mov ecx, edi
call fcn.004b67c0
sub eax, 0x4d414e49
je 0x4bf890
sub eax, 0xf
jne 0x4bf87b
push 4
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.004b6880
mov ecx, edi
call fcn.004b61d0
test al, al
je 0x4bf8b7
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x4bf8e3
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4bf8db
jmp 0x4bf84f
push 0
push esi
mov ecx, edi
call fcn.004b6880
mov ecx, edi
mov bl, 1
call fcn.004b61d0
test al, al
jne 0x4bf8c9
mov ecx, dword [0x7ca984]
push esi
call fcn.004b2920
mov esi, eax
jmp 0x4bf8f9
push str.Found_Info_Index_in_a_SaveGame_that_should_not_contain_one.
call fcn.00477400
add esp, 4
jmp 0x4c0e61
push str.Found_Info_ID_in_a_SaveGame_that_should_not_contain_one.
call fcn.00477400
add esp, 4
jmp 0x4c0e61
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4bf94d
mov ecx, dword [0x7ca984]
push eax
add ecx, 0x18
call fcn.0047e740
test eax, eax
je 0x4bf924
mov esi, dword [eax + 8]
test esi, esi
jne 0x4bf96b
test bl, bl
je 0x4bf924
mov ecx, dword [0x7ca984]
call fcn.004b3120
mov edx, dword [esp + 0x20]
push eax
push edx
push str.Could_not_locate_Info__s_for_Dialogue__s.
call fcn.00477400
add esp, 0xc
jmp 0x4c0e61
cmp dword [esp + 0x10], ebp
je 0x4bf94d
mov ecx, dword [0x7ca984]
call fcn.004b3120
push eax
mov eax, dword [esp + 0x14]
push eax
push str.Could_not_locate_Info_index__i_for_Dialogue__s.
call fcn.00477400
add esp, 0xc
jmp 0x4c0e61
mov ecx, dword [0x7ca984]
call fcn.004b3120
push eax
push str.Could_not_locate_unknown_Info_for_Dialogue__s.
call fcn.00477400
add esp, 8
jmp 0x4c0e61
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov eax, 1
jmp 0x4c0e63
push 0x2c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x13
je 0x4bf9ae
mov ecx, eax
call fcn.004ae7a0
mov edi, eax
jmp 0x4bf9b0
xor edi, edi
mov ecx, dword [0x7ca984]
mov dl, byte [ecx + 0x14]
mov bl, byte [edi + 8]
mov esi, dword [esp + 0x200]
mov eax, dword [edi]
push esi
mov ecx, edi
mov dword [esp + 0x1fc], 0xffffffff
mov byte [edi + 0x14], dl
and bl, 1
call dword [eax + 4]
push esi
mov ecx, edi
call fcn.004eee50
test bl, bl
jne 0x4bf9f2
mov ecx, esi
call fcn.004b6190
push eax
jmp 0x4bf9f4
push 1
mov ecx, edi
call fcn.004eec00
mov ecx, esi
call fcn.004b62b0
test al, al
je 0x4bfa0f
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [0x7ca984]
mov cl, byte [eax + 0x14]
mov al, byte [esp + 0x204]
test al, al
mov byte [edi + 0x14], cl
je 0x4bfa2c
push 1
jmp 0x4bfb67
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4bfa37
mov eax, dword [eax]
jmp 0x4bfa39
xor eax, eax
mov ecx, dword [0x7ca984]
push eax
call fcn.004b2920
mov ebp, eax
test ebp, ebp
je 0x4bfb65
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4bfa5b
mov esi, dword [eax + 4]
jmp 0x4bfa5d
xor esi, esi
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4bfa69
mov eax, dword [edx + 4]
jmp 0x4bfa6b
xor eax, eax
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x4bfa8f
test cl, cl
je 0x4bfa8b
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x4bfa8f
add eax, 2
add esi, 2
test cl, cl
jne 0x4bfa6b
xor eax, eax
jmp 0x4bfa94
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bfb16
xor esi, esi
test edx, edx
je 0x4bfaa3
mov eax, dword [edx + 4]
jmp 0x4bfaa5
xor eax, eax
cmp byte [eax], 0
je 0x4bfad3
test edx, edx
je 0x4bfab3
mov eax, dword [edx + 4]
jmp 0x4bfab5
xor eax, eax
mov ecx, dword [0x7ca984]
push eax
call fcn.004b2980
mov esi, eax
test esi, esi
je 0x4bfad3
mov eax, dword [esi + 4]
test eax, eax
je 0x4bfad3
cmp dword [eax + 8], ebp
je 0x4bfb16
mov edx, dword [0x7ca984]
push ebp
lea ecx, [edx + 0x18]
call fcn.0047e6a0
test esi, esi
je 0x4bfb05
mov esi, dword [esi + 8]
mov eax, dword [0x7ca984]
push esi
lea ecx, [eax + 0x18]
call fcn.0047e820
mov ecx, dword [0x7ca984]
inc eax
push eax
push ebp
add ecx, 0x18
jmp 0x4bfb11
mov edx, dword [0x7ca984]
push 0
push ebp
lea ecx, [edx + 0x18]
call fcn.0047e4d0
push 1
push edi
mov ecx, ebp
call fcn.004aff10
test edi, edi
je 0x4bfb2c
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov esi, dword [esp + 0x200]
mov ecx, esi
call fcn.004b6200
test al, al
jne 0x4bfb46
push esi
mov ecx, ebp
call fcn.004eee50
mov ecx, esi
call fcn.004b62b0
test al, al
je 0x4bfb73
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 0x14]
mov eax, 1
jmp 0x4c0e63
push 0
mov ecx, dword [0x7ca984]
push edi
call fcn.004b2840
mov eax, 1
jmp 0x4c0e63
push 0x58
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0xf
je 0x4bfba5
mov ecx, eax
call fcn.00510490
mov esi, eax
jmp 0x4bfba7
xor esi, esi
mov bl, byte [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4bfbd6
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4bfbd8
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4bfbf3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov al, byte [esp + 0x204]
test al, al
jne 0x4bfccf
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0xb388]
push str.GetSound
call fcn.00693f00
mov ecx, dword [edi + 0x30]
call fcn.0047e710
test eax, eax
je 0x4bfc50
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea ebx, [esi + 0x11]
mov edi, dword [eax + 8]
lea eax, [edi + 0x11]
push ebx
push eax
call ebp
add esp, 8
test eax, eax
je 0x4bfc5d
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x30]
call fcn.0047e720
test eax, eax
jne 0x4bfc2b
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0xb388]
call fcn.00693f10
jmp 0x4bfccf
mov edx, dword [esp + 0x10]
lea ecx, [edx + 0xb388]
call fcn.00693f10
test edi, edi
je 0x4bfccf
push esi
mov ecx, edi
call fcn.00510590
mov eax, dword [esi + 8]
shr eax, 5
test al, 1
je 0x4bfc8b
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4bfca6
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4bfcb9
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4bfcf9
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, 1
jmp 0x4c0e63
test esi, esi
je 0x4bfcf9
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0xb388]
push 0x7878a8
mov ecx, edi
call fcn.00693f00
mov ecx, dword [ebx + 0x30]
push esi
call fcn.0047e360
mov ecx, edi
call fcn.00693f10
mov eax, 1
jmp 0x4c0e63
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x2c
je 0x4c0b48
mov ecx, eax
call fcn.004f1ee0
jmp 0x4c0b4a
cmp eax, 0x52435353
jg 0x4c010f
je 0x4bffc0
mov ecx, eax
sub ecx, 0x50414d43
je 0x4bfd77
sub ecx, 3
je 0x4bfd63
sub ecx, 0x12
jne 0x4c0a9b
mov eax, 1
jmp 0x4c0e63
push 0
push edi
mov ecx, ebp
call fcn.004c7fd0
mov eax, 1
jmp 0x4c0e63
mov eax, dword [0x7ca9ac]
mov ecx, dword [edi + 0x248]
xor esi, esi
xor bl, bl
test eax, eax
mov dword [esp + 0x20], ecx
jne 0x4bfda6
mov ecx, dword [ebp + 0xb264]
call fcn.004f1ab0
mov dword [0x7ca9ac], eax
mov edx, dword [eax]
mov dword [0x7ca988], edx
xor eax, eax
mov ecx, 0x15
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x200]
mov ecx, edi
call fcn.004b67c0
test eax, eax
je 0x4c0d2a
mov ebp, dword [esp + 0x10]
cmp eax, 0x41544144
je 0x4bff75
cmp eax, 0x52444548
jne 0x4bff81
test bl, bl
jne 0x4bff81
push 0x54
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call fcn.004b6880
mov ecx, dword [0x7ca988]
test ecx, ecx
je 0x4bfe4d
mov al, byte [esp + 0x68]
test al, al
je 0x4bfe25
mov eax, dword [ecx]
lea edx, [esp + 0x69]
push edx
call dword [eax + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4bfe4d
jmp 0x4bfe47
call fcn.004db9d0
cmp eax, dword [esp + 0xac]
jne 0x4bfe4d
mov ecx, dword [0x7ca988]
call fcn.004db9f0
cmp eax, dword [esp + 0xb0]
jne 0x4bfe4d
mov esi, dword [0x7ca988]
test esi, esi
jne 0x4bff41
push str.Slow_search_for_cell_in_Map_Load...
call fcn.006e9a00
mov al, byte [esp + 0x6c]
add esp, 4
test al, al
je 0x4bfeb5
mov ecx, dword [ebp + 0xb264]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4bff1d
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov edi, dword [esi]
mov edx, dword [edi]
lea ecx, [esp + 0x69]
push ecx
mov ecx, edi
call dword [edx + 0x20]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4bfeb1
mov ecx, dword [ebp + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4bfe85
jmp 0x4bff1d
mov esi, edi
jmp 0x4bff1f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xb264]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
call fcn.004f1ab0
mov esi, eax
test esi, esi
je 0x4bff1d
mov edi, dword [esi]
mov ecx, edi
call fcn.004e22f0
test al, al
jne 0x4bfefb
mov ecx, edi
call fcn.004db9d0
cmp eax, ebp
jne 0x4bfefb
mov ecx, edi
call fcn.004db9f0
cmp eax, ebx
je 0x4bff13
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xb264]
push esi
call fcn.004d4270
mov esi, eax
test esi, esi
jne 0x4bfed8
jmp 0x4bff1d
test esi, esi
je 0x4bff1d
mov esi, dword [esi]
test esi, esi
jne 0x4bff1f
xor esi, esi
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xb264]
push esi
call fcn.004d4280
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x200]
mov dword [0x7ca9ac], eax
jmp 0x4bff46
mov eax, dword [0x7ca9ac]
test eax, eax
je 0x4bff69
mov eax, dword [eax + 8]
test eax, eax
mov dword [0x7ca9ac], eax
je 0x4bff5f
mov eax, dword [eax]
mov dword [0x7ca988], eax
jmp 0x4bff69
mov dword [0x7ca988], 0
test esi, esi
je 0x4c0d2a
mov bl, 1
jmp 0x4bff81
test esi, esi
je 0x4bff81
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4bffa9
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4c0d2a
mov ecx, edi
call fcn.004b67c0
test eax, eax
jne 0x4bfdcd
mov eax, 1
jmp 0x4c0e63
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.004e31e0
mov eax, 1
jmp 0x4c0e63
push 0x34
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0xa
je 0x4bffe8
mov ecx, eax
call fcn.00482870
mov esi, eax
jmp 0x4bffea
xor esi, esi
mov bl, byte [esi + 8]
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4c0019
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4c001b
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4c0036
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4c0054
mov ecx, dword [ebp + 0x48]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov ecx, dword [ebp + 0x48]
mov ebx, eax
call fcn.0047e710
test eax, eax
je 0x4c0094
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov edi, dword [eax + 8]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4c00ab
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x48]
call fcn.0047e720
test eax, eax
jne 0x4c006f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4c0094
push esi
mov ecx, edi
call fcn.00482ac0
mov edx, dword [esi + 8]
shr edx, 5
test dl, 1
je 0x4c00cb
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4c00e6
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4c00f9
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4c00a1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x52464552
je 0x4c0151
cmp eax, 0x52474e49
jne 0x4c0a9b
push 0xe0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x23
je 0x4c0b48
mov ecx, eax
call fcn.004a57f0
jmp 0x4c0b4a
mov ecx, dword [ebp + 0xb384]
test ecx, ecx
je 0x4c0161
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x50
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0
je 0x4c0187
mov ecx, eax
call fcn.004e4510
jmp 0x4c0189
xor eax, eax
mov ecx, edi
mov dword [esp + 0x1f8], 0xffffffff
mov dword [ebp + 0xb384], eax
call fcn.004b67c0
cmp eax, 0x524d5246
jne 0x4c01b6
push 4
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004b6880
mov ecx, dword [ebp + 0xb384]
push 0
push 0
push 0
push edi
push ecx
call fcn.004de380
add esp, 0x14
mov eax, 1
jmp 0x4c0e63
push 0x80
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x22
je 0x4c0b48
mov ecx, eax
call fcn.004a5300
jmp 0x4c0b4a
cmp eax, 0x544f4c43
jg 0x4c067d
je 0x4c064d
cmp eax, 0x54415453
jg 0x4c0465
je 0x4c0438
cmp eax, 0x52554f4a
je 0x4c041f
cmp eax, 0x53414c43
je 0x4c02d8
cmp eax, 0x53455551
jne 0x4c0a9b
mov edx, dword [0x7c67dc]
mov eax, dword [edx + 0x6c]
test eax, eax
jne 0x4c0292
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x14
je 0x4c027c
mov ecx, eax
call fcn.00431fc0
jmp 0x4c027e
xor eax, eax
mov ecx, dword [0x7c67dc]
mov dword [esp + 0x1f8], 0xffffffff
mov dword [ecx + 0x6c], eax
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x454d414e
jne 0x4c02ce
push 0
push esi
mov ecx, edi
call fcn.004b6880
mov edx, dword [0x7c67dc]
mov ecx, dword [edx + 0x6c]
push esi
call fcn.00432300
mov ecx, edi
mov esi, eax
call fcn.004b67f0
test esi, esi
je 0x4c02ce
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
mov eax, 1
jmp 0x4c0e63
push 0x94
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0xc
je 0x4c0303
mov ecx, eax
call fcn.004a7ee0
mov esi, eax
jmp 0x4c0305
xor esi, esi
mov bl, byte [esi + 8]
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4c0334
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4c0336
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4c0351
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4c036f
mov ecx, dword [ebp + 0x24]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov ecx, dword [ebp + 0x24]
call fcn.0047e710
test eax, eax
je 0x4c03a5
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea ebx, [esi + 0x10]
mov edi, dword [eax + 8]
lea ecx, [edi + 0x10]
push ebx
push ecx
call ebp
add esp, 8
test eax, eax
je 0x4c03bc
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x24]
call fcn.0047e720
test eax, eax
jne 0x4c0384
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x24]
push esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4c03a5
push esi
mov ecx, edi
call fcn.004a8490
mov eax, dword [esi + 8]
shr eax, 5
test al, 1
je 0x4c03db
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4c03f6
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4c0409
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4c03b2
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, 1
jmp 0x4c0e63
mov edx, dword [0x7c67dc]
mov ecx, dword [edx + 0x64]
push edi
call fcn.00415040
mov eax, 1
jmp 0x4c0e63
push 0x34
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x2b
je 0x4c0b48
mov ecx, eax
call fcn.004a72d0
jmp 0x4c0b4a
cmp eax, 0x54434146
je 0x4c04cc
cmp eax, 0x54444350
je 0x4c04ab
cmp eax, 0x544e4f43
jne 0x4c0a9b
push 0x7c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x21
je 0x4c0b48
mov ecx, eax
call fcn.004a3be0
jmp 0x4c0b4a
mov ecx, dword [ebp + 0xb384]
call fcn.004e5750
test eax, eax
je 0x4c04c2
push edi
mov ecx, eax
call fcn.00567040
mov eax, 1
jmp 0x4c0e63
push 0x2a0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0xe
je 0x4c04f7
mov ecx, eax
call fcn.004acc20
mov esi, eax
jmp 0x4c04f9
xor esi, esi
mov bl, byte [esi + 8]
mov eax, dword [esi]
mov ebp, esi
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
mov dword [esp + 0x24], ebp
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4c052e
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4c0530
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4c054b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov al, byte [esp + 0x204]
test al, al
je 0x4c0560
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
push esi
jmp 0x4c05a6
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x28]
call fcn.0047e710
test eax, eax
je 0x4c059e
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea ebx, [esi + 0x10]
mov edi, dword [eax + 8]
lea edx, [edi + 0x10]
push ebx
push edx
call ebp
add esp, 8
test eax, eax
je 0x4c05ec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
call fcn.0047e720
test eax, eax
jne 0x4c0579
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x28]
push esi
call fcn.0047e360
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0xb375]
test al, al
je 0x4c05c3
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x14]
mov edi, dword [esp + 0x208]
test edi, edi
je 0x4c05e2
push ebp
mov ecx, edi
call fcn.0047e780
test eax, eax
jne 0x4c05e2
push ebp
mov ecx, edi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test edi, edi
je 0x4c059a
push esi
mov ecx, edi
call fcn.004ad110
mov ecx, dword [esi + 8]
shr ecx, 5
test cl, 1
je 0x4c060c
push 1
mov ecx, edi
call fcn.004eec70
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4c0627
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4c063a
push ebx
mov ecx, edi
call fcn.004eee50
test esi, esi
je 0x4c0646
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ebp, edi
jmp 0x4c05ab
push 0xb8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x20
je 0x4c0b48
mov ecx, eax
call fcn.004a2c70
jmp 0x4c0b4a
cmp eax, 0x5845544c
jg 0x4c0a89
je 0x4c0930
cmp eax, 0x54504353
je 0x4c077b
cmp eax, 0x54534c4b
je 0x4c0763
cmp eax, 0x54534d47
jne 0x4c0a9b
mov ecx, edi
call fcn.004b67c0
cmp eax, 0x454d414e
jne 0x4c0759
mov ebp, dword [esp + 0x200]
mov ecx, dword [ebp + 0x240]
push 0
mov byte [ecx + esi], 0
push esi
mov ecx, ebp
call fcn.004b6880
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
xor edi, edi
mov esi, 0x794800
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
push edx
push eax
call ebx
add esp, 8
test eax, eax
je 0x4c0706
add esi, 0x14
inc edi
cmp esi, 0x79bed4
jl 0x4c06e9
cmp edi, 0x5f1
je 0x4c0759
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x18]
mov esi, dword [edx + edi*4]
mov bl, byte [esi + 8]
mov eax, dword [esi]
push ebp
mov ecx, esi
and bl, 1
call dword [eax + 4]
push ebp
mov ecx, esi
call fcn.004eee50
test bl, bl
jne 0x4c073c
mov ecx, ebp
call fcn.004b6190
push eax
jmp 0x4c073e
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, ebp
call fcn.004b62b0
test al, al
je 0x4c0759
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov eax, 1
jmp 0x4c0e63
mov eax, dword [0x7c67dc]
mov ecx, dword [eax + 0x60]
push edi
call fcn.0055da90
mov eax, 1
jmp 0x4c0e63
mov al, byte [ebp + 0xb375]
test al, al
je 0x4c0823
mov bl, 1
mov ecx, edi
call fcn.004b67c0
sub eax, 0x44484341
je 0x4c079e
sub eax, 0x12
jne 0x4c07ae
push 0x34
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.004b6880
xor bl, bl
mov ecx, edi
call fcn.004b67f0
test al, al
je 0x4c07bd
test bl, bl
jne 0x4c078b
mov ecx, dword [ebp + 0x2c]
call fcn.0047e710
test eax, eax
je 0x4c07fa
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
mov esi, dword [eax + 8]
mov eax, dword [esi]
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call dword [eax + 0x20]
push eax
call ebx
add esp, 8
test eax, eax
je 0x4c07f6
mov ecx, dword [ebp + 0x2c]
call fcn.0047e720
test eax, eax
jne 0x4c07cf
jmp 0x4c07fa
test esi, esi
jne 0x4c0811
lea ecx, [esp + 0x34]
push ecx
push str.Could_not_locate_global_script__s.
call fcn.00477400
add esp, 8
jmp 0x4c0e61
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 4]
mov eax, 1
jmp 0x4c0e63
push 0x70
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0xd
je 0x4c084b
mov ecx, eax
call fcn.004fd830
mov edi, eax
jmp 0x4c084d
xor edi, edi
mov bl, byte [edi + 8]
mov esi, dword [esp + 0x200]
mov eax, dword [edi]
push esi
mov ecx, edi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [eax + 4]
push esi
mov ecx, edi
call fcn.004eee50
test bl, bl
jne 0x4c0883
mov ecx, esi
call fcn.004b6190
push eax
jmp 0x4c0885
push 1
mov ecx, edi
call fcn.004eec00
mov ecx, esi
call fcn.004b62b0
test al, al
je 0x4c08a0
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x14]
mov al, byte [esp + 0x204]
test al, al
jne 0x4c0919
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x2c]
mov ebx, eax
call fcn.0047e710
test eax, eax
je 0x4c0919
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov esi, dword [eax + 8]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4c08f1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
call fcn.0047e720
test eax, eax
jne 0x4c08ca
jmp 0x4c0919
test esi, esi
je 0x4c0919
test byte [esi + 8], 1
je 0x4c0904
push 1
mov ecx, edi
call fcn.004eec00
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x2c]
push esi
call fcn.0047e6a0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
push edi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
push 0x144
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 4
je 0x4c095b
mov ecx, eax
call fcn.004c9490
mov edi, eax
jmp 0x4c095d
xor edi, edi
mov bl, byte [edi + 8]
mov esi, dword [esp + 0x200]
mov edx, dword [edi]
push esi
mov ecx, edi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [edx + 4]
push esi
mov ecx, edi
call fcn.004eee50
test bl, bl
jne 0x4c0993
mov ecx, esi
call fcn.004b6190
push eax
jmp 0x4c0995
push 1
mov ecx, edi
call fcn.004eec00
mov ecx, esi
call fcn.004b62b0
test al, al
je 0x4c09b0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x14]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
call fcn.0047e710
test eax, eax
je 0x4c09f4
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov esi, dword [eax + 8]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x20]
push eax
call ebp
add esp, 8
test eax, eax
je 0x4c0a17
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
call fcn.0047e720
test eax, eax
jne 0x4c09cf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 4]
mov dword [edi + 0x138], edx
mov ecx, dword [eax + 0x20]
push edi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test esi, esi
je 0x4c09f4
mov ecx, dword [edi + 8]
shr ecx, 5
test cl, 1
je 0x4c0a2f
push 1
mov ecx, esi
call fcn.004eec70
mov ebx, dword [esi + 0x138]
push 0
push edi
mov ecx, esi
call fcn.004c96c0
mov dword [esi + 0x138], ebx
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4c0a5f
push ebx
mov ecx, esi
call fcn.004eee50
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4c0a73
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
test edi, edi
je 0x4c0a0d
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, 1
jmp 0x4c0e63
cmp eax, 0x59444f42
je 0x4c0b22
cmp eax, 0x5f43504e
je 0x4c0af9
test eax, eax
mov bl, byte [0x7c8f71]
mov byte [0x7c8f71], 1
jne 0x4c0ac4
push str.NO_FORM_trying_to_load_in_ConstructObject.
call fcn.00477400
add esp, 4
mov byte [0x7c8f71], bl
jmp 0x4c0e61
mov ecx, eax
mov edx, eax
mov byte [esi], al
sar ecx, 8
sar edx, 0x10
shr eax, 0x18
push esi
push str.Unknown__s_ID_in_ConstructObject.
mov byte [esi + 1], cl
mov byte [esi + 2], dl
mov byte [esi + 3], al
mov byte [esi + 4], 0
call fcn.00477400
add esp, 8
mov byte [0x7c8f71], bl
jmp 0x4c0e61
push 0xf0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x19
je 0x4c0b48
mov ecx, eax
call fcn.004d5980
jmp 0x4c0b4a
push 0x40
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x1f8], 0x1e
je 0x4c0b48
mov ecx, eax
call fcn.004a1340
jmp 0x4c0b4a
xor eax, eax
mov esi, eax
mov bl, byte [esi + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x1fc], 0xffffffff
and bl, 1
call dword [eax + 4]
push edi
mov ecx, esi
mov byte [esp + 0x1f], al
call fcn.004eee50
test bl, bl
jne 0x4c0b7f
mov ecx, edi
call fcn.004b6190
push eax
jmp 0x4c0b81
push 1
mov ecx, esi
call fcn.004eec00
mov ecx, edi
call fcn.004b62b0
test al, al
je 0x4c0b9c
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov al, byte [esp + 0x1b]
test al, al
je 0x4c0e55
mov al, byte [esp + 0x204]
test al, al
je 0x4c0bc3
push esi
mov ecx, ebp
call fcn.004c1a40
test al, al
je 0x4c0cd2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xb268]
push eax
call fcn.00481eb0
mov edi, eax
test edi, edi
je 0x4c0cd2
lea ecx, [edi + 4]
call fcn.004ee8b0
lea ecx, [esi + 4]
mov ebx, eax
call fcn.004ee8b0
cmp ebx, 0x4f4d4d41
jne 0x4c0c03
mov ebx, 0x50414557
cmp eax, 0x4f4d4d41
jne 0x4c0c0f
mov eax, 0x50414557
cmp ebx, eax
je 0x4c0d34
mov ecx, dword [esp + 0x10]
push edi
call fcn.004c1980
test al, al
je 0x4c0c3f
test esi, esi
je 0x4c0d2a
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, 1
jmp 0x4c0e63
xor ebp, ebp
mov ebx, str.ACTIAPPAARMOBODYBOOKCLOTCONTDOORINGRLIGHLOCKMISCPROBREPASTATWEAPNPC_CREALEVCSPELENCHALCHLEVIAMMO_y
lea ecx, [esi + 4]
call fcn.004ee8b0
cmp dword [ebx], eax
je 0x4c0c87
add ebx, 4
inc ebp
cmp ebx, 0x792660
jl 0x4c0c46
mov dword [esp + 0x20], 0
xor ebp, ebp
mov ebx, str.ACTIAPPAARMOBODYBOOKCLOTCONTDOORINGRLIGHLOCKMISCPROBREPASTATWEAPNPC_CREALEVCSPELENCHALCHLEVIAMMO_y
lea ecx, [edi + 4]
call fcn.004ee8b0
cmp dword [ebx], eax
je 0x4c0c94
add ebx, 4
inc ebp
cmp ebx, 0x792660
jl 0x4c0c6d
jmp 0x4c0c9d
mov eax, dword [ebp*4 + 0x79253c]
mov dword [esp + 0x20], eax
jmp 0x4c0c66
mov ebp, dword [ebp*4 + 0x79253c]
jmp 0x4c0c9f
xor ebp, ebp
mov ecx, edi
call fcn.004eee40
mov ecx, dword [esp + 0x20]
mov edi, eax
push ecx
mov ecx, esi
add edi, 0xc
call fcn.004eee40
mov edx, dword [esi]
add eax, 0xc
push eax
push ebp
push edi
mov ecx, esi
call dword [edx + 0x20]
push eax
push str.Matching_IDs:__s_r_n_n_s:_type__s_r_n_s:_type__s_r_n
call fcn.00476e20
add esp, 0x18
mov edx, dword [esi]
push esi
mov ecx, esi
call dword [edx + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xb268]
push eax
call fcn.00481d80
mov ecx, dword [edi + 0xc]
push esi
call fcn.004f1a40
mov esi, eax
cmp dword [esp + 0x1c], 0x4847494c
jne 0x4c0d0b
mov ecx, dword [edi + 0x9db8]
push esi
call fcn.004d3fc0
mov edi, dword [esp + 0x208]
test edi, edi
je 0x4c0d2a
push esi
mov ecx, edi
call fcn.0047e780
test eax, eax
jne 0x4c0d2a
push esi
mov ecx, edi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
mov eax, dword [esi + 8]
shr eax, 5
test al, 1
je 0x4c0d8b
push 1
mov ecx, edi
call fcn.004eec70
cmp dword [esp + 0x1c], 0x5845544c
jne 0x4c0e00
mov ecx, dword [edi + 0x138]
mov dword [esi + 0x138], ecx
mov edx, dword [edi]
push 0
push esi
mov ecx, edi
call dword [edx + 0x24]
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4c0e07
push ebx
mov ecx, edi
call fcn.004eee50
jmp 0x4c0e07
push 0
mov ecx, edi
call fcn.004eec70
cmp dword [esp + 0x1c], 0x5845544c
jne 0x4c0daa
mov eax, dword [edi + 0x138]
mov dword [esi + 0x138], eax
mov edx, dword [edi]
push 0
push esi
mov ecx, edi
call dword [edx + 0x24]
test byte [esi + 8], 1
je 0x4c0dc3
push 1
mov ecx, edi
call fcn.004eec00
mov ecx, dword [esp + 0x10]
push edi
call fcn.004c1980
test al, al
jne 0x4c0de4
mov eax, dword [esi + 8]
shr eax, 0xa
and eax, 0xffffff01
push eax
mov ecx, edi
call fcn.004eed10
mov ebx, dword [esp + 0x200]
mov ecx, ebx
call fcn.004b6200
test al, al
jne 0x4c0e07
push ebx
mov ecx, edi
call fcn.004eee50
jmp 0x4c0e07
mov ebx, dword [esp + 0x200]
test esi, esi
je 0x4c0e13
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, ebx
call fcn.004b62b0
test al, al
je 0x4c0e27
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x14]
mov esi, dword [esp + 0x208]
test esi, esi
je 0x4c0d2a
push edi
mov ecx, esi
call fcn.0047e780
test eax, eax
jne 0x4c0d2a
push edi
mov ecx, esi
call fcn.0047e360
mov eax, 1
jmp 0x4c0e63
test esi, esi
je 0x4c0e61
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor eax, eax
mov ecx, dword [esp + 0x1f0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ec
ret 0xc