Function at 0x1006d100
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd88b
mov eax, dword fs:[0]
push eax
sub esp, 0xfc8
mov eax, dword [0x1011dc04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x198], edi
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
push 0x100c7498
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 0
movups xmmword [ebp - 0x2b0], xmm0
call fcn.10021f80
push 3
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x100c749c
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x288], 0
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
call fcn.10021f80
push 7
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push str.players
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], 0
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x26c], 0
call fcn.10021f80
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x280]
cmp ecx, eax
je 0x1006d1fb
cmp dword [ebp - 0x26c], 0x10
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
push eax
call fcn.10029d30
lea eax, [ebp - 0x298]
cmp edi, eax
je 0x1006d221
cmp dword [ebp - 0x284], 0x10
mov ecx, edi
push dword [ebp - 0x288]
cmovae eax, dword [ebp - 0x298]
push eax
call fcn.10029d30
lea ecx, [edi + 0x48]
lea eax, [ebp - 0x2b0]
cmp ecx, eax
je 0x1006d248
cmp dword [ebp - 0x29c], 0x10
push dword [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2b0]
push eax
call fcn.10029d30
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x1006d286
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d27c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x1006d2df
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d2d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006d33b
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d331
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
push 0x100c749c
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], 0
movups xmmword [ebp - 0x6ec], xmm0
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x6d8], 0
call fcn.10021f80
push 5
xorps xmm0, xmm0
mov dword [ebp - 4], 3
push str.model
lea ecx, [ebp - 0x6d4]
mov dword [ebp - 0x6c4], 0
movups xmmword [ebp - 0x6d4], xmm0
mov dword [ebp - 0x6c0], 0
call fcn.10021f80
lea eax, [ebp - 0x1d8]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x6bc]
push ecx
lea edx, [ebp - 0x6ec]
push edx
lea ecx, [ebp - 0x67c]
call fcn.1004e020
push 3
xorps xmm0, xmm0
mov byte [ebp - 4], 5
push 0x100c6400
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2b8], 0
movups xmmword [ebp - 0x2c8], xmm0
mov dword [ebp - 0x2b4], 0
call fcn.10021f80
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 6
push 0x100c48a3
lea ecx, [ebp - 0x598]
mov dword [ebp - 0x588], 0
movups xmmword [ebp - 0x598], xmm0
mov dword [ebp - 0x584], 0
call fcn.10021f80
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c8]
cmp ecx, eax
je 0x1006d47a
cmp dword [ebp - 0x2b4], 0x10
push dword [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2c8]
push eax
call fcn.10029d30
mov eax, dword [ebp - 0x678]
mov esi, dword [ebp - 0x67c]
mov byte [edi + 0xad], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x70], 0x14
mov dword [edi + 0x74], 0x14
mov dword [ebp - 0x18c], eax
cmp esi, eax
je 0x1006d4f6
lea ecx, [edi + 0xe8]
nop word [eax + eax]
mov eax, dword [edi + 0xec]
push esi
cmp eax, dword [edi + 0xf0]
je 0x1006d4df
mov ecx, eax
call fcn.10023b00
add dword [edi + 0xec], 0x18
jmp 0x1006d4e5
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0xe8]
cmp esi, dword [ebp - 0x18c]
jne 0x1006d4c0
mov ecx, dword [edi + 0xec]
lea eax, [edi + 0xe8]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006d521
mov dword [edi + 0xf8], 0
mov ecx, dword [ebp - 0x584]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x1006d55b
mov edx, dword [ebp - 0x598]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d551
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d5a6
push ecx
push edx
call fcn.100b5778
add esp, 8
mov ecx, dword [ebp - 0x2b4]
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x584], 0xf
mov byte [ebp - 0x598], 0
mov byte [ebp - 4], 5
cmp ecx, 0x10
jb 0x1006d5b6
mov edx, dword [ebp - 0x2c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d5ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d5ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b5778
add esp, 8
lea ecx, [ebp - 0x67c]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x6ec]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov dword [edi + 0x78], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x64], 0xa
lea ecx, [edi + 0x60]
mov dword [edi + 0x6c], pe_nt_image_headers32
mov eax, dword [edi + 0x20]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x9c], ecx
cmp eax, dword [esi + 8]
je 0x1006d62f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006d63e
lea ecx, [ebp - 0x9c]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x70c], 0
push str.enemy
lea ecx, [ebp - 0x71c]
mov dword [ebp - 0x708], 0
movups xmmword [ebp - 0x71c], xmm0
call fcn.10021f80
push 8
xorps xmm0, xmm0
mov dword [ebp - 4], 8
push str.friendly
lea ecx, [ebp - 0x704]
mov dword [ebp - 0x6f4], 0
movups xmmword [ebp - 0x704], xmm0
mov dword [ebp - 0x6f0], 0
call fcn.10021f80
lea eax, [ebp - 0x1c9]
mov dword [ebp - 4], 9
push eax
lea ecx, [ebp - 0x6ec]
push ecx
lea edx, [ebp - 0x71c]
push edx
lea ecx, [ebp - 0x688]
call fcn.1004e020
push 3
xorps xmm0, xmm0
mov byte [ebp - 4], 0xa
push 0x100c74c4
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1e0], 0
movups xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1dc], 0
call fcn.10021f80
push 5
xorps xmm0, xmm0
mov byte [ebp - 4], 0xb
push str.boxes
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2d0], 0
movups xmmword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2cc], 0
call fcn.10021f80
mov dword [ebp - 0x6b8], 0
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6b0], 0
lea ecx, [edi + 0x154]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x1f0]
cmp ecx, eax
je 0x1006d780
cmp dword [ebp - 0x1dc], 0x10
push dword [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x1f0]
push eax
call fcn.10029d30
lea ecx, [edi + 0x170]
mov byte [edi + 0x14d], 1
lea eax, [ebp - 0x2e0]
cmp ecx, eax
je 0x1006d7b1
cmp dword [ebp - 0x2cc], 0x10
push dword [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2e0]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x14d], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x684]
mov dword [edi + 0x1a4], eax
add eax, 0x14
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], eax
mov eax, dword [ebp - 0x688]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006d827
lea ecx, [edi + 0x188]
mov esi, eax
mov eax, dword [edi + 0x18c]
push esi
cmp eax, dword [edi + 0x190]
je 0x1006d810
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x18c], 0x18
jmp 0x1006d816
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x188]
cmp esi, dword [ebp - 0x14]
jne 0x1006d7f1
lea esi, [edi + 0x24]
mov ecx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 0xb
cmp ecx, 0x10
jb 0x1006d861
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d857
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d8ac
push ecx
push edx
call fcn.100b5778
add esp, 8
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0xf
mov byte [ebp - 0x2e0], 0
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x1006d8bc
mov edx, dword [ebp - 0x1f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d8b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d8b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b5778
add esp, 8
lea ecx, [ebp - 0x688]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 0
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x71c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov eax, dword [edi + 0x140]
lea ecx, [edi + 0x13c]
mov dword [ebp - 0xa0], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006d925
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006d932
lea edx, [ebp - 0xa0]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x118], 0
lea ecx, [edi + 0x100]
mov dword [edi + 0x104], 0xa
mov dword [edi + 0x10c], pe_nt_image_headers32
mov eax, dword [edi + 0x20]
mov dword [edi + 0x11c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xa4], ecx
cmp eax, dword [esi + 8]
je 0x1006d975
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006d984
lea ecx, [ebp - 0xa4]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x1f8], 0
push str.box_enemy
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x1f4], 0
movups xmmword [ebp - 0x208], xmm0
call fcn.10021f80
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 4], 0xe
push str.box_enemy_color
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], 0
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
call fcn.10021f80
lea ecx, [edi + 0x224]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x1006da19
cmp dword [ebp - 0x254], 0x10
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.10029d30
lea ecx, [edi + 0x1fc]
lea eax, [ebp - 0x208]
cmp ecx, eax
je 0x1006da43
cmp dword [ebp - 0x1f4], 0x10
push dword [ebp - 0x1f8]
cmovae eax, dword [ebp - 0x208]
push eax
call fcn.10029d30
mov ecx, dword [ebp - 0x254]
mov dword [edi + 0x23c], 0xff3cc896
mov dword [edi + 0x240], 0
mov dword [edi + 0x21c], 0x3f800000
mov byte [edi + 0x214], 0
mov byte [ebp - 4], 0xe
cmp ecx, 0x10
jb 0x1006daa6
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006da9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006db02
mov edx, dword [ebp - 0x208]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006daf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
mov eax, dword [edi + 0x1e8]
lea ecx, [edi + 0x1e4]
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
mov dword [ebp - 0xa8], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006db44
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006db51
lea edx, [ebp - 0xa8]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x1c0], 0
lea ecx, [edi + 0x1a8]
mov dword [edi + 0x1ac], 0xa
mov dword [edi + 0x1b4], pe_nt_image_headers32
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1c4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xac], ecx
cmp eax, dword [esi + 8]
je 0x1006db94
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006dba3
lea ecx, [ebp - 0xac]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push str.box_friendly
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
call fcn.10021f80
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 4], 0x10
push str.box_friendly_color
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x210], 0
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x20c], 0
call fcn.10021f80
lea ecx, [edi + 0x2c0]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x220]
cmp ecx, eax
je 0x1006dc38
cmp dword [ebp - 0x20c], 0x10
push dword [ebp - 0x210]
cmovae eax, dword [ebp - 0x220]
push eax
call fcn.10029d30
lea ecx, [edi + 0x298]
lea eax, [ebp - 0x238]
cmp ecx, eax
je 0x1006dc62
cmp dword [ebp - 0x224], 0x10
push dword [ebp - 0x228]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.10029d30
mov ecx, dword [ebp - 0x20c]
mov dword [edi + 0x2d8], 0xff00c8ff
mov dword [edi + 0x2dc], 0
mov dword [edi + 0x2b8], 0x3f800000
mov byte [edi + 0x2b0], 0
mov byte [ebp - 4], 0x10
cmp ecx, 0x10
jb 0x1006dcc5
mov edx, dword [ebp - 0x220]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dcbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0xf
mov byte [ebp - 0x220], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1006dd21
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dd17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006debf
push ecx
push edx
call fcn.100b5778
add esp, 8
mov eax, dword [edi + 0x284]
lea ecx, [edi + 0x280]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
mov dword [ebp - 0xb0], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006dd63
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006dd70
lea edx, [ebp - 0xb0]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x25c], 0
lea ecx, [edi + 0x244]
mov dword [edi + 0x248], 0xa
mov dword [edi + 0x250], pe_nt_image_headers32
mov eax, dword [edi + 0x20]
mov dword [edi + 0x260], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xb4], ecx
cmp eax, dword [esi + 8]
je 0x1006ddb3
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006ddc2
lea ecx, [ebp - 0xb4]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x360], 0
push str.dormant
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x35c], 0
movups xmmword [ebp - 0x370], xmm0
call fcn.10021f80
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 4], 0x12
push str.dormant_enemies
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
call fcn.10021f80
lea ecx, [edi + 0x334]
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x1006de57
cmp dword [ebp - 0x35c], 0x10
push dword [ebp - 0x360]
cmovae eax, dword [ebp - 0x370]
push eax
call fcn.10029d30
lea ecx, [edi + 0x34c]
mov byte [edi + 0x32d], 1
lea eax, [ebp - 0x250]
cmp ecx, eax
je 0x1006de88
cmp dword [ebp - 0x23c], 0x10
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.10029d30
mov ecx, dword [ebp - 0x23c]
mov byte [edi + 0x364], 0
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x1006decf
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dec5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006dec5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b5778
add esp, 8
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
mov eax, dword [edi + 0x320]
lea ecx, [edi + 0x31c]
mov dword [ebp - 0xb8], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006df23
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006df30
lea edx, [ebp - 0xb8]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x2f8], 0
lea ecx, [edi + 0x2e0]
mov dword [edi + 0x2e4], 0xa
mov dword [edi + 0x2ec], pe_nt_image_headers32
mov eax, dword [edi + 0x20]
mov dword [edi + 0x2fc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x1006df73
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006df82
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x390], 0
push str.offscreen
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x38c], 0
movups xmmword [ebp - 0x3a0], xmm0
call fcn.10021f80
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 4], 0x14
push str.enemy_offscreen_esp
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x378], 0
movups xmmword [ebp - 0x388], xmm0
mov dword [ebp - 0x374], 0
call fcn.10021f80
lea ecx, [edi + 0x3bc]
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x3a0]
cmp ecx, eax
je 0x1006e017
cmp dword [ebp - 0x38c], 0x10
push dword [ebp - 0x390]
cmovae eax, dword [ebp - 0x3a0]
push eax
call fcn.10029d30
lea ecx, [edi + 0x3d4]
mov byte [edi + 0x3b5], 1
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x1006e048
cmp dword [ebp - 0x374], 0x10
push dword [ebp - 0x378]
cmovae eax, dword [ebp - 0x388]
push eax
call fcn.10029d30
lea ecx, [ebp - 0x388]
mov byte [edi + 0x3ec], 0
call fcn.10025230
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
mov eax, dword [edi + 0x3a8]
lea ecx, [edi + 0x3a4]
mov dword [ebp - 0xc0], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006e093
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006e0a0
lea edx, [ebp - 0xc0]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x380], 0
lea ecx, [edi + 0x368]
mov dword [edi + 0x36c], 0xa
mov dword [edi + 0x374], pe_nt_image_headers32
mov eax, dword [edi + 0x20]
mov dword [edi + 0x384], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc4], ecx
cmp eax, dword [esi + 8]
je 0x1006e0e3
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006e0f2
lea ecx, [ebp - 0xc4]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov esi, dword [0x101075e8]
lea ecx, [ebp - 0x3d0]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.offscreen_color
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.10021f80
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 4], 0x16
push str.offscreen_esp_color
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x3a8], 0
movups xmmword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x3a4], 0
call fcn.10021f80
lea ecx, [edi + 0x46c]
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x3b8]
cmp ecx, eax
je 0x1006e18d
cmp dword [ebp - 0x3a4], 0x10
push dword [ebp - 0x3a8]
cmovae eax, dword [ebp - 0x3b8]
push eax
call fcn.10029d30
lea ecx, [edi + 0x444]
lea eax, [ebp - 0x3d0]
cmp ecx, eax
je 0x1006e1b7
cmp dword [ebp - 0x3bc], 0x10
push dword [ebp - 0x3c0]
cmovae eax, dword [ebp - 0x3d0]
push eax
call fcn.10029d30
lea ecx, [ebp - 0x3b8]
mov dword [edi + 0x484], esi
mov dword [edi + 0x488], 0
mov dword [edi + 0x464], 0x3f800000
mov byte [edi + 0x45c], 0
call fcn.10025230
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
mov eax, dword [edi + 0x430]
lea ecx, [edi + 0x42c]
mov dword [ebp - 0xc8], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006e21c
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006e229
lea edx, [ebp - 0xc8]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x408], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x3f4], 0xa
lea ecx, [edi + 0x3f0]
mov dword [edi + 0x3fc], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xcc], ecx
cmp eax, dword [esi + 8]
je 0x1006e26f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006e27e
lea ecx, [ebp - 0xcc]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x73c], 0
push str.enemy
lea ecx, [ebp - 0x74c]
mov dword [ebp - 0x738], 0
movups xmmword [ebp - 0x74c], xmm0
call fcn.10021f80
push 8
xorps xmm0, xmm0
mov dword [ebp - 4], 0x18
push str.friendly
lea ecx, [ebp - 0x734]
mov dword [ebp - 0x724], 0
movups xmmword [ebp - 0x734], xmm0
mov dword [ebp - 0x720], 0
call fcn.10021f80
lea eax, [ebp - 0x1ca]
mov dword [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x71c]
push ecx
lea edx, [ebp - 0x74c]
push edx
lea ecx, [ebp - 0x6a0]
call fcn.1004e020
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1a
push str.name
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x348], 0
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x344], 0
call fcn.10021f80
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 0x1b
push str.name
lea ecx, [ebp - 0x3e8]
mov dword [ebp - 0x3d8], 0
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.10021f80
mov dword [ebp - 0x694], 0
mov dword [ebp - 0x690], 0
mov dword [ebp - 0x68c], 0
lea ecx, [edi + 0x4e0]
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x358]
cmp ecx, eax
je 0x1006e3c0
cmp dword [ebp - 0x344], 0x10
push dword [ebp - 0x348]
cmovae eax, dword [ebp - 0x358]
push eax
call fcn.10029d30
lea ecx, [edi + 0x4fc]
mov byte [edi + 0x4d9], 1
lea eax, [ebp - 0x3e8]
cmp ecx, eax
je 0x1006e3f1
cmp dword [ebp - 0x3d4], 0x10
push dword [ebp - 0x3d8]
cmovae eax, dword [ebp - 0x3e8]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x4d9], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x69c]
mov dword [edi + 0x530], eax
add eax, 0x14
mov dword [edi + 0x49c], eax
mov dword [edi + 0x4a0], eax
mov eax, dword [ebp - 0x6a0]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006e467
lea ecx, [edi + 0x514]
mov esi, eax
mov eax, dword [edi + 0x518]
push esi
cmp eax, dword [edi + 0x51c]
je 0x1006e450
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x518], 0x18
jmp 0x1006e456
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x514]
cmp esi, dword [ebp - 0x14]
jne 0x1006e431
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x694]
call fcn.10025380
lea ecx, [ebp - 0x3e8]
call fcn.10025230
lea ecx, [ebp - 0x358]
call fcn.10025230
lea ecx, [ebp - 0x6a0]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x74c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov eax, dword [edi + 0x4cc]
lea ecx, [edi + 0x4c8]
mov dword [ebp - 0xd0], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006e4d6
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006e4e3
lea edx, [ebp - 0xd0]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x4a4], 0
lea ecx, [edi + 0x48c]
mov dword [edi + 0x490], 0xa
mov dword [edi + 0x498], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x4a8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xd4], ecx
cmp eax, dword [esi + 8]
je 0x1006e526
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006e535
lea ecx, [ebp - 0xd4]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov esi, dword [0x101075e8]
lea ecx, [ebp - 0x328]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
push 0x100c7574
movups xmmword [ebp - 0x328], xmm0
mov dword [ebp - 0x314], 0
call fcn.10021f80
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 4], 0x1e
push str.name_color
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x330], 0
movups xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x32c], 0
call fcn.10021f80
lea ecx, [edi + 0x5b0]
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x340]
cmp ecx, eax
je 0x1006e5d0
cmp dword [ebp - 0x32c], 0x10
push dword [ebp - 0x330]
cmovae eax, dword [ebp - 0x340]
push eax
call fcn.10029d30
lea ecx, [edi + 0x588]
lea eax, [ebp - 0x328]
cmp ecx, eax
je 0x1006e5fa
cmp dword [ebp - 0x314], 0x10
push dword [ebp - 0x318]
cmovae eax, dword [ebp - 0x328]
push eax
call fcn.10029d30
lea ecx, [ebp - 0x340]
mov dword [edi + 0x5c8], esi
mov dword [edi + 0x5cc], 0
mov dword [edi + 0x5a8], 0x3f800000
mov byte [edi + 0x5a0], 0
call fcn.10025230
lea ecx, [ebp - 0x328]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
mov eax, dword [edi + 0x574]
lea ecx, [edi + 0x570]
mov dword [ebp - 0xd8], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006e65f
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006e66c
lea edx, [ebp - 0xd8]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x54c], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x538], 0xa
lea ecx, [edi + 0x534]
mov dword [edi + 0x540], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x550], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xdc], ecx
cmp eax, dword [esi + 8]
je 0x1006e6b2
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006e6c1
lea ecx, [ebp - 0xdc]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x76c], 0
push str.enemy
lea ecx, [ebp - 0x77c]
mov dword [ebp - 0x768], 0
movups xmmword [ebp - 0x77c], xmm0
call fcn.10021f80
push 8
xorps xmm0, xmm0
mov dword [ebp - 4], 0x20
push str.friendly
lea ecx, [ebp - 0x764]
mov dword [ebp - 0x754], 0
movups xmmword [ebp - 0x764], xmm0
mov dword [ebp - 0x750], 0
call fcn.10021f80
lea eax, [ebp - 0x1cb]
mov dword [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x74c]
push ecx
lea edx, [ebp - 0x77c]
push edx
lea ecx, [ebp - 0x5b0]
call fcn.1004e020
push 6
xorps xmm0, xmm0
mov byte [ebp - 4], 0x22
push str.health
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x408], 0
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x404], 0
call fcn.10021f80
push 6
xorps xmm0, xmm0
mov byte [ebp - 4], 0x23
push str.health
lea ecx, [ebp - 0x400]
mov dword [ebp - 0x3f0], 0
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.10021f80
mov dword [ebp - 0x5a4], 0
mov dword [ebp - 0x5a0], 0
mov dword [ebp - 0x59c], 0
lea ecx, [edi + 0x624]
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x418]
cmp ecx, eax
je 0x1006e803
cmp dword [ebp - 0x404], 0x10
push dword [ebp - 0x408]
cmovae eax, dword [ebp - 0x418]
push eax
call fcn.10029d30
lea ecx, [edi + 0x640]
mov byte [edi + 0x61d], 1
lea eax, [ebp - 0x400]
cmp ecx, eax
je 0x1006e834
cmp dword [ebp - 0x3ec], 0x10
push dword [ebp - 0x3f0]
cmovae eax, dword [ebp - 0x400]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x61d], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x5ac]
mov dword [edi + 0x674], eax
add eax, 0x14
mov dword [edi + 0x5e0], eax
mov dword [edi + 0x5e4], eax
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006e8b6
lea ecx, [edi + 0x658]
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x65c]
push esi
cmp eax, dword [edi + 0x660]
je 0x1006e89f
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x65c], 0x18
jmp 0x1006e8a5
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x658]
cmp esi, dword [ebp - 0x14]
jne 0x1006e880
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x5a4]
call fcn.10025380
lea ecx, [ebp - 0x400]
call fcn.10025230
lea ecx, [ebp - 0x418]
call fcn.10025230
lea ecx, [ebp - 0x5b0]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x77c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov eax, dword [edi + 0x610]
lea ecx, [edi + 0x60c]
mov dword [ebp - 0xe0], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006e925
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006e932
lea edx, [ebp - 0xe0]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x5e8], 0
lea ecx, [edi + 0x5d0]
mov dword [edi + 0x5d4], 0xa
mov dword [edi + 0x5dc], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x5ec], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xe4], ecx
cmp eax, dword [esi + 8]
je 0x1006e975
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006e984
lea ecx, [ebp - 0xe4]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x79c], 0
push str.enemy
lea ecx, [ebp - 0x7ac]
mov dword [ebp - 0x798], 0
movups xmmword [ebp - 0x7ac], xmm0
call fcn.10021f80
push 8
xorps xmm0, xmm0
mov dword [ebp - 4], 0x26
push str.friendly
lea ecx, [ebp - 0x794]
mov dword [ebp - 0x784], 0
movups xmmword [ebp - 0x794], xmm0
mov dword [ebp - 0x780], 0
call fcn.10021f80
lea eax, [ebp - 0x1cc]
mov dword [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x77c]
push ecx
lea edx, [ebp - 0x7ac]
push edx
lea ecx, [ebp - 0x64c]
call fcn.1004e020
push 0xd
xorps xmm0, xmm0
mov byte [ebp - 4], 0x28
push str.custom_health
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x438], 0
movups xmmword [ebp - 0x448], xmm0
mov dword [ebp - 0x434], 0
call fcn.10021f80
push 0x13
xorps xmm0, xmm0
mov byte [ebp - 4], 0x29
push str.custom_health_color
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
call fcn.10021f80
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 0x5b4], 0
lea ecx, [edi + 0x1914]
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x448]
cmp ecx, eax
je 0x1006eac6
cmp dword [ebp - 0x434], 0x10
push dword [ebp - 0x438]
cmovae eax, dword [ebp - 0x448]
push eax
call fcn.10029d30
lea ecx, [edi + 0x1930]
mov byte [edi + 0x190d], 1
lea eax, [ebp - 0x430]
cmp ecx, eax
je 0x1006eaf7
cmp dword [ebp - 0x41c], 0x10
push dword [ebp - 0x420]
cmovae eax, dword [ebp - 0x430]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x190d], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x648]
mov dword [edi + 0x1964], eax
add eax, 0x14
mov dword [edi + 0x18d0], eax
mov dword [edi + 0x18d4], eax
mov eax, dword [ebp - 0x64c]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006eb76
lea ecx, [edi + 0x1948]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x194c]
push esi
cmp eax, dword [edi + 0x1950]
je 0x1006eb5f
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x194c], 0x18
jmp 0x1006eb65
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x1948]
cmp esi, dword [ebp - 0x14]
jne 0x1006eb40
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x5bc]
call fcn.10025380
lea ecx, [ebp - 0x430]
call fcn.10025230
lea ecx, [ebp - 0x448]
call fcn.10025230
lea ecx, [ebp - 0x64c]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x7ac]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov ecx, dword [edi + 0x1900]
lea eax, [edi + 0x18fc]
mov dword [ebp - 0xe8], 0x1002d030
cmp ecx, dword [eax + 8]
je 0x1006ebe5
mov dword [ecx], 0x1002d030
add dword [eax + 4], 4
jmp 0x1006ebfa
lea edx, [ebp - 0xe8]
push edx
push ecx
mov ecx, eax
call fcn.100220a0
lea eax, [edi + 0x18fc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xec], 0x1002d310
cmp ecx, dword [eax + 8]
je 0x1006ec18
mov dword [ecx], 0x1002d310
add dword [eax + 4], 4
jmp 0x1006ec27
lea edx, [ebp - 0xec]
push edx
push ecx
mov ecx, eax
call fcn.100220a0
mov dword [edi + 0x18d8], 0
lea ecx, [edi + 0x18c0]
mov dword [edi + 0x18c4], 0xa
mov dword [edi + 0x18cc], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x18dc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xf0], ecx
cmp eax, dword [esi + 8]
je 0x1006ec6a
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006ec79
lea ecx, [ebp - 0xf0]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov esi, dword [0x101075f4]
lea ecx, [ebp - 0x478]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0
push str.custom_health_enemy
movups xmmword [ebp - 0x478], xmm0
mov dword [ebp - 0x464], 0
call fcn.10021f80
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 4], 0x2c
push str.enemy_health_color
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x450], 0
movups xmmword [ebp - 0x460], xmm0
mov dword [ebp - 0x44c], 0
call fcn.10021f80
lea ecx, [edi + 0x19e4]
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x460]
cmp ecx, eax
je 0x1006ed14
cmp dword [ebp - 0x44c], 0x10
push dword [ebp - 0x450]
cmovae eax, dword [ebp - 0x460]
push eax
call fcn.10029d30
lea ecx, [edi + 0x19bc]
lea eax, [ebp - 0x478]
cmp ecx, eax
je 0x1006ed3e
cmp dword [ebp - 0x464], 0x10
push dword [ebp - 0x468]
cmovae eax, dword [ebp - 0x478]
push eax
call fcn.10029d30
lea ecx, [ebp - 0x460]
mov dword [edi + 0x19fc], esi
mov dword [edi + 0x1a00], 0
mov dword [edi + 0x19dc], 0x3f800000
mov byte [edi + 0x19d4], 0
call fcn.10025230
lea ecx, [ebp - 0x478]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
mov eax, dword [edi + 0x19a8]
lea esi, [edi + 0x19a4]
mov dword [ebp - 0xf4], 0x1002d030
cmp eax, dword [esi + 8]
je 0x1006eda3
mov dword [eax], 0x1002d030
add dword [esi + 4], 4
jmp 0x1006edb2
lea ecx, [ebp - 0xf4]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov eax, dword [esi + 4]
mov dword [ebp - 0xf8], 0x1002ce50
cmp eax, dword [esi + 8]
je 0x1006edd0
mov dword [eax], 0x1002ce50
add dword [esi + 4], 4
jmp 0x1006eddf
lea ecx, [ebp - 0xf8]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov eax, dword [esi + 4]
mov dword [ebp - 0xfc], 0x1002d310
cmp eax, dword [esi + 8]
je 0x1006edfd
mov dword [eax], 0x1002d310
add dword [esi + 4], 4
jmp 0x1006ee0c
lea ecx, [ebp - 0xfc]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov dword [edi + 0x1980], 0
lea edx, [edi + 0x1968]
mov dword [edi + 0x196c], 0xa
mov dword [edi + 0x1974], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1984], eax
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x100], edx
cmp ecx, dword [edi + 0x2c]
je 0x1006ee4f
mov dword [ecx], edx
add dword [edi + 0x28], 4
jmp 0x1006ee5f
lea edx, [ebp - 0x100]
push edx
push ecx
lea ecx, [edi + 0x24]
call fcn.100220a0
mov esi, dword [0x101075f4]
lea ecx, [ebp - 0x4a8]
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x498], 0
push str.custom_health_friendly
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x494], 0
call fcn.10021f80
push 0x15
xorps xmm0, xmm0
mov dword [ebp - 4], 0x2e
push str.friendly_health_color
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x480], 0
movups xmmword [ebp - 0x490], xmm0
mov dword [ebp - 0x47c], 0
call fcn.10021f80
lea ecx, [edi + 0x1a80]
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x490]
cmp ecx, eax
je 0x1006eefa
cmp dword [ebp - 0x47c], 0x10
push dword [ebp - 0x480]
cmovae eax, dword [ebp - 0x490]
push eax
call fcn.10029d30
lea ecx, [edi + 0x1a58]
lea eax, [ebp - 0x4a8]
cmp ecx, eax
je 0x1006ef24
cmp dword [ebp - 0x494], 0x10
push dword [ebp - 0x498]
cmovae eax, dword [ebp - 0x4a8]
push eax
call fcn.10029d30
lea ecx, [ebp - 0x490]
mov dword [edi + 0x1a98], esi
mov dword [edi + 0x1a9c], 0
mov dword [edi + 0x1a78], 0x3f800000
mov byte [edi + 0x1a70], 0
call fcn.10025230
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
mov eax, dword [edi + 0x1a44]
lea esi, [edi + 0x1a40]
mov dword [ebp - 0x104], 0x1002d030
cmp eax, dword [esi + 8]
je 0x1006ef89
mov dword [eax], 0x1002d030
add dword [esi + 4], 4
jmp 0x1006ef98
lea ecx, [ebp - 0x104]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov eax, dword [esi + 4]
mov dword [ebp - 0x108], 0x1002ce70
cmp eax, dword [esi + 8]
je 0x1006efb6
mov dword [eax], 0x1002ce70
add dword [esi + 4], 4
jmp 0x1006efc5
lea ecx, [ebp - 0x108]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov eax, dword [esi + 4]
mov dword [ebp - 0x10c], 0x1002d310
cmp eax, dword [esi + 8]
je 0x1006efe3
mov dword [eax], 0x1002d310
add dword [esi + 4], 4
jmp 0x1006eff2
lea ecx, [ebp - 0x10c]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov dword [edi + 0x1a1c], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x1a08], 0xa
lea ecx, [edi + 0x1a04]
mov dword [edi + 0x1a10], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1a20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x110], ecx
cmp eax, dword [esi + 8]
je 0x1006f038
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006f047
lea ecx, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x94c], 0
push str.money
lea ecx, [ebp - 0x95c]
mov dword [ebp - 0x948], 0
movups xmmword [ebp - 0x95c], xmm0
call fcn.10021f80
push 5
xorps xmm0, xmm0
mov dword [ebp - 4], 0x30
push str.armor
lea ecx, [ebp - 0x944]
mov dword [ebp - 0x934], 0
movups xmmword [ebp - 0x944], xmm0
mov dword [ebp - 0x930], 0
call fcn.10021f80
push 6
xorps xmm0, xmm0
mov byte [ebp - 4], 0x31
push str.scoped
lea ecx, [ebp - 0x92c]
mov dword [ebp - 0x91c], 0
movups xmmword [ebp - 0x92c], xmm0
mov dword [ebp - 0x918], 0
call fcn.10021f80
push 7
xorps xmm0, xmm0
mov byte [ebp - 4], 0x32
push str.flashed
lea ecx, [ebp - 0x914]
mov dword [ebp - 0x904], 0
movups xmmword [ebp - 0x914], xmm0
mov dword [ebp - 0x900], 0
call fcn.10021f80
push 9
xorps xmm0, xmm0
mov byte [ebp - 4], 0x33
push str.reloading
lea ecx, [ebp - 0x8fc]
mov dword [ebp - 0x8ec], 0
movups xmmword [ebp - 0x8fc], xmm0
mov dword [ebp - 0x8e8], 0
call fcn.10021f80
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 0x34
push str.bomb
lea ecx, [ebp - 0x8e4]
mov dword [ebp - 0x8d4], 0
movups xmmword [ebp - 0x8e4], xmm0
mov dword [ebp - 0x8d0], 0
call fcn.10021f80
push 8
xorps xmm0, xmm0
mov byte [ebp - 4], 0x35
push str.resolver
lea ecx, [ebp - 0x8cc]
mov dword [ebp - 0x8bc], 0
movups xmmword [ebp - 0x8cc], xmm0
mov dword [ebp - 0x8b8], 0
call fcn.10021f80
lea eax, [ebp - 0x1cd]
mov dword [ebp - 4], 0x36
push eax
lea ecx, [ebp - 0x8b4]
push ecx
lea edx, [ebp - 0x95c]
push edx
lea ecx, [ebp - 0x5ec]
call fcn.1004e020
mov byte [ebp - 4], 0x37
xorps xmm0, xmm0
push 0xb
push 0x100c7648
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x4c8], 0
movups xmmword [ebp - 0x4d8], xmm0
mov dword [ebp - 0x4c4], 0
call fcn.10021f80
push 0xb
xorps xmm0, xmm0
mov byte [ebp - 4], 0x38
push str.flags_enemy
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4b0], 0
movups xmmword [ebp - 0x4c0], xmm0
mov dword [ebp - 0x4ac], 0
call fcn.10021f80
mov dword [ebp - 0x5e0], 0
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x5d8], 0
lea ecx, [edi + 0x6cc]
mov byte [ebp - 4], 0x3a
lea eax, [ebp - 0x4d8]
cmp ecx, eax
je 0x1006f28d
cmp dword [ebp - 0x4c4], 0x10
push dword [ebp - 0x4c8]
cmovae eax, dword [ebp - 0x4d8]
push eax
call fcn.10029d30
lea ecx, [edi + 0x6e8]
mov byte [edi + 0x6c5], 1
lea eax, [ebp - 0x4c0]
cmp ecx, eax
je 0x1006f2be
cmp dword [ebp - 0x4ac], 0x10
push dword [ebp - 0x4b0]
cmovae eax, dword [ebp - 0x4c0]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x6c5], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x5e8]
mov dword [edi + 0x71c], eax
add eax, 0x14
mov dword [edi + 0x688], eax
mov dword [edi + 0x68c], eax
mov eax, dword [ebp - 0x5ec]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006f336
lea ecx, [edi + 0x700]
mov esi, eax
nop
mov eax, dword [edi + 0x704]
push esi
cmp eax, dword [edi + 0x708]
je 0x1006f31f
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x704], 0x18
jmp 0x1006f325
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x700]
cmp esi, dword [ebp - 0x14]
jne 0x1006f300
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x5e0]
call fcn.10025380
lea ecx, [ebp - 0x4c0]
call fcn.10025230
lea ecx, [ebp - 0x4d8]
call fcn.10025230
lea ecx, [ebp - 0x5ec]
call fcn.100290f0
push fcn.10025230
push 7
push 0x18
lea eax, [ebp - 0x95c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov eax, dword [edi + 0x6b8]
lea ecx, [edi + 0x6b4]
mov dword [ebp - 0x98], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006f3a5
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006f3b2
lea edx, [ebp - 0x98]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x690], 1
lea ecx, [edi + 0x678]
mov dword [edi + 0x67c], 0x140
mov dword [edi + 0x684], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x694], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x114], ecx
cmp eax, dword [esi + 8]
je 0x1006f3f5
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006f404
lea ecx, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x8a4], 0
push str.money
lea ecx, [ebp - 0x8b4]
mov dword [ebp - 0x8a0], 0
movups xmmword [ebp - 0x8b4], xmm0
call fcn.10021f80
push 5
xorps xmm0, xmm0
mov dword [ebp - 4], 0x3b
push str.armor
lea ecx, [ebp - 0x89c]
mov dword [ebp - 0x88c], 0
movups xmmword [ebp - 0x89c], xmm0
mov dword [ebp - 0x888], 0
call fcn.10021f80
push 6
xorps xmm0, xmm0
mov byte [ebp - 4], 0x3c
push str.scoped
lea ecx, [ebp - 0x884]
mov dword [ebp - 0x874], 0
movups xmmword [ebp - 0x884], xmm0
mov dword [ebp - 0x870], 0
call fcn.10021f80
push 7
xorps xmm0, xmm0
mov byte [ebp - 4], 0x3d
push str.flashed
lea ecx, [ebp - 0x86c]
mov dword [ebp - 0x85c], 0
movups xmmword [ebp - 0x86c], xmm0
mov dword [ebp - 0x858], 0
call fcn.10021f80
push 9
xorps xmm0, xmm0
mov byte [ebp - 4], 0x3e
push str.reloading
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x844], 0
movups xmmword [ebp - 0x854], xmm0
mov dword [ebp - 0x840], 0
call fcn.10021f80
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 0x3f
push str.bomb
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x82c], 0
movups xmmword [ebp - 0x83c], xmm0
mov dword [ebp - 0x828], 0
call fcn.10021f80
lea eax, [ebp - 0x1ce]
mov dword [ebp - 4], 0x40
push eax
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x8b4]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.1004e020
push 0xe
xorps xmm0, xmm0
mov byte [ebp - 4], 0x41
push 0x100c7660
lea ecx, [ebp - 0x508]
mov dword [ebp - 0x4f8], 0
movups xmmword [ebp - 0x508], xmm0
mov dword [ebp - 0x4f4], 0
call fcn.10021f80
mov byte [ebp - 4], 0x42
xorps xmm0, xmm0
push 0xe
push str.flags_friendly
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x4e0], 0
movups xmmword [ebp - 0x4f0], xmm0
mov dword [ebp - 0x4dc], 0
call fcn.10021f80
mov dword [ebp - 0x5f8], 0
mov dword [ebp - 0x5f4], 0
mov dword [ebp - 0x5f0], 0
lea ecx, [edi + 0x774]
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x508]
cmp ecx, eax
je 0x1006f616
cmp dword [ebp - 0x4f4], 0x10
push dword [ebp - 0x4f8]
cmovae eax, dword [ebp - 0x508]
push eax
call fcn.10029d30
lea ecx, [edi + 0x790]
mov byte [edi + 0x76d], 1
lea eax, [ebp - 0x4f0]
cmp ecx, eax
je 0x1006f647
cmp dword [ebp - 0x4dc], 0x10
push dword [ebp - 0x4e0]
cmovae eax, dword [ebp - 0x4f0]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x76d], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x5c4]
mov dword [edi + 0x7c4], eax
add eax, 0x14
mov dword [edi + 0x730], eax
mov dword [edi + 0x734], eax
mov eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006f6c6
lea ecx, [edi + 0x7a8]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x7ac]
push esi
cmp eax, dword [edi + 0x7b0]
je 0x1006f6af
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x7ac], 0x18
jmp 0x1006f6b5
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x7a8]
cmp esi, dword [ebp - 0x14]
jne 0x1006f690
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x5f8]
call fcn.10025380
lea ecx, [ebp - 0x4f0]
call fcn.10025230
lea ecx, [ebp - 0x508]
call fcn.10025230
lea ecx, [ebp - 0x5c8]
call fcn.100290f0
push fcn.10025230
push 6
push 0x18
lea eax, [ebp - 0x8b4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov eax, dword [edi + 0x760]
lea ecx, [edi + 0x75c]
mov dword [ebp - 0x118], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006f735
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006f742
lea edx, [ebp - 0x118]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x738], 1
lea ecx, [edi + 0x720]
mov dword [edi + 0x724], 0x140
mov dword [edi + 0x72c], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x73c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x11c], ecx
cmp eax, dword [esi + 8]
je 0x1006f785
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006f794
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x7cc], 0
push str.enemy
lea ecx, [ebp - 0x7dc]
mov dword [ebp - 0x7c8], 0
movups xmmword [ebp - 0x7dc], xmm0
call fcn.10021f80
push 8
xorps xmm0, xmm0
mov dword [ebp - 4], 0x45
push str.friendly
lea ecx, [ebp - 0x7c4]
mov dword [ebp - 0x7b4], 0
movups xmmword [ebp - 0x7c4], xmm0
mov dword [ebp - 0x7b0], 0
call fcn.10021f80
lea eax, [ebp - 0x1cf]
mov dword [ebp - 4], 0x46
push eax
lea ecx, [ebp - 0x7ac]
push ecx
lea edx, [ebp - 0x7dc]
push edx
lea ecx, [ebp - 0x610]
call fcn.1004e020
push 6
xorps xmm0, xmm0
mov byte [ebp - 4], 0x47
push str.weapon
lea ecx, [ebp - 0x538]
mov dword [ebp - 0x528], 0
movups xmmword [ebp - 0x538], xmm0
mov dword [ebp - 0x524], 0
call fcn.10021f80
push 6
xorps xmm0, xmm0
mov byte [ebp - 4], 0x48
push str.weapon
lea ecx, [ebp - 0x520]
mov dword [ebp - 0x510], 0
movups xmmword [ebp - 0x520], xmm0
mov dword [ebp - 0x50c], 0
call fcn.10021f80
mov dword [ebp - 0x604], 0
mov dword [ebp - 0x600], 0
mov dword [ebp - 0x5fc], 0
lea ecx, [edi + 0x81c]
mov byte [ebp - 4], 0x4a
lea eax, [ebp - 0x538]
cmp ecx, eax
je 0x1006f8d6
cmp dword [ebp - 0x524], 0x10
push dword [ebp - 0x528]
cmovae eax, dword [ebp - 0x538]
push eax
call fcn.10029d30
lea ecx, [edi + 0x838]
mov byte [edi + 0x815], 1
lea eax, [ebp - 0x520]
cmp ecx, eax
je 0x1006f907
cmp dword [ebp - 0x50c], 0x10
push dword [ebp - 0x510]
cmovae eax, dword [ebp - 0x520]
push eax
call fcn.10029d30
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x815], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x60c]
mov dword [edi + 0x86c], eax
add eax, 0x14
mov dword [edi + 0x7d8], eax
mov dword [edi + 0x7dc], eax
mov eax, dword [ebp - 0x610]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1006f986
lea ecx, [edi + 0x850]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x854]
push esi
cmp eax, dword [edi + 0x858]
je 0x1006f96f
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x854], 0x18
jmp 0x1006f975
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x850]
cmp esi, dword [ebp - 0x14]
jne 0x1006f950
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x604]
call fcn.10025380
lea ecx, [ebp - 0x520]
call fcn.10025230
lea ecx, [ebp - 0x538]
call fcn.10025230
lea ecx, [ebp - 0x610]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x7dc]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
mov eax, dword [edi + 0x808]
lea ecx, [edi + 0x804]
mov dword [ebp - 0x120], 0x1002d310
cmp eax, dword [ecx + 8]
je 0x1006f9f5
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006fa02
lea edx, [ebp - 0x120]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x7e0], 1
lea ecx, [edi + 0x7c8]
mov dword [edi + 0x7cc], 0x140
mov dword [edi + 0x7d4], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x7e4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x124], ecx
cmp eax, dword [esi + 8]
je 0x1006fa45
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006fa54
lea ecx, [ebp - 0x124]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x7fc], 0
push str.text
lea ecx, [ebp - 0x80c]
mov dword [ebp - 0x7f8], 0
movups xmmword [ebp - 0x80c], xmm0
call fcn.10021f80
push 4
xorps xmm0, xmm0
mov dword [ebp - 4], 0x4b
push str.icon
lea ecx, [ebp - 0x7f4]
mov dword [ebp - 0x7e4], 0
movups xmmword [ebp - 0x7f4], xmm0
mov dword [ebp - 0x7e0], 0
call fcn.10021f80
lea eax, [ebp - 0x1d0]
mov dword [ebp - 4], 0x4c
push eax
lea ecx, [ebp - 0x7dc]
push ecx
lea edx, [ebp - 0x80c]
push edx
lea ecx, [ebp - 0x61c]
call fcn.1004e020
push 0xb
xorps xmm0, xmm0
mov byte [ebp - 4], 0x4d
push str.weapon_mode
lea ecx, [ebp - 0x550]
mov dword [ebp - 0x540], 0
movups xmmword [ebp - 0x550], xmm0
mov dword [ebp - 0x53c], 0
call fcn.10021f80
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x4e
push 0x100c48a3
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x824], xmm0
mov dword [ebp - 0x810], 0
call fcn.10021f80
lea ecx, [edi + 0x8c4]
mov byte [ebp - 4], 0x4f
lea eax, [ebp - 0x550]
cmp ecx, eax
je 0x1006fb78
cmp dword [ebp - 0x53c], 0x10
push dword [ebp - 0x540]
cmovae eax, dword [ebp - 0x550]
push eax
call fcn.10029d30
mov byte [edi + 0x8bd], 0
mov dword [edi + 0x90c], 0
mov dword [edi + 0x880], 0x14
mov dword [edi + 0x884], 0x14
mov ecx, dword [ebp - 0x618]
mov eax, dword [ebp - 0x61c]
mov dword [ebp - 0x194], ecx
cmp eax, ecx
je 0x1006fbf9
lea ecx, [edi + 0x8f8]
mov esi, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x8fc]
push esi
cmp eax, dword [edi + 0x900]
je 0x1006fbdf
mov ecx, eax
call fcn.10023b00
add dword [edi + 0x8fc], 0x18
jmp 0x1006fbe5
push eax
call fcn.10042d60
add esi, 0x18
lea ecx, [edi + 0x8f8]
cmp esi, dword [ebp - 0x194]
jne 0x1006fbc0
lea esi, [edi + 0x24]
mov ecx, dword [edi + 0x8fc]
lea edx, [edi + 0x8f8]
sub ecx, dword [edx]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1006fc24
mov dword [edi + 0x908], 0
lea ecx, [ebp - 0x824]
call fcn.10025230
lea ecx, [ebp - 0x550]
call fcn.10025230
lea ecx, [ebp - 0x61c]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0x80c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea ecx, [edi + 0x8ac]
mov dword [ebp - 0x128], 0x1002d310
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1006fc85
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006fc92
lea edx, [ebp - 0x128]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x888], 1
lea ecx, [edi + 0x870]
mov dword [edi + 0x874], 0x140
mov dword [edi + 0x87c], 0xf0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x12c], ecx
mov dword [edi + 0x88c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1006fcd5
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006fce4
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x570], 0
push str.ammo
lea ecx, [ebp - 0x580]
mov dword [ebp - 0x56c], 0
movups xmmword [ebp - 0x580], xmm0
call fcn.10021f80
push 4
xorps xmm0, xmm0
mov dword [ebp - 4], 0x50
push str.ammo
lea ecx, [ebp - 0x568]
mov dword [ebp - 0x558], 0
movups xmmword [ebp - 0x568], xmm0
mov dword [ebp - 0x554], 0
call fcn.10021f80
lea ecx, [edi + 0x964]
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x580]
cmp ecx, eax
je 0x1006fd79
cmp dword [ebp - 0x56c], 0x10
push dword [ebp - 0x570]
cmovae eax, dword [ebp - 0x580]
push eax
call fcn.10029d30
lea ecx, [edi + 0x97c]
mov byte [edi + 0x95d], 1
lea eax, [ebp - 0x568]
cmp ecx, eax
je 0x1006fdaa
cmp dword [ebp - 0x554], 0x10
push dword [ebp - 0x558]
cmovae eax, dword [ebp - 0x568]
push eax
call fcn.10029d30
lea ecx, [ebp - 0x568]
mov byte [edi + 0x994], 0
call fcn.10025230
lea ecx, [ebp - 0x580]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea ecx, [edi + 0x94c]
mov dword [ebp - 0x130], 0x1002d310
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1006fdf2
mov dword [eax], 0x1002d310
add dword [ecx + 4], 4
jmp 0x1006fdff
lea edx, [ebp - 0x130]
push edx
push eax
call fcn.100220a0
mov dword [edi + 0x928], 1
lea ecx, [edi + 0x910]
mov dword [edi + 0x914], 0x140
mov dword [edi + 0x91c], 0xf0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x134], ecx
mov dword [edi + 0x92c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1006fe42
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1006fe51
lea ecx, [ebp - 0x134]
push ecx
push eax
mov ecx, esi
call fcn.100220a0
mov esi, dword [0x101075f4]
lea ecx, [ebp - 0xbb4]
push str.ammo_color
add edi, 0x998
call fcn.1003a510
push str.color
lea ecx, [ebp - 0xbe4]
mov dword [ebp - 4], 0x52
call fcn.1003a510
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0xbe4]
push eax
add ecx, 0xa14
mov byte [ebp - 4], 0x53
call fcn.10042510
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0xbb4]
push eax
lea ecx, [ecx + 0x9ec]
call fcn.10042510
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0xbe4]
mov dword [eax + 0xa2c], esi
mov dword [eax + 0xa30], 0
mov dword [eax + 0xa0c], 0x3f800000
mov byte [eax + 0xa04], 0
call fcn.10025230
lea ecx, [ebp - 0xbb4]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x1002d310
lea ecx, [edi + 0x3c]
push eax
call fcn.10087a30
mov dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x198]
mov dword [edi + 0x9b0], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x99c], 0x140
mov dword [edi + 0x9a4], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x9b4], eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10087a30
push 0x100c76b8
lea ecx, [ebp - 0xd7c]
lea esi, [edi + 0xa34]
call fcn.1003a510
push str.lby_update
lea ecx, [ebp - 0xd64]
mov dword [ebp - 4], 0x54
call fcn.1003a510
lea eax, [ebp - 0xd7c]
mov byte [ebp - 4], 0x55
push eax
lea ecx, [edi + 0xa88]
call fcn.10042510
lea eax, [ebp - 0xd64]
mov byte [edi + 0xa81], 1
push eax
lea ecx, [edi + 0xaa0]
call fcn.10042510
lea ecx, [ebp - 0xd64]
mov byte [edi + 0xab8], 0
call fcn.10025230
lea ecx, [ebp - 0xd7c]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x1002d310
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [ebp - 0x144], esi
mov dword [edi + 0xa4c], 1
mov dword [edi + 0xa38], 0x140
lea ecx, [edi + 0x24]
mov dword [edi + 0xa40], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xa50], eax
lea eax, [ebp - 0x144]
push eax
call fcn.10087a30
mov esi, dword [0x101075fc]
lea ecx, [ebp - 0xdac]
push str.lby_update_color
add edi, 0xabc
call fcn.1003a510
push str.color
lea ecx, [ebp - 0xd94]
mov dword [ebp - 4], 0x56
call fcn.1003a510
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0xd94]
push eax
mov byte [ebp - 4], 0x57
lea ecx, [ecx + 0xb38]
call fcn.10042510
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0xdac]
push eax
lea ecx, [ecx + 0xb10]
call fcn.10042510
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0xd94]
mov dword [eax + 0xb50], esi
mov dword [eax + 0xb54], 0
mov dword [eax + 0xb30], 0x3f800000
mov byte [eax + 0xb28], 0
call fcn.10025230
lea ecx, [ebp - 0xdac]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x1002d310
lea ecx, [edi + 0x3c]
push eax
call fcn.10087a30
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x198]
mov dword [edi + 0xad4], 1
lea esi, [edi + 0x24]
mov dword [edi + 0xac0], 0x140
mov ecx, esi
mov dword [edi + 0xac8], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xad8], eax
lea eax, [ebp - 0x14c]
push eax
call fcn.10087a30
push str.enemy
lea ecx, [ebp - 0xeb4]
call fcn.1003a510
push str.friendly
lea ecx, [ebp - 0xe9c]
mov dword [ebp - 4], 0x58
call fcn.1003a510
push str.local
lea ecx, [ebp - 0xe84]
mov byte [ebp - 4], 0x59
call fcn.1003a510
lea eax, [ebp - 0x1d1]
mov dword [ebp - 4], 0x5a
push eax
lea ecx, [ebp - 0xe6c]
push ecx
lea edx, [ebp - 0xeb4]
push edx
lea ecx, [ebp - 0x628]
call fcn.1004e020
push str.skeleton
lea ecx, [ebp - 0xddc]
mov byte [ebp - 4], 0x5b
call fcn.1003a510
push str.skeleton
lea ecx, [ebp - 0xdc4]
mov byte [ebp - 4], 0x5c
call fcn.1003a510
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 0
lea eax, [ebp - 0xddc]
mov byte [ebp - 4], 0x5e
push eax
lea ecx, [edi + 0xbac]
call fcn.10042510
lea eax, [ebp - 0xdc4]
mov byte [edi + 0xba5], 1
push eax
lea ecx, [edi + 0xbc8]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xba5], al
cmovne eax, ecx
lea ecx, [edi + 0xbe0]
mov dword [edi + 0xbfc], eax
add eax, 0x14
mov dword [edi + 0xb68], eax
mov dword [edi + 0xb6c], eax
mov edx, dword [ebp - 0x624]
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0x190], edx
cmp eax, edx
je 0x1007026c
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x190]
jne 0x10070250
mov edi, dword [ebp - 0x198]
lea esi, [edi + 0x24]
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x18c], ecx
cmp eax, ecx
je 0x10070310
lea ecx, [edi + 0xbf0]
mov esi, eax
nop
mov eax, dword [esi]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
push eax
push ecx
lea eax, [ebp - 0x6ac]
push eax
call fcn.1004ddf0
mov ecx, dword [edi + 0xbf4]
add esp, 0x10
mov dword [ebp - 0x194], ecx
lea ecx, [edi + 0xbe0]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
call fcn.10087a90
cmp dword [ebp - 0x18], eax
jae 0x100702e2
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0xbf0]
call fcn.10087a00
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x194]
jne 0x100702fc
mov eax, dword [edi + 0xba0]
test eax, eax
je 0x100702fc
call eax
add esi, 4
lea ecx, [edi + 0xbf0]
cmp esi, dword [ebp - 0x18c]
jne 0x10070290
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x2f8]
call fcn.10025380
lea ecx, [ebp - 0xdc4]
call fcn.10025230
lea ecx, [ebp - 0xddc]
call fcn.10025230
lea ecx, [ebp - 0x628]
call fcn.100290f0
push fcn.10025230
push 3
push 0x18
lea eax, [ebp - 0xeb4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x1002d310
lea ecx, [edi + 0xb94]
push eax
call fcn.10087a30
mov dword [edi + 0xb70], 1
lea eax, [edi + 0xb58]
mov dword [edi + 0xb5c], 0x140
mov ecx, esi
mov dword [ebp - 0x154], eax
mov dword [edi + 0xb64], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xb74], eax
lea eax, [ebp - 0x154]
push eax
call fcn.10087a30
push str.skeleton_enemy
lea ecx, [ebp - 0x974]
lea esi, [edi + 0xc00]
call fcn.1003a510
push str.enemy_color
lea ecx, [ebp - 0xdf4]
mov dword [ebp - 4], 0x5f
call fcn.1003a510
lea eax, [ebp - 0xdf4]
mov byte [ebp - 4], 0x60
push eax
lea ecx, [edi + 0xc7c]
mov dword [ebp - 0x19c], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0x974]
push eax
lea ecx, [edi + 0xc54]
call fcn.10042510
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0xdf4]
mov dword [edi + 0xc94], eax
mov dword [edi + 0xc98], 0
mov dword [edi + 0xc74], 0x3f800000
mov byte [edi + 0xc6c], 0
call fcn.10025230
lea ecx, [ebp - 0x974]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x1002d310
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0xc18], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0xc04], 0x140
mov dword [edi + 0xc0c], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xc1c], eax
lea eax, [ebp - 0x15c]
push eax
mov dword [ebp - 0x15c], esi
call fcn.10087a30
push str.skeleton_friendly
lea ecx, [ebp - 0x9a4]
lea esi, [edi + 0xc9c]
call fcn.1003a510
push str.friendly_color
lea ecx, [ebp - 0x98c]
mov dword [ebp - 4], 0x61
call fcn.1003a510
lea eax, [ebp - 0x98c]
mov byte [ebp - 4], 0x62
push eax
lea ecx, [edi + 0xd18]
mov dword [ebp - 0x1a0], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0x9a4]
push eax
lea ecx, [edi + 0xcf0]
call fcn.10042510
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x98c]
mov dword [edi + 0xd30], eax
mov dword [edi + 0xd34], 0
mov dword [edi + 0xd10], 0x3f800000
mov byte [edi + 0xd08], 0
call fcn.10025230
lea ecx, [ebp - 0x9a4]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0x1002d310
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0xcb4], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0xca0], 0x140
mov dword [edi + 0xca8], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xcb8], eax
lea eax, [ebp - 0x164]
push eax
mov dword [ebp - 0x164], esi
call fcn.10087a30
push str.skeleton_local
lea ecx, [ebp - 0x9d4]
lea esi, [edi + 0xd38]
call fcn.1003a510
push str.local_color
lea ecx, [ebp - 0x9bc]
mov dword [ebp - 4], 0x63
call fcn.1003a510
lea eax, [ebp - 0x9bc]
mov byte [ebp - 4], 0x64
push eax
lea ecx, [edi + 0xdb4]
mov dword [ebp - 0x1a4], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0x9d4]
push eax
lea ecx, [edi + 0xd8c]
call fcn.10042510
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x9bc]
mov dword [edi + 0xdcc], eax
mov dword [edi + 0xdd0], 0
mov dword [edi + 0xdac], 0x3f800000
mov byte [edi + 0xda4], 0
call fcn.10025230
lea ecx, [ebp - 0x9d4]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 0x1002d310
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0xd50], 1
mov dword [edi + 0xd3c], 0x140
mov dword [edi + 0xd44], 0xf0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x16c], esi
mov dword [edi + 0xd54], eax
lea eax, [ebp - 0x16c]
lea esi, [edi + 0x24]
push eax
mov ecx, esi
call fcn.10087a30
push str.enemy
lea ecx, [ebp - 0xefc]
call fcn.1003a510
push str.friendly
lea ecx, [ebp - 0xee4]
mov dword [ebp - 4], 0x65
call fcn.1003a510
push str.local
lea ecx, [ebp - 0xecc]
mov byte [ebp - 4], 0x66
call fcn.1003a510
lea eax, [ebp - 0x1d2]
mov dword [ebp - 4], 0x67
push eax
lea ecx, [ebp - 0xeb4]
push ecx
lea edx, [ebp - 0xefc]
push edx
lea ecx, [ebp - 0x634]
call fcn.1004e020
push str.glow
lea ecx, [ebp - 0xa04]
mov byte [ebp - 4], 0x68
call fcn.1003a510
push str.glow
lea ecx, [ebp - 0x9ec]
mov byte [ebp - 4], 0x69
call fcn.1003a510
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
lea eax, [ebp - 0xa04]
mov byte [ebp - 4], 0x6b
push eax
lea ecx, [edi + 0xe28]
call fcn.10042510
lea eax, [ebp - 0x9ec]
mov byte [edi + 0xe21], 1
push eax
lea ecx, [edi + 0xe44]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xe21], al
cmovne eax, ecx
lea ecx, [edi + 0xe5c]
mov dword [edi + 0xe78], eax
add eax, 0x14
mov dword [edi + 0xde4], eax
mov dword [edi + 0xde8], eax
mov edx, dword [ebp - 0x630]
mov eax, dword [ebp - 0x634]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x194], ecx
cmp eax, edx
je 0x100707dd
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x100707c1
mov edi, dword [ebp - 0x198]
lea esi, [edi + 0x24]
mov ecx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x18c], ecx
cmp eax, ecx
je 0x10070880
lea ecx, [edi + 0xe6c]
mov esi, eax
nop
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
push eax
push ecx
lea eax, [ebp - 0x6a8]
push eax
call fcn.1004ddf0
mov ecx, dword [edi + 0xe70]
add esp, 0x10
mov dword [ebp - 0x194], ecx
lea ecx, [edi + 0xe5c]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
call fcn.10087a90
cmp dword [ebp - 0x1c], eax
jae 0x10070852
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0xe6c]
call fcn.10087a00
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x194]
jne 0x1007086c
mov eax, dword [edi + 0xe1c]
test eax, eax
je 0x1007086c
call eax
add esi, 4
lea ecx, [edi + 0xe6c]
cmp esi, dword [ebp - 0x18c]
jne 0x10070800
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x304]
call fcn.10025380
lea ecx, [ebp - 0x9ec]
call fcn.10025230
lea ecx, [ebp - 0xa04]
call fcn.10025230
lea ecx, [ebp - 0x634]
call fcn.100290f0
push fcn.10025230
push 3
push 0x18
lea eax, [ebp - 0xefc]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0x1002d360
lea ecx, [edi + 0xe10]
push eax
call fcn.10087a30
mov dword [edi + 0xdec], 0
lea eax, [edi + 0xdd4]
mov dword [edi + 0xdd8], 0xa
mov ecx, esi
mov dword [ebp - 0x174], eax
mov dword [edi + 0xde0], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xdf0], eax
lea eax, [ebp - 0x174]
push eax
call fcn.10087a30
push str.glow_enemy
lea ecx, [ebp - 0xa34]
lea esi, [edi + 0xe7c]
call fcn.1003a510
push str.enemy_color
lea ecx, [ebp - 0xa1c]
mov dword [ebp - 4], 0x6c
call fcn.1003a510
lea eax, [ebp - 0xa1c]
mov byte [ebp - 4], 0x6d
push eax
lea ecx, [edi + 0xef8]
mov dword [ebp - 0x1a8], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xa34]
push eax
lea ecx, [edi + 0xed0]
call fcn.10042510
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0xa1c]
mov dword [edi + 0xf10], eax
mov dword [edi + 0xf14], 0
mov dword [edi + 0xef0], 0x3f800000
mov byte [edi + 0xee8], 1
call fcn.10025230
lea ecx, [ebp - 0xa34]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0xe94], 0
lea ecx, [edi + 0x24]
mov dword [edi + 0xe80], 0xa
mov dword [edi + 0xe88], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xe98], eax
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 0x17c], esi
call fcn.10087a30
push str.glow_friendly
lea ecx, [ebp - 0xa64]
lea esi, [edi + 0xf18]
call fcn.1003a510
push str.friendly_color
lea ecx, [ebp - 0xa4c]
mov dword [ebp - 4], 0x6e
call fcn.1003a510
lea eax, [ebp - 0xa4c]
mov byte [ebp - 4], 0x6f
push eax
lea ecx, [edi + 0xf94]
mov dword [ebp - 0x1ac], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xa64]
push eax
lea ecx, [edi + 0xf6c]
call fcn.10042510
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0xa4c]
mov dword [edi + 0xfac], eax
mov dword [edi + 0xfb0], 0
mov dword [edi + 0xf8c], 0x3f800000
mov byte [edi + 0xf84], 1
call fcn.10025230
lea ecx, [ebp - 0xa64]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x180]
mov dword [ebp - 0x180], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0xf30], 0
lea ecx, [edi + 0x24]
mov dword [edi + 0xf1c], 0xa
mov dword [edi + 0xf24], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0xf34], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], esi
call fcn.10087a30
push str.glow_local
lea ecx, [ebp - 0xa94]
lea esi, [edi + 0xfb4]
call fcn.1003a510
push str.local_color
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 4], 0x70
call fcn.1003a510
lea eax, [ebp - 0xa7c]
mov byte [ebp - 4], 0x71
push eax
lea ecx, [edi + 0x1030]
mov dword [ebp - 0x1b0], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xa94]
push eax
lea ecx, [edi + 0x1008]
call fcn.10042510
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0xa7c]
mov dword [edi + 0x1048], eax
mov dword [edi + 0x104c], 0
mov dword [edi + 0x1028], 0x3f800000
mov byte [edi + 0x1020], 1
call fcn.10025230
lea ecx, [ebp - 0xa94]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x184]
mov dword [ebp - 0x184], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0xfcc], 0
mov dword [edi + 0xfb8], 0xa
mov dword [edi + 0xfc0], 0xf0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x188], esi
mov dword [edi + 0xfd0], eax
lea eax, [ebp - 0x188]
lea esi, [edi + 0x24]
push eax
mov ecx, esi
call fcn.10087a30
push str.visible
lea ecx, [ebp - 0xe3c]
call fcn.1003a510
push str.invisible
lea ecx, [ebp - 0xe24]
mov dword [ebp - 4], 0x72
call fcn.1003a510
lea eax, [ebp - 0x1d3]
mov dword [ebp - 4], 0x73
push eax
lea ecx, [ebp - 0xe0c]
push ecx
lea edx, [ebp - 0xe3c]
push edx
lea ecx, [ebp - 0x640]
call fcn.1004e020
push 0x100c7798
lea ecx, [ebp - 0xac4]
mov byte [ebp - 4], 0x74
call fcn.1003a510
push str.chams_enemy
lea ecx, [ebp - 0xaac]
mov byte [ebp - 4], 0x75
call fcn.1003a510
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
lea eax, [ebp - 0xac4]
mov byte [ebp - 4], 0x77
push eax
lea ecx, [edi + 0x10a4]
call fcn.10042510
lea eax, [ebp - 0xaac]
mov byte [edi + 0x109d], 1
push eax
lea ecx, [edi + 0x10c0]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x109d], al
cmovne eax, ecx
lea ecx, [edi + 0x10d8]
mov dword [edi + 0x10f4], eax
add eax, 0x14
mov dword [edi + 0x1060], eax
mov dword [edi + 0x1064], eax
mov edx, dword [ebp - 0x63c]
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x194], ecx
cmp eax, edx
je 0x10070d33
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x10070d17
mov edi, dword [ebp - 0x198]
lea esi, [edi + 0x24]
mov ecx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x18c], ecx
cmp eax, ecx
je 0x10070dd5
lea ecx, [edi + 0x10e8]
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
push eax
push ecx
lea eax, [ebp - 0x6a4]
push eax
call fcn.1004ddf0
mov ecx, dword [edi + 0x10ec]
add esp, 0x10
mov dword [ebp - 0x194], ecx
lea ecx, [edi + 0x10d8]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
call fcn.10087a90
cmp dword [ebp - 0x20], eax
jae 0x10070da7
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x10e8]
call fcn.10087a00
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x194]
jne 0x10070dc1
mov eax, dword [edi + 0x1098]
test eax, eax
je 0x10070dc1
call eax
add esi, 4
lea ecx, [edi + 0x10e8]
cmp esi, dword [ebp - 0x18c]
jne 0x10070d55
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x310]
call fcn.10025380
lea ecx, [ebp - 0xaac]
call fcn.10025230
lea ecx, [ebp - 0xac4]
call fcn.10025230
lea ecx, [ebp - 0x640]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0xe3c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x1002d360
lea ecx, [edi + 0x108c]
push eax
call fcn.10087a30
mov dword [edi + 0x1068], 0
lea eax, [edi + 0x1050]
mov dword [edi + 0x1054], 0xa
mov ecx, esi
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x105c], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x106c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10087a30
push str.normal
lea ecx, [ebp - 0xf44]
call fcn.1003a510
push str.flat
lea ecx, [ebp - 0xf2c]
mov dword [ebp - 4], 0x78
call fcn.1003a510
push str.metallic
lea ecx, [ebp - 0xf14]
mov byte [ebp - 4], 0x79
call fcn.1003a510
lea eax, [ebp - 0x1d4]
mov dword [ebp - 4], 0x7a
push eax
lea ecx, [ebp - 0xefc]
push ecx
lea edx, [ebp - 0xf44]
push edx
lea ecx, [ebp - 0x5d4]
call fcn.1004e020
push str.chams_enemy_mat
lea ecx, [ebp - 0xaf4]
mov byte [ebp - 4], 0x7b
call fcn.1003a510
push str.chams_material
lea ecx, [ebp - 0xadc]
mov byte [ebp - 4], 0x7c
call fcn.1003a510
lea eax, [ebp - 0xaf4]
mov byte [ebp - 4], 0x7d
push eax
lea ecx, [edi + 0x114c]
call fcn.10042510
lea eax, [ebp - 0xadc]
mov byte [edi + 0x1145], 1
push eax
lea ecx, [edi + 0x1164]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1145], al
cmovne eax, ecx
mov dword [edi + 0x1194], eax
add eax, 0x14
mov dword [edi + 0x1108], eax
lea ecx, [edi + 0x1180]
mov dword [edi + 0x110c], eax
mov edx, dword [ebp - 0x5d0]
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x18c], ecx
cmp eax, edx
je 0x10070f94
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x194]
jne 0x10070f72
mov edi, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x18c]
lea esi, [edi + 0x24]
call fcn.10087a90
test eax, eax
je 0x10070fa7
mov dword [edi + 0x1190], 0
lea ecx, [ebp - 0xadc]
call fcn.10025230
lea ecx, [ebp - 0xaf4]
call fcn.10025230
lea ecx, [ebp - 0x5d4]
call fcn.100290f0
push fcn.10025230
push 3
push 0x18
lea eax, [ebp - 0xf44]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x1002d360
lea ecx, [edi + 0x1134]
push eax
call fcn.10087a30
mov dword [edi + 0x1110], 0
lea eax, [edi + 0x10f8]
mov dword [edi + 0x10fc], 0xa
mov ecx, esi
mov dword [ebp - 0x34], eax
mov dword [edi + 0x1104], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1114], eax
lea eax, [ebp - 0x34]
push eax
call fcn.10087a30
push str.chams_enemy_vis
lea ecx, [ebp - 0xb24]
lea esi, [edi + 0x1198]
call fcn.1003a510
push str.color_visible
lea ecx, [ebp - 0xb0c]
mov dword [ebp - 4], 0x7e
call fcn.1003a510
lea eax, [ebp - 0xb0c]
mov byte [ebp - 4], 0x7f
push eax
lea ecx, [edi + 0x1214]
mov dword [ebp - 0x1b4], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xb24]
push eax
lea ecx, [edi + 0x11ec]
call fcn.10042510
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0xb0c]
mov dword [edi + 0x122c], eax
mov dword [edi + 0x1230], 0
mov dword [edi + 0x120c], 0x3f800000
mov byte [edi + 0x1204], 1
call fcn.10025230
lea ecx, [ebp - 0xb24]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x11b0], 0
lea ecx, [edi + 0x24]
mov dword [edi + 0x119c], 0xa
mov dword [edi + 0x11a4], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x11b4], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
call fcn.10087a30
push str.chams_enemy_invis
lea ecx, [ebp - 0xb54]
lea esi, [edi + 0x1234]
call fcn.1003a510
mov dword [ebp - 4], 0x80
push str.color_invisible
lea ecx, [ebp - 0xb3c]
call fcn.1003a510
lea eax, [ebp - 0xb3c]
mov byte [ebp - 4], 0x81
push eax
lea ecx, [edi + 0x12b0]
mov dword [ebp - 0x1b8], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xb54]
push eax
lea ecx, [edi + 0x1288]
call fcn.10042510
mov eax, dword [ebp - 0x1b8]
lea ecx, [ebp - 0xb3c]
mov dword [edi + 0x12c8], eax
mov dword [edi + 0x12cc], 0
mov dword [edi + 0x12a8], 0x3f800000
mov byte [edi + 0x12a0], 1
call fcn.10025230
lea ecx, [ebp - 0xb54]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x124c], 0
lea ecx, [edi + 0x24]
mov dword [edi + 0x1238], 0xa
mov dword [edi + 0x1240], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1250], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], esi
call fcn.10087a30
push 0x100c7804
lea ecx, [ebp - 0xb84]
lea esi, [edi + 0x12d0]
call fcn.1003a510
push str.chams_history
lea ecx, [ebp - 0xb6c]
mov dword [ebp - 4], 0x82
call fcn.1003a510
lea eax, [ebp - 0xb84]
mov byte [ebp - 4], 0x83
push eax
lea ecx, [edi + 0x1324]
call fcn.10042510
lea eax, [ebp - 0xb6c]
mov byte [edi + 0x131d], 1
push eax
lea ecx, [edi + 0x133c]
call fcn.10042510
lea ecx, [ebp - 0xb6c]
mov byte [edi + 0x1354], 0
call fcn.10025230
lea ecx, [ebp - 0xb84]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x12e8], 0
lea ecx, [edi + 0x24]
mov dword [edi + 0x12d4], 0xa
mov dword [edi + 0x12dc], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x12ec], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], esi
call fcn.10087a30
lea esi, [edi + 0x1358]
push str.chams_history_col
lea ecx, [ebp - 0xe0c]
call fcn.1003a510
push str.color
lea ecx, [ebp - 0xb9c]
mov dword [ebp - 4], 0x84
call fcn.1003a510
lea eax, [ebp - 0xb9c]
mov byte [ebp - 4], 0x85
push eax
lea ecx, [edi + 0x13d4]
mov dword [ebp - 0x1bc], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xe0c]
push eax
lea ecx, [edi + 0x13ac]
call fcn.10042510
mov eax, dword [ebp - 0x1bc]
lea ecx, [ebp - 0xb9c]
mov dword [edi + 0x13ec], eax
mov dword [edi + 0x13f0], 0
mov dword [edi + 0x13cc], 0x3f800000
mov byte [edi + 0x13c4], 1
call fcn.10025230
lea ecx, [ebp - 0xe0c]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x1370], 0
mov dword [edi + 0x135c], 0xa
mov dword [edi + 0x1364], 0xf0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x54], esi
lea esi, [edi + 0x24]
mov dword [edi + 0x1374], eax
mov ecx, esi
lea eax, [ebp - 0x54]
push eax
call fcn.10087a30
push str.visible
lea ecx, [ebp - 0xe6c]
call fcn.1003a510
push str.invisible
lea ecx, [ebp - 0xe54]
mov dword [ebp - 4], 0x86
call fcn.1003a510
lea eax, [ebp - 0x1d5]
mov dword [ebp - 4], 0x87
push eax
lea ecx, [ebp - 0xe3c]
push ecx
lea edx, [ebp - 0xe6c]
push edx
lea ecx, [ebp - 0x658]
call fcn.1004e020
push 0x100c7838
lea ecx, [ebp - 0xd4c]
mov byte [ebp - 4], 0x88
call fcn.1003a510
push str.chams_friendly
lea ecx, [ebp - 0xbcc]
mov byte [ebp - 4], 0x89
call fcn.1003a510
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
lea eax, [ebp - 0xd4c]
mov byte [ebp - 4], 0x8b
push eax
lea ecx, [edi + 0x1448]
call fcn.10042510
lea eax, [ebp - 0xbcc]
mov byte [edi + 0x1441], 1
push eax
lea ecx, [edi + 0x1464]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1441], al
cmovne eax, ecx
lea ecx, [edi + 0x147c]
mov dword [edi + 0x1498], eax
add eax, 0x14
mov dword [edi + 0x1404], eax
mov dword [edi + 0x1408], eax
mov edx, dword [ebp - 0x654]
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x194], ecx
cmp eax, edx
je 0x100714ee
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x100714d2
mov edi, dword [ebp - 0x198]
lea esi, [edi + 0x24]
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x18c], ecx
cmp eax, ecx
je 0x10071590
lea ecx, [edi + 0x148c]
mov esi, eax
mov eax, dword [esi]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
push eax
push ecx
lea eax, [ebp - 0x6bc]
push eax
call fcn.1004ddf0
mov ecx, dword [edi + 0x1490]
add esp, 0x10
mov dword [ebp - 0x194], ecx
lea ecx, [edi + 0x147c]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
call fcn.10087a90
cmp dword [ebp - 0x14], eax
jae 0x10071562
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x148c]
call fcn.10087a00
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x194]
jne 0x1007157c
mov eax, dword [edi + 0x143c]
test eax, eax
je 0x1007157c
call eax
add esi, 4
lea ecx, [edi + 0x148c]
cmp esi, dword [ebp - 0x18c]
jne 0x10071510
lea esi, [edi + 0x24]
lea ecx, [ebp - 0x2ec]
call fcn.10025380
lea ecx, [ebp - 0xbcc]
call fcn.10025230
lea ecx, [ebp - 0xd4c]
call fcn.10025230
lea ecx, [ebp - 0x658]
call fcn.100290f0
push fcn.10025230
push 2
push 0x18
lea eax, [ebp - 0xe6c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x1002d360
lea ecx, [edi + 0x1430]
push eax
call fcn.10087a30
mov dword [edi + 0x140c], 1
lea eax, [edi + 0x13f4]
mov dword [edi + 0x13f8], 0x140
mov ecx, esi
mov dword [ebp - 0x5c], eax
mov dword [edi + 0x1400], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1410], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10087a30
push str.normal
lea ecx, [ebp - 0xf8c]
call fcn.1003a510
push str.flat
lea ecx, [ebp - 0xf74]
mov dword [ebp - 4], 0x8c
call fcn.1003a510
push str.metallic
lea ecx, [ebp - 0xf5c]
mov byte [ebp - 4], 0x8d
call fcn.1003a510
lea eax, [ebp - 0x1d6]
mov dword [ebp - 4], 0x8e
push eax
lea ecx, [ebp - 0xf44]
push ecx
lea edx, [ebp - 0xf8c]
push edx
lea ecx, [ebp - 0x664]
call fcn.1004e020
push str.chams_friendly_mat
lea ecx, [ebp - 0xc14]
mov byte [ebp - 4], 0x8f
call fcn.1003a510
push str.chams_friendly_material
lea ecx, [ebp - 0xbfc]
mov byte [ebp - 4], 0x90
call fcn.1003a510
lea eax, [ebp - 0xc14]
mov byte [ebp - 4], 0x91
push eax
lea ecx, [edi + 0x14f0]
call fcn.10042510
lea eax, [ebp - 0xbfc]
mov byte [edi + 0x14e9], 1
push eax
lea ecx, [edi + 0x1508]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x14e9], al
cmovne eax, ecx
mov dword [edi + 0x1538], eax
add eax, 0x14
mov dword [edi + 0x14ac], eax
lea ecx, [edi + 0x1524]
mov dword [edi + 0x14b0], eax
mov edx, dword [ebp - 0x660]
mov eax, dword [ebp - 0x664]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x18c], ecx
cmp eax, edx
je 0x10071755
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x194]
jne 0x10071733
mov edi, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x18c]
lea esi, [edi + 0x24]
call fcn.10087a90
test eax, eax
je 0x10071768
mov dword [edi + 0x1534], 0
lea ecx, [ebp - 0xbfc]
call fcn.10025230
lea ecx, [ebp - 0xc14]
call fcn.10025230
lea ecx, [ebp - 0x664]
call fcn.100290f0
push fcn.10025230
push 3
push 0x18
lea eax, [ebp - 0xf8c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x1002d360
lea ecx, [edi + 0x14d8]
push eax
call fcn.10087a30
mov dword [edi + 0x14b4], 1
lea eax, [edi + 0x149c]
mov dword [edi + 0x14a0], 0x140
mov ecx, esi
mov dword [ebp - 0x64], eax
mov dword [edi + 0x14a8], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x14b8], eax
lea eax, [ebp - 0x64]
push eax
call fcn.10087a30
push str.chams_friendly_vis
lea ecx, [ebp - 0xc44]
lea esi, [edi + 0x153c]
call fcn.1003a510
push str.color_visible
lea ecx, [ebp - 0xc2c]
mov dword [ebp - 4], 0x92
call fcn.1003a510
lea eax, [ebp - 0xc2c]
mov byte [ebp - 4], 0x93
push eax
lea ecx, [edi + 0x15b8]
mov dword [ebp - 0x1c0], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xc44]
push eax
lea ecx, [edi + 0x1590]
call fcn.10042510
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0xc2c]
mov dword [edi + 0x15d0], eax
mov dword [edi + 0x15d4], 0
mov dword [edi + 0x15b0], 0x3f800000
mov byte [edi + 0x15a8], 1
call fcn.10025230
lea ecx, [ebp - 0xc44]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x1554], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x1540], 0x140
mov dword [edi + 0x1548], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1558], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], esi
call fcn.10087a30
push str.chams_friendly_invis
lea ecx, [ebp - 0xc74]
lea esi, [edi + 0x15d8]
call fcn.1003a510
mov dword [ebp - 4], 0x94
push str.color_invisible
lea ecx, [ebp - 0xc5c]
call fcn.1003a510
lea eax, [ebp - 0xc5c]
mov byte [ebp - 4], 0x95
push eax
lea ecx, [edi + 0x1654]
mov dword [ebp - 0x1c4], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xc74]
push eax
lea ecx, [edi + 0x162c]
call fcn.10042510
mov eax, dword [ebp - 0x1c4]
lea ecx, [ebp - 0xc5c]
mov dword [edi + 0x166c], eax
mov dword [edi + 0x1670], 0
mov dword [edi + 0x164c], 0x3f800000
mov byte [edi + 0x1644], 1
call fcn.10025230
lea ecx, [ebp - 0xc74]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x15f0], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x15dc], 0x140
mov dword [edi + 0x15e4], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x15f4], eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], esi
call fcn.10087a30
push 0x100c78b0
lea ecx, [ebp - 0xca4]
lea esi, [edi + 0x1674]
call fcn.1003a510
push str.chams_local
lea ecx, [ebp - 0xc8c]
mov dword [ebp - 4], 0x96
call fcn.1003a510
lea eax, [ebp - 0xca4]
mov byte [ebp - 4], 0x97
push eax
lea ecx, [edi + 0x16c8]
call fcn.10042510
lea eax, [ebp - 0xc8c]
mov byte [edi + 0x16c1], 1
push eax
lea ecx, [edi + 0x16e0]
call fcn.10042510
lea ecx, [ebp - 0xc8c]
mov byte [edi + 0x16f8], 0
call fcn.10025230
lea ecx, [ebp - 0xca4]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x168c], 1
mov dword [edi + 0x1678], 0x140
mov dword [edi + 0x1680], 0xf0
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x7c], esi
lea esi, [edi + 0x24]
mov dword [edi + 0x1690], eax
mov ecx, esi
lea eax, [ebp - 0x7c]
push eax
call fcn.10087a30
push str.normal
lea ecx, [ebp - 0xfd4]
call fcn.1003a510
push str.flat
lea ecx, [ebp - 0xfbc]
mov dword [ebp - 4], 0x98
call fcn.1003a510
push str.metallic
lea ecx, [ebp - 0xfa4]
mov byte [ebp - 4], 0x99
call fcn.1003a510
lea eax, [ebp - 0x1d7]
mov dword [ebp - 4], 0x9a
push eax
lea ecx, [ebp - 0xf8c]
push ecx
lea edx, [ebp - 0xfd4]
push edx
lea ecx, [ebp - 0x670]
call fcn.1004e020
push str.chams_local_mat
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0x9b
call fcn.1003a510
push str.chams_local_material
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x9c
call fcn.1003a510
lea eax, [ebp - 0xcd4]
mov byte [ebp - 4], 0x9d
push eax
lea ecx, [edi + 0x1750]
call fcn.10042510
lea eax, [ebp - 0xcbc]
mov byte [edi + 0x1749], 1
push eax
lea ecx, [edi + 0x1768]
call fcn.10042510
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1749], al
cmovne eax, ecx
lea ecx, [edi + 0x1784]
mov dword [edi + 0x1798], eax
add eax, 0x14
mov dword [edi + 0x170c], eax
mov dword [edi + 0x1710], eax
mov edx, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x670]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x18c], ecx
cmp eax, edx
je 0x10071bc2
mov esi, eax
mov edi, ecx
nop dword [eax]
push esi
mov ecx, edi
call fcn.10087a60
add esi, 0x18
cmp esi, dword [ebp - 0x194]
jne 0x10071ba0
mov edi, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x18c]
lea esi, [edi + 0x24]
call fcn.10087a90
test eax, eax
je 0x10071bd5
mov dword [edi + 0x1794], 0
lea ecx, [ebp - 0xcbc]
call fcn.10025230
lea ecx, [ebp - 0xcd4]
call fcn.10025230
lea ecx, [ebp - 0x670]
call fcn.100290f0
push fcn.10025230
push 3
push 0x18
lea eax, [ebp - 0xfd4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100b5633
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x1002d360
lea ecx, [edi + 0x1738]
push eax
call fcn.10087a30
mov dword [edi + 0x1714], 1
lea eax, [edi + 0x16fc]
mov dword [edi + 0x1700], 0x140
mov ecx, esi
mov dword [ebp - 0x84], eax
mov dword [edi + 0x1708], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1718], eax
lea eax, [ebp - 0x84]
push eax
call fcn.10087a30
push str.chams_local_col
lea ecx, [ebp - 0xd04]
lea esi, [edi + 0x179c]
call fcn.1003a510
push str.color
lea ecx, [ebp - 0xcec]
mov dword [ebp - 4], 0x9e
call fcn.1003a510
lea eax, [ebp - 0xcec]
mov byte [ebp - 4], 0x9f
push eax
lea ecx, [edi + 0x1818]
mov dword [ebp - 0x1c8], 0xffffffff
call fcn.10042510
lea eax, [ebp - 0xd04]
push eax
lea ecx, [edi + 0x17f0]
call fcn.10042510
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0xcec]
mov dword [edi + 0x1830], eax
mov dword [edi + 0x1834], 0
mov dword [edi + 0x1810], 0x3f800000
mov byte [edi + 0x1808], 1
call fcn.10025230
lea ecx, [ebp - 0xd04]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x1002d360
lea ecx, [esi + 0x3c]
push eax
call fcn.10087a30
mov dword [edi + 0x17b4], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x17a0], 0x140
mov dword [edi + 0x17a8], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x17b8], eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x8c], esi
call fcn.10087a30
push str.chams_local_scope
lea ecx, [ebp - 0xd34]
lea esi, [edi + 0x1838]
call fcn.1003a510
mov dword [ebp - 4], 0xa0
push str.blend_when_scoped
lea ecx, [ebp - 0xd1c]
call fcn.1003a510
lea eax, [ebp - 0xd34]
mov byte [ebp - 4], 0xa1
push eax
lea ecx, [edi + 0x188c]
call fcn.10042510
lea eax, [ebp - 0xd1c]
mov byte [edi + 0x1885], 1
push eax
lea ecx, [edi + 0x18a4]
call fcn.10042510
lea ecx, [ebp - 0xd1c]
mov byte [edi + 0x18bc], 0
call fcn.10025230
lea ecx, [ebp - 0xd34]
mov dword [ebp - 4], 0xffffffff
call fcn.10025230
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x1002d360
lea ecx, [edi + 0x1874]
push eax
call fcn.10087a30
mov dword [edi + 0x1850], 1
lea ecx, [edi + 0x24]
mov dword [edi + 0x183c], 0x140
mov dword [edi + 0x1844], 0xf0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1854], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], esi
call fcn.10087a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b5aae
mov esp, ebp
pop ebp
ret