Function at 0x1009ab90
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb965
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xfa8
mov eax, dword [0x10122040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x188], edi
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x320], 0
push str.players
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x31c], 0
movups xmmword [ebp - 0x330], xmm0
call fcn.1002fd20
lea eax, [ebp - 0x330]
mov dword [ebp - 4], 0
cmp edi, eax
je 0x1009ac36
cmp dword [ebp - 0x31c], 0xf
mov ecx, edi
push dword [ebp - 0x320]
cmova eax, dword [ebp - 0x330]
push eax
call fcn.1002f120
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x31c]
cmp ecx, 0xf
jbe 0x1009ac77
mov edx, dword [ebp - 0x330]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ac6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x320], 0
push 0x10111910
lea ecx, [ebp - 0x684]
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
movups xmmword [ebp - 0x684], xmm0
mov dword [ebp - 0x674], 0
mov dword [ebp - 0x670], 0
call fcn.1002fd20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x66c]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x65c], 0
push str.model
movups xmmword [ebp - 0x66c], xmm0
mov dword [ebp - 0x658], 0
call fcn.1002fd20
lea ecx, [ebp - 0x684]
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp - 0x654]
push eax
push ecx
lea ecx, [ebp - 0x61c]
call fcn.100c12e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x348]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x338], 0
push 0x1011008c
movups xmmword [ebp - 0x348], xmm0
mov dword [ebp - 0x334], 0
call fcn.1002fd20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4b8]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x4a8], 0
push 0x10102794
movups xmmword [ebp - 0x4b8], xmm0
mov dword [ebp - 0x4a4], 0
call fcn.1002fd20
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x348]
cmp ecx, eax
je 0x1009adad
cmp dword [ebp - 0x334], 0xf
push dword [ebp - 0x338]
cmova eax, dword [ebp - 0x348]
push eax
call fcn.1002f120
mov eax, dword [ebp - 0x618]
mov esi, dword [ebp - 0x61c]
mov byte [edi + 0x99], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0x40], 0x14
mov dword [edi + 0x44], 0x14
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009ae23
lea ecx, [edi + 0xb8]
nop word [eax + eax]
mov eax, dword [edi + 0xbc]
push esi
cmp eax, dword [edi + 0xc0]
je 0x1009ae0f
mov ecx, eax
call fcn.1002ece0
add dword [edi + 0xbc], 0x18
jmp 0x1009ae15
push eax
call fcn.10050a50
add esi, 0x18
lea ecx, [edi + 0xb8]
cmp esi, dword [ebp - 0x18]
jne 0x1009adf0
mov ecx, dword [edi + 0xbc]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0xb8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1009ae4c
mov dword [edi + 0xc8], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x4a4]
cmp ecx, 0xf
jbe 0x1009ae86
mov edx, dword [ebp - 0x4b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ae7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aed1
push ecx
push edx
call fcn.100f3781
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0xf
mov byte [ebp - 0x4b8], 0
cmp ecx, 0xf
jbe 0x1009aee1
mov edx, dword [ebp - 0x348]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009aed7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009aed7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
lea ecx, [ebp - 0x61c]
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
mov byte [ebp - 0x348], 0
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0x684]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
mov dword [edi + 0x48], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x34], 0x14
lea edx, [edi + 0x30]
mov dword [edi + 0x3c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], edx
cmp eax, dword [ecx + 8]
je 0x1009af57
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009af61
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.10030710
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x6a4], 0
push str.enemy
lea ecx, [ebp - 0x6b4]
mov dword [ebp - 0x6a0], 0
movups xmmword [ebp - 0x6b4], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x69c]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x68c], 0
push str.friendly
movups xmmword [ebp - 0x69c], xmm0
mov dword [ebp - 0x688], 0
call fcn.1002fd20
lea ecx, [ebp - 0x6b4]
mov dword [ebp - 4], 7
push ecx
lea eax, [ebp - 0x684]
push eax
push ecx
lea ecx, [ebp - 0x4d4]
call fcn.100c12e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x378]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x368], 0
push 0x10111938
movups xmmword [ebp - 0x378], xmm0
mov dword [ebp - 0x364], 0
call fcn.1002fd20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x360]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x350], 0
push str.boxes
movups xmmword [ebp - 0x360], xmm0
mov dword [ebp - 0x34c], 0
call fcn.1002fd20
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0
lea ecx, [edi + 0x108]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x378]
cmp ecx, eax
je 0x1009b09d
cmp dword [ebp - 0x364], 0xf
push dword [ebp - 0x368]
cmova eax, dword [ebp - 0x378]
push eax
call fcn.1002f120
lea ecx, [edi + 0x140]
mov byte [edi + 0x139], 1
lea eax, [ebp - 0x360]
cmp ecx, eax
je 0x1009b0ce
cmp dword [ebp - 0x34c], 0xf
push dword [ebp - 0x350]
cmova eax, dword [ebp - 0x360]
push eax
call fcn.1002f120
mov esi, dword [ebp - 0x4d4]
xor eax, eax
cmp byte [edi + 0x139], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0x174], eax
add eax, 0x14
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], eax
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009b149
lea ecx, [edi + 0x158]
nop dword [eax]
mov eax, dword [edi + 0x15c]
push esi
cmp eax, dword [edi + 0x160]
je 0x1009b135
mov ecx, eax
call fcn.1002ece0
add dword [edi + 0x15c], 0x18
lea ecx, [edi + 0x158]
jmp 0x1009b141
push eax
call fcn.10050a50
lea ecx, [edi + 0x158]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1009b110
lea ecx, [ebp - 0x4c8]
call fcn.1002e020
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0xf
jbe 0x1009b18e
mov edx, dword [ebp - 0x360]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b184
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009b1d9
push ecx
push edx
call fcn.100f3781
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0xf
mov byte [ebp - 0x360], 0
cmp ecx, 0xf
jbe 0x1009b1e9
mov edx, dword [ebp - 0x378]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b1df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009b1df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0xf
mov byte [ebp - 0x378], 0
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0x6b4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
mov eax, dword [edi + 0x12c]
lea ecx, [edi + 0x128]
mov dword [ebp - 0x44], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009b24f
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009b259
lea edx, [ebp - 0x44]
push edx
push eax
call fcn.10030710
mov dword [edi + 0xe8], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0xd4], 0x14
lea edx, [edi + 0xd0]
mov dword [edi + 0xdc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xec], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], edx
cmp eax, dword [ecx + 8]
je 0x1009b29c
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009b2a6
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.10030710
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x398], 0
push str.box_enemy
lea ecx, [ebp - 0x3a8]
mov dword [ebp - 0x394], 0
lea esi, [edi + 0x178]
movups xmmword [ebp - 0x3a8], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x390]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x380], 0
push str.box_enemy_color
movups xmmword [ebp - 0x390], xmm0
mov dword [ebp - 0x37c], 0
call fcn.1002fd20
lea ecx, [edi + 0x1f4]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x390]
cmp ecx, eax
je 0x1009b341
cmp dword [ebp - 0x37c], 0xf
push dword [ebp - 0x380]
cmova eax, dword [ebp - 0x390]
push eax
call fcn.1002f120
lea ecx, [edi + 0x1b0]
lea eax, [ebp - 0x3a8]
cmp ecx, eax
je 0x1009b36b
cmp dword [ebp - 0x394], 0xf
push dword [ebp - 0x398]
cmova eax, dword [ebp - 0x3a8]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x37c]
mov dword [edi + 0x20c], 0xff3cc896
mov dword [edi + 0x210], 0
mov dword [edi + 0x1ec], 0x3f800000
mov byte [edi + 0x1e4], 0
cmp ecx, 0xf
jbe 0x1009b3ce
mov edx, dword [ebp - 0x390]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b3c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x394]
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 0xf
mov byte [ebp - 0x390], 0
cmp ecx, 0xf
jbe 0x1009b42a
mov edx, dword [ebp - 0x3a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b420
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x1d4]
lea ecx, [edi + 0x1d0]
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0xf
mov byte [ebp - 0x3a8], 0
mov dword [ebp - 0x4c], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009b469
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009b473
lea edx, [ebp - 0x4c]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x190], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x17c], 0x14
mov dword [edi + 0x184], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x194], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x50], esi
cmp eax, dword [ecx + 8]
je 0x1009b4b0
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1009b4ba
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.10030710
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x3c8], 0
push str.box_friendly
lea ecx, [ebp - 0x3d8]
mov dword [ebp - 0x3c4], 0
lea esi, [edi + 0x214]
movups xmmword [ebp - 0x3d8], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x3c0]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x3b0], 0
push str.box_friendly_color
movups xmmword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x3ac], 0
call fcn.1002fd20
lea ecx, [edi + 0x290]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x3c0]
cmp ecx, eax
je 0x1009b555
cmp dword [ebp - 0x3ac], 0xf
push dword [ebp - 0x3b0]
cmova eax, dword [ebp - 0x3c0]
push eax
call fcn.1002f120
lea ecx, [edi + 0x24c]
lea eax, [ebp - 0x3d8]
cmp ecx, eax
je 0x1009b57f
cmp dword [ebp - 0x3c4], 0xf
push dword [ebp - 0x3c8]
cmova eax, dword [ebp - 0x3d8]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x3ac]
mov dword [edi + 0x2a8], 0xff00c8ff
mov dword [edi + 0x2ac], 0
mov dword [edi + 0x288], 0x3f800000
mov byte [edi + 0x280], 0
cmp ecx, 0xf
jbe 0x1009b5e2
mov edx, dword [ebp - 0x3c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b5d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c4]
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3ac], 0xf
mov byte [ebp - 0x3c0], 0
cmp ecx, 0xf
jbe 0x1009b63e
mov edx, dword [ebp - 0x3d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b634
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x270]
lea ecx, [edi + 0x26c]
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 0xf
mov byte [ebp - 0x3d8], 0
mov dword [ebp - 0x54], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009b67d
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009b687
lea edx, [ebp - 0x54]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x22c], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x218], 0x14
mov dword [edi + 0x220], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x230], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], esi
cmp eax, dword [ecx + 8]
je 0x1009b6c4
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1009b6ce
lea edx, [ebp - 0x58]
push edx
push eax
call fcn.10030710
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x3f8], 0
push str.dormant
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x3f4], 0
lea esi, [edi + 0x2b0]
movups xmmword [ebp - 0x408], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x3f0]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x3e0], 0
push str.dormant_enemies
movups xmmword [ebp - 0x3f0], xmm0
mov dword [ebp - 0x3dc], 0
call fcn.1002fd20
lea ecx, [edi + 0x2e8]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x408]
cmp ecx, eax
je 0x1009b769
cmp dword [ebp - 0x3f4], 0xf
push dword [ebp - 0x3f8]
cmova eax, dword [ebp - 0x408]
push eax
call fcn.1002f120
lea ecx, [edi + 0x320]
mov byte [edi + 0x319], 1
lea eax, [ebp - 0x3f0]
cmp ecx, eax
je 0x1009b79a
cmp dword [ebp - 0x3dc], 0xf
push dword [ebp - 0x3e0]
cmova eax, dword [ebp - 0x3f0]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3dc]
mov byte [edi + 0x31c], 0
cmp ecx, 0xf
jbe 0x1009b7df
mov edx, dword [ebp - 0x3f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b7d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3e0], 0
mov dword [ebp - 0x3dc], 0xf
mov byte [ebp - 0x3f0], 0
cmp ecx, 0xf
jbe 0x1009b83b
mov edx, dword [ebp - 0x408]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b831
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x30c]
lea ecx, [edi + 0x308]
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 0x3f4], 0xf
mov byte [ebp - 0x408], 0
mov dword [ebp - 0x5c], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009b87a
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009b884
lea edx, [ebp - 0x5c]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x2c8], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x2b4], 0x14
mov dword [edi + 0x2bc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x2cc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x60], esi
cmp eax, dword [ecx + 8]
je 0x1009b8c1
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1009b8cb
lea edx, [ebp - 0x60]
push edx
push eax
call fcn.10030710
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x428], 0
push str.offscreen
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 0
lea esi, [edi + 0x338]
movups xmmword [ebp - 0x438], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x420]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x410], 0
push str.enemy_offscreen_esp
movups xmmword [ebp - 0x420], xmm0
mov dword [ebp - 0x40c], 0
call fcn.1002fd20
lea ecx, [edi + 0x370]
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x438]
cmp ecx, eax
je 0x1009b966
cmp dword [ebp - 0x424], 0xf
push dword [ebp - 0x428]
cmova eax, dword [ebp - 0x438]
push eax
call fcn.1002f120
lea ecx, [edi + 0x3a8]
mov byte [edi + 0x3a1], 1
lea eax, [ebp - 0x420]
cmp ecx, eax
je 0x1009b997
cmp dword [ebp - 0x40c], 0xf
push dword [ebp - 0x410]
cmova eax, dword [ebp - 0x420]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x40c]
mov byte [edi + 0x3a4], 0
cmp ecx, 0xf
jbe 0x1009b9dc
mov edx, dword [ebp - 0x420]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009b9d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
cmp ecx, 0xf
jbe 0x1009ba38
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ba2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x394]
lea ecx, [edi + 0x390]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 0x64], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009ba77
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009ba81
lea edx, [ebp - 0x64]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x350], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x33c], 0x14
mov dword [edi + 0x344], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x354], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x68], esi
cmp eax, dword [ecx + 8]
je 0x1009babe
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1009bac8
lea edx, [ebp - 0x68]
push edx
push eax
call fcn.10030710
mov esi, dword [0x10107fd4]
lea ecx, [ebp - 0x1c8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
push str.offscreen_color
movups xmmword [ebp - 0x1c8], xmm0
mov dword [ebp - 0x1b4], 0
call fcn.1002fd20
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x450]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
push str.offscreen_esp_color
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x43c], 0
call fcn.1002fd20
lea ecx, [edi + 0x43c]
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x450]
cmp ecx, eax
je 0x1009bb63
cmp dword [ebp - 0x43c], 0xf
push dword [ebp - 0x440]
cmova eax, dword [ebp - 0x450]
push eax
call fcn.1002f120
lea ecx, [edi + 0x3f8]
lea eax, [ebp - 0x1c8]
cmp ecx, eax
je 0x1009bb8d
cmp dword [ebp - 0x1b4], 0xf
push dword [ebp - 0x1b8]
cmova eax, dword [ebp - 0x1c8]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x43c]
mov dword [edi + 0x454], esi
mov dword [edi + 0x458], 0
mov dword [edi + 0x434], 0x3f800000
mov byte [edi + 0x42c], 0
cmp ecx, 0xf
jbe 0x1009bbec
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bbe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
cmp ecx, 0xf
jbe 0x1009bc48
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bc3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x41c]
lea ecx, [edi + 0x418]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x6c], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009bc87
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009bc91
lea edx, [ebp - 0x6c]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x3d8], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x3c4], 0x14
lea edx, [edi + 0x3c0]
mov dword [edi + 0x3cc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3dc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x70], edx
cmp eax, dword [ecx + 8]
je 0x1009bcd4
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009bcde
lea edx, [ebp - 0x70]
push edx
push eax
call fcn.10030710
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x644], 0
push str.enemy
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x640], 0
movups xmmword [ebp - 0x654], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x63c]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x62c], 0
push str.friendly
movups xmmword [ebp - 0x63c], xmm0
mov dword [ebp - 0x628], 0
call fcn.1002fd20
lea ecx, [ebp - 0x654]
mov dword [ebp - 4], 0x17
push ecx
lea eax, [ebp - 0x624]
push eax
push ecx
lea ecx, [ebp - 0x4f4]
call fcn.100c12e0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1e0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1d0], 0
push str.name
movups xmmword [ebp - 0x1e0], xmm0
mov dword [ebp - 0x1cc], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x318]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x308], 0
push str.name
movups xmmword [ebp - 0x318], xmm0
mov dword [ebp - 0x304], 0
call fcn.1002fd20
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4e0], 0
lea ecx, [edi + 0x494]
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x1e0]
cmp ecx, eax
je 0x1009be1a
cmp dword [ebp - 0x1cc], 0xf
push dword [ebp - 0x1d0]
cmova eax, dword [ebp - 0x1e0]
push eax
call fcn.1002f120
lea ecx, [edi + 0x4cc]
mov byte [edi + 0x4c5], 1
lea eax, [ebp - 0x318]
cmp ecx, eax
je 0x1009be4b
cmp dword [ebp - 0x304], 0xf
push dword [ebp - 0x308]
cmova eax, dword [ebp - 0x318]
push eax
call fcn.1002f120
mov esi, dword [ebp - 0x4f4]
xor eax, eax
cmp byte [edi + 0x4c5], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0x500], eax
add eax, 0x14
mov dword [edi + 0x46c], eax
mov dword [edi + 0x470], eax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009bec9
lea ecx, [edi + 0x4e4]
nop dword [eax]
mov eax, dword [edi + 0x4e8]
push esi
cmp eax, dword [edi + 0x4ec]
je 0x1009beb5
mov ecx, eax
call fcn.1002ece0
add dword [edi + 0x4e8], 0x18
lea ecx, [edi + 0x4e4]
jmp 0x1009bec1
push eax
call fcn.10050a50
lea ecx, [edi + 0x4e4]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1009be90
lea ecx, [ebp - 0x4e8]
call fcn.1002e020
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x304]
cmp ecx, 0xf
jbe 0x1009bf0e
mov edx, dword [ebp - 0x318]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bf04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009bf59
push ecx
push edx
call fcn.100f3781
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0xf
mov byte [ebp - 0x318], 0
cmp ecx, 0xf
jbe 0x1009bf69
mov edx, dword [ebp - 0x1e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bf5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009bf5f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov byte [ebp - 0x1e0], 0
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0x654]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
mov eax, dword [edi + 0x4b8]
lea ecx, [edi + 0x4b4]
mov dword [ebp - 0x74], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009bfcf
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009bfd9
lea edx, [ebp - 0x74]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x474], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x460], 0x14
lea edx, [edi + 0x45c]
mov dword [edi + 0x468], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x478], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x78], edx
cmp eax, dword [ecx + 8]
je 0x1009c01c
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009c026
lea edx, [ebp - 0x78]
push edx
push eax
call fcn.10030710
mov esi, dword [0x10107fd4]
lea ecx, [ebp - 0x210]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x200], 0
push str.name_color
movups xmmword [ebp - 0x210], xmm0
mov dword [ebp - 0x1fc], 0
call fcn.1002fd20
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x1f8]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1e8], 0
push 0x101119c4
movups xmmword [ebp - 0x1f8], xmm0
mov dword [ebp - 0x1e4], 0
call fcn.1002fd20
lea ecx, [edi + 0x580]
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x1f8]
cmp ecx, eax
je 0x1009c0c1
cmp dword [ebp - 0x1e4], 0xf
push dword [ebp - 0x1e8]
cmova eax, dword [ebp - 0x1f8]
push eax
call fcn.1002f120
lea ecx, [edi + 0x53c]
lea eax, [ebp - 0x210]
cmp ecx, eax
je 0x1009c0eb
cmp dword [ebp - 0x1fc], 0xf
push dword [ebp - 0x200]
cmova eax, dword [ebp - 0x210]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x1e4]
mov dword [edi + 0x598], esi
mov dword [edi + 0x59c], 0
mov dword [edi + 0x578], 0x3f800000
mov byte [edi + 0x570], 0
cmp ecx, 0xf
jbe 0x1009c14a
mov edx, dword [ebp - 0x1f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c140
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1e4], 0xf
mov byte [ebp - 0x1f8], 0
cmp ecx, 0xf
jbe 0x1009c1a6
mov edx, dword [ebp - 0x210]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c19c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x560]
lea ecx, [edi + 0x55c]
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0xf
mov byte [ebp - 0x210], 0
mov dword [ebp - 0x7c], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009c1e5
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009c1ef
lea edx, [ebp - 0x7c]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x51c], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x508], 0x14
lea edx, [edi + 0x504]
mov dword [edi + 0x510], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x520], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x80], edx
cmp eax, dword [ecx + 8]
je 0x1009c232
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009c23c
lea edx, [ebp - 0x80]
push edx
push eax
call fcn.10030710
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x6d4], 0
push str.enemy
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 0x6d0], 0
movups xmmword [ebp - 0x6e4], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x1e
lea ecx, [ebp - 0x6cc]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x6bc], 0
push str.friendly
movups xmmword [ebp - 0x6cc], xmm0
mov dword [ebp - 0x6b8], 0
call fcn.1002fd20
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 4], 0x1f
push ecx
lea eax, [ebp - 0x6b4]
push eax
push ecx
lea ecx, [ebp - 0x514]
call fcn.100c12e0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x240]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x230], 0
push str.health
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x22c], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x228]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
push str.health
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x214], 0
call fcn.1002fd20
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], 0
lea ecx, [edi + 0x5d8]
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x240]
cmp ecx, eax
je 0x1009c378
cmp dword [ebp - 0x22c], 0xf
push dword [ebp - 0x230]
cmova eax, dword [ebp - 0x240]
push eax
call fcn.1002f120
lea ecx, [edi + 0x610]
mov byte [edi + 0x609], 1
lea eax, [ebp - 0x228]
cmp ecx, eax
je 0x1009c3a9
cmp dword [ebp - 0x214], 0xf
push dword [ebp - 0x218]
cmova eax, dword [ebp - 0x228]
push eax
call fcn.1002f120
mov esi, dword [ebp - 0x514]
xor eax, eax
cmp byte [edi + 0x609], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0x644], eax
add eax, 0x14
mov dword [edi + 0x5b0], eax
mov dword [edi + 0x5b4], eax
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009c429
lea ecx, [edi + 0x628]
nop word [eax + eax]
mov eax, dword [edi + 0x62c]
push esi
cmp eax, dword [edi + 0x630]
je 0x1009c415
mov ecx, eax
call fcn.1002ece0
add dword [edi + 0x62c], 0x18
lea ecx, [edi + 0x628]
jmp 0x1009c421
push eax
call fcn.10050a50
lea ecx, [edi + 0x628]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1009c3f0
lea ecx, [ebp - 0x508]
call fcn.1002e020
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x214]
cmp ecx, 0xf
jbe 0x1009c46e
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c464
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c4b9
push ecx
push edx
call fcn.100f3781
add esp, 8
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
cmp ecx, 0xf
jbe 0x1009c4c9
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c4bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c4bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
lea ecx, [ebp - 0x514]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0x6e4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
mov eax, dword [edi + 0x5fc]
lea ecx, [edi + 0x5f8]
mov dword [ebp - 0x84], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009c532
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009c53f
lea edx, [ebp - 0x84]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x5b8], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x5a4], 0x14
lea edx, [edi + 0x5a0]
mov dword [edi + 0x5ac], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x5bc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x88], edx
cmp eax, dword [ecx + 8]
je 0x1009c585
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009c592
lea edx, [ebp - 0x88]
push edx
push eax
call fcn.10030710
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x704], 0
push str.enemy
lea ecx, [ebp - 0x714]
mov dword [ebp - 0x700], 0
movups xmmword [ebp - 0x714], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0x6fc]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x6ec], 0
push str.friendly
movups xmmword [ebp - 0x6fc], xmm0
mov dword [ebp - 0x6e8], 0
call fcn.1002fd20
lea ecx, [ebp - 0x714]
mov dword [ebp - 4], 0x25
push ecx
lea eax, [ebp - 0x6e4]
push eax
push ecx
lea ecx, [ebp - 0x534]
call fcn.100c12e0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x270]
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.custom_health
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x25c], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x258]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
push str.custom_health_color
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x244], 0
call fcn.1002fd20
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0
lea ecx, [edi + 0x18c8]
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x270]
cmp ecx, eax
je 0x1009c6ce
cmp dword [ebp - 0x25c], 0xf
push dword [ebp - 0x260]
cmova eax, dword [ebp - 0x270]
push eax
call fcn.1002f120
lea ecx, [edi + 0x1900]
mov byte [edi + 0x18f9], 1
lea eax, [ebp - 0x258]
cmp ecx, eax
je 0x1009c6ff
cmp dword [ebp - 0x244], 0xf
push dword [ebp - 0x248]
cmova eax, dword [ebp - 0x258]
push eax
call fcn.1002f120
mov esi, dword [ebp - 0x534]
xor eax, eax
cmp byte [edi + 0x18f9], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0x1934], eax
add eax, 0x14
mov dword [edi + 0x18a0], eax
mov dword [edi + 0x18a4], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009c779
lea ecx, [edi + 0x1918]
nop dword [eax]
mov eax, dword [edi + 0x191c]
push esi
cmp eax, dword [edi + 0x1920]
je 0x1009c765
mov ecx, eax
call fcn.1002ece0
add dword [edi + 0x191c], 0x18
lea ecx, [edi + 0x1918]
jmp 0x1009c771
push eax
call fcn.10050a50
lea ecx, [edi + 0x1918]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1009c740
lea ecx, [ebp - 0x528]
call fcn.1002e020
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x244]
cmp ecx, 0xf
jbe 0x1009c7be
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c7b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c809
push ecx
push edx
call fcn.100f3781
add esp, 8
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
cmp ecx, 0xf
jbe 0x1009c819
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c80f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c80f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
lea ecx, [ebp - 0x534]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0x714]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
mov eax, dword [edi + 0x18ec]
lea esi, [edi + 0x18e8]
mov dword [ebp - 0x24], 0x10033990
cmp eax, dword [esi + 8]
je 0x1009c87f
mov dword [eax], 0x10033990
add dword [esi + 4], 4
jmp 0x1009c88b
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov eax, dword [esi + 4]
mov dword [ebp - 0x90], 0x10033970
cmp eax, dword [esi + 8]
je 0x1009c8a9
mov dword [eax], 0x10033970
add dword [esi + 4], 4
jmp 0x1009c8b8
lea ecx, [ebp - 0x90]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov dword [edi + 0x18a8], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x1894], 0x14
lea edx, [edi + 0x1890]
mov dword [edi + 0x189c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x18ac], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], edx
cmp eax, dword [ecx + 8]
je 0x1009c8fe
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009c90b
lea edx, [ebp - 0x94]
push edx
push eax
call fcn.10030710
mov esi, dword [0x10107ff4]
lea ecx, [ebp - 0x2a0]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x290], 0
push str.custom_health_enemy
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x28c], 0
call fcn.1002fd20
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x288]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0
push str.enemy_health_color
movups xmmword [ebp - 0x288], xmm0
mov dword [ebp - 0x274], 0
call fcn.1002fd20
lea ecx, [edi + 0x19b4]
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x288]
cmp ecx, eax
je 0x1009c9a6
cmp dword [ebp - 0x274], 0xf
push dword [ebp - 0x278]
cmova eax, dword [ebp - 0x288]
push eax
call fcn.1002f120
lea ecx, [edi + 0x1970]
lea eax, [ebp - 0x2a0]
cmp ecx, eax
je 0x1009c9d0
cmp dword [ebp - 0x28c], 0xf
push dword [ebp - 0x290]
cmova eax, dword [ebp - 0x2a0]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x274]
mov dword [edi + 0x19cc], esi
mov dword [edi + 0x19d0], 0
mov dword [edi + 0x19ac], 0x3f800000
mov byte [edi + 0x19a4], 0
cmp ecx, 0xf
jbe 0x1009ca2f
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ca25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
cmp ecx, 0xf
jbe 0x1009ca8b
mov edx, dword [ebp - 0x2a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ca81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x1994]
lea esi, [edi + 0x1990]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
mov dword [ebp - 0x98], 0x10033990
cmp eax, dword [esi + 8]
je 0x1009cacd
mov dword [eax], 0x10033990
add dword [esi + 4], 4
jmp 0x1009cadc
lea ecx, [ebp - 0x98]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov eax, dword [esi + 4]
mov dword [ebp - 0x9c], 0x100339d0
cmp eax, dword [esi + 8]
je 0x1009cafa
mov dword [eax], 0x100339d0
add dword [esi + 4], 4
jmp 0x1009cb09
lea ecx, [ebp - 0x9c]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov eax, dword [esi + 4]
mov dword [ebp - 0xa0], 0x10033970
cmp eax, dword [esi + 8]
je 0x1009cb27
mov dword [eax], 0x10033970
add dword [esi + 4], 4
jmp 0x1009cb36
lea ecx, [ebp - 0xa0]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov dword [edi + 0x1950], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x193c], 0x14
lea edx, [edi + 0x1938]
mov dword [edi + 0x1944], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1954], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa4], edx
cmp eax, dword [ecx + 8]
je 0x1009cb7c
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009cb89
lea edx, [ebp - 0xa4]
push edx
push eax
call fcn.10030710
mov esi, dword [0x10107ff4]
lea ecx, [ebp - 0x2d0]
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
push str.custom_health_friendly
movups xmmword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x2bc], 0
call fcn.1002fd20
mov dword [ebp - 4], 0x2c
lea ecx, [ebp - 0x2b8]
push 0x15
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
push str.friendly_health_color
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a4], 0
call fcn.1002fd20
lea ecx, [edi + 0x1a50]
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0x2b8]
cmp ecx, eax
je 0x1009cc24
cmp dword [ebp - 0x2a4], 0xf
push dword [ebp - 0x2a8]
cmova eax, dword [ebp - 0x2b8]
push eax
call fcn.1002f120
lea ecx, [edi + 0x1a0c]
lea eax, [ebp - 0x2d0]
cmp ecx, eax
je 0x1009cc4e
cmp dword [ebp - 0x2bc], 0xf
push dword [ebp - 0x2c0]
cmova eax, dword [ebp - 0x2d0]
push eax
call fcn.1002f120
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x2a4]
mov dword [edi + 0x1a68], esi
mov dword [edi + 0x1a6c], 0
mov dword [edi + 0x1a48], 0x3f800000
mov byte [edi + 0x1a40], 0
cmp ecx, 0xf
jbe 0x1009cca9
mov edx, dword [ebp - 0x2b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009cc9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009ccf7
push ecx
push edx
call fcn.100f3781
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
cmp ecx, 0xf
jbe 0x1009cd07
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ccfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009ccfd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
mov eax, dword [edi + 0x1a30]
lea esi, [edi + 0x1a2c]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
mov dword [ebp - 0xa8], 0x10033990
cmp eax, dword [esi + 8]
je 0x1009cd49
mov dword [eax], 0x10033990
add dword [esi + 4], 4
jmp 0x1009cd58
lea ecx, [ebp - 0xa8]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov eax, dword [esi + 4]
mov dword [ebp - 0xac], 0x100339f0
cmp eax, dword [esi + 8]
je 0x1009cd76
mov dword [eax], 0x100339f0
add dword [esi + 4], 4
jmp 0x1009cd85
lea ecx, [ebp - 0xac]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov eax, dword [esi + 4]
mov dword [ebp - 0xb0], 0x10033970
cmp eax, dword [esi + 8]
je 0x1009cda3
mov dword [eax], 0x10033970
add dword [esi + 4], 4
jmp 0x1009cdb2
lea ecx, [ebp - 0xb0]
push ecx
push eax
mov ecx, esi
call fcn.10030710
mov dword [edi + 0x19ec], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x19d8], 0x14
lea edx, [edi + 0x19d4]
mov dword [edi + 0x19e0], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x19f0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb4], edx
cmp eax, dword [ecx + 8]
je 0x1009cdf8
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009ce05
lea edx, [ebp - 0xb4]
push edx
push eax
call fcn.10030710
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x840], 0
push str.money
lea ecx, [ebp - 0x850]
mov dword [ebp - 0x83c], 0
movups xmmword [ebp - 0x850], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x2e
lea ecx, [ebp - 0x838]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x828], 0
push str.armor
movups xmmword [ebp - 0x838], xmm0
mov dword [ebp - 0x824], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x820]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x810], 0
push str.scoped
movups xmmword [ebp - 0x820], xmm0
mov dword [ebp - 0x80c], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x808]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x7f8], 0
push str.flashed
movups xmmword [ebp - 0x808], xmm0
mov dword [ebp - 0x7f4], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x7f0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x7e0], 0
push str.reloading
movups xmmword [ebp - 0x7f0], xmm0
mov dword [ebp - 0x7dc], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x7d8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x7c8], 0
push str.bomb
movups xmmword [ebp - 0x7d8], xmm0
mov dword [ebp - 0x7c4], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x7c0]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x7b0], 0
push str.resolver
movups xmmword [ebp - 0x7c0], xmm0
mov dword [ebp - 0x7ac], 0
call fcn.1002fd20
lea ecx, [ebp - 0x850]
mov dword [ebp - 4], 0x34
push ecx
lea eax, [ebp - 0x7a8]
push eax
push ecx
lea ecx, [ebp - 0x558]
call fcn.100c12e0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x35
movups xmmword [ebp - 0x300], xmm0
push 0xb
push 0x10111ac0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x2e8]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], 0
push str.flags_enemy
movups xmmword [ebp - 0x2e8], xmm0
mov dword [ebp - 0x2d4], 0
call fcn.1002fd20
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x608], 0
lea ecx, [edi + 0x680]
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x300]
cmp ecx, eax
je 0x1009d045
cmp dword [ebp - 0x2ec], 0xf
push dword [ebp - 0x2f0]
cmova eax, dword [ebp - 0x300]
push eax
call fcn.1002f120
lea ecx, [edi + 0x6b8]
mov byte [edi + 0x6b1], 1
lea eax, [ebp - 0x2e8]
cmp ecx, eax
je 0x1009d076
cmp dword [ebp - 0x2d4], 0xf
push dword [ebp - 0x2d8]
cmova eax, dword [ebp - 0x2e8]
push eax
call fcn.1002f120
mov esi, dword [ebp - 0x558]
xor eax, eax
cmp byte [edi + 0x6b1], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0x6ec], eax
add eax, 0x14
mov dword [edi + 0x658], eax
mov dword [edi + 0x65c], eax
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009d0f9
lea ecx, [edi + 0x6d0]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x6d4]
push esi
cmp eax, dword [edi + 0x6d8]
je 0x1009d0e5
mov ecx, eax
call fcn.1002ece0
add dword [edi + 0x6d4], 0x18
lea ecx, [edi + 0x6d0]
jmp 0x1009d0f1
push eax
call fcn.10050a50
lea ecx, [edi + 0x6d0]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1009d0c0
lea ecx, [ebp - 0x610]
call fcn.1002e020
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 0xf
jbe 0x1009d13e
mov edx, dword [ebp - 0x2e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d134
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d189
push ecx
push edx
call fcn.100f3781
add esp, 8
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0xf
mov byte [ebp - 0x2e8], 0
cmp ecx, 0xf
jbe 0x1009d199
mov edx, dword [ebp - 0x300]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d18f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d18f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f3781
add esp, 8
lea ecx, [ebp - 0x558]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0xf
mov byte [ebp - 0x300], 0
call fcn.1002ee90
push fcn.1002ec00
push 7
push 0x18
lea eax, [ebp - 0x850]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
mov eax, dword [edi + 0x6a4]
lea ecx, [edi + 0x6a0]
mov dword [ebp - 0xb8], 0x10033970
cmp eax, dword [ecx + 8]
je 0x1009d202
mov dword [eax], 0x10033970
add dword [ecx + 4], 4
jmp 0x1009d20f
lea edx, [ebp - 0xb8]
push edx
push eax
call fcn.10030710
mov dword [edi + 0x660], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x64c], 0xff
lea edx, [edi + 0x648]
mov dword [edi + 0x654], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x664], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xbc], edx
cmp eax, dword [ecx + 8]
je 0x1009d255
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1009d262
lea edx, [ebp - 0xbc]
push edx
push eax
call fcn.10030710
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x798], 0
push str.money
lea ecx, [ebp - 0x7a8]
mov dword [ebp - 0x794], 0
movups xmmword [ebp - 0x7a8], xmm0
call fcn.1002fd20
mov dword [ebp - 4], 0x39
lea ecx, [ebp - 0x790]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x780], 0
push str.armor
movups xmmword [ebp - 0x790], xmm0
mov dword [ebp - 0x77c], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x778]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x768], 0
push str.scoped
movups xmmword [ebp - 0x778], xmm0
mov dword [ebp - 0x764], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x760]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x750], 0
push str.flashed
movups xmmword [ebp - 0x760], xmm0
mov dword [ebp - 0x74c], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x748]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x738], 0
push str.reloading
movups xmmword [ebp - 0x748], xmm0
mov dword [ebp - 0x734], 0
call fcn.1002fd20
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x730]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x720], 0
push str.bomb
movups xmmword [ebp - 0x730], xmm0
mov dword [ebp - 0x71c], 0
call fcn.1002fd20
lea ecx, [ebp - 0x7a8]
mov dword [ebp - 4], 0x3e
push ecx
lea eax, [ebp - 0x718]
push eax
push ecx
lea ecx, [ebp - 0x574]
call fcn.100c12e0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x4a0]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x490], 0
push 0x10111aa0
movups xmmword [ebp - 0x4a0], xmm0
mov dword [ebp - 0x48c], 0
call fcn.1002fd20
xorps xmm0, xmm0
mov byte [ebp - 4], 0x40
movups xmmword [ebp - 0x488], xmm0
push 0xe
push str.flags_friendly
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
call fcn.1002fd20
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x560], 0
lea ecx, [edi + 0x728]
mov byte [ebp - 4], 0x42
lea eax, [ebp - 0x4a0]
cmp ecx, eax
je 0x1009d46e
cmp dword [ebp - 0x48c], 0xf
push dword [ebp - 0x490]
cmova eax, dword [ebp - 0x4a0]
push eax
call fcn.1002f120
lea ecx, [edi + 0x760]
mov byte [edi + 0x759], 1
lea eax, [ebp - 0x488]
cmp ecx, eax
je 0x1009d49f
cmp dword [ebp - 0x474], 0xf
push dword [ebp - 0x478]
cmova eax, dword [ebp - 0x488]
push eax
call fcn.1002f120
mov esi, dword [ebp - 0x574]
xor eax, eax
cmp byte [edi + 0x759], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0x794], eax
add eax, 0x14
mov dword [edi + 0x700], eax
mov dword [edi + 0x704], eax
mov eax, dword [ebp - 0x570]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009d4fb
lea eax, [edi + 0x778]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push esi
mov ecx, eax
call fcn.100502b0
mov eax, dword [ebp - 0x1c]
add esi, 0x18
cmp esi, edi
jne 0x1009d4e3
mov edi, dword [ebp - 0x188]
lea ecx, [ebp - 0x568]
call fcn.1002e020
lea ecx, [ebp - 0x488]
call fcn.1002ec00
lea ecx, [ebp - 0x4a0]
call fcn.1002ec00
lea ecx, [ebp - 0x574]
call fcn.1002ee90
push fcn.1002ec00
push 6
push 0x18
lea eax, [ebp - 0x7a8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x10033970
lea ecx, [edi + 0x748]
push eax
call fcn.10043e00
mov dword [edi + 0x708], 1
lea eax, [edi + 0x6f0]
mov dword [edi + 0x6f4], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0xc4], eax
mov dword [edi + 0x6fc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x70c], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10043e00
push str.enemy
lea ecx, [ebp - 0xe38]
call fcn.1002eca0
push str.friendly
lea ecx, [ebp - 0xe20]
mov dword [ebp - 4], 0x43
call fcn.1002eca0
lea ecx, [ebp - 0xe38]
mov dword [ebp - 4], 0x44
push ecx
lea eax, [ebp - 0xe08]
push eax
push ecx
lea ecx, [ebp - 0x594]
call fcn.100c12e0
push str.weapon
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 0x45
call fcn.1002eca0
push str.weapon
lea ecx, [ebp - 0xbf8]
mov byte [ebp - 4], 0x46
call fcn.1002eca0
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
lea eax, [ebp - 0xce8]
mov byte [ebp - 4], 0x48
push eax
lea ecx, [edi + 0x7d0]
call fcn.1002ebd0
lea eax, [ebp - 0xbf8]
mov byte [edi + 0x801], 1
push eax
lea ecx, [edi + 0x808]
call fcn.1002ebd0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x801], al
cmovne eax, ecx
mov dword [edi + 0x83c], eax
add eax, 0x14
mov dword [edi + 0x7a8], eax
mov dword [edi + 0x7ac], eax
mov eax, dword [ebp - 0x590]
mov esi, dword [ebp - 0x594]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009d6ba
lea eax, [edi + 0x820]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push esi
mov ecx, eax
call fcn.100502b0
mov eax, dword [ebp - 0x1c]
add esi, 0x18
cmp esi, edi
jne 0x1009d6a2
mov edi, dword [ebp - 0x188]
lea ecx, [ebp - 0x588]
call fcn.1002e020
lea ecx, [ebp - 0xbf8]
call fcn.1002ec00
lea ecx, [ebp - 0xce8]
call fcn.1002ec00
lea ecx, [ebp - 0x594]
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0xe38]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x10033970
lea ecx, [edi + 0x7f0]
push eax
call fcn.10043e00
mov dword [edi + 0x7b0], 1
lea eax, [edi + 0x798]
mov dword [edi + 0x79c], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0xcc], eax
mov dword [edi + 0x7a4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x7b4], eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10043e00
push str.text
lea ecx, [ebp - 0xda8]
call fcn.1002eca0
push str.icon
lea ecx, [ebp - 0xd90]
mov dword [ebp - 4], 0x49
call fcn.1002eca0
lea ecx, [ebp - 0xda8]
mov dword [ebp - 4], 0x4a
push ecx
lea eax, [ebp - 0xd78]
push eax
push ecx
lea ecx, [ebp - 0x5a0]
call fcn.100c12e0
push str.weapon_mode
lea ecx, [ebp - 0xd00]
mov byte [ebp - 4], 0x4b
call fcn.1002eca0
push 0x10102794
lea ecx, [ebp - 0xfb8]
mov byte [ebp - 4], 0x4c
call fcn.1002eca0
lea eax, [ebp - 0xd00]
mov byte [ebp - 4], 0x4d
push eax
lea ecx, [edi + 0x878]
call fcn.1002ebd0
mov eax, dword [ebp - 0x59c]
mov esi, dword [ebp - 0x5a0]
mov byte [edi + 0x8a9], 0
mov dword [edi + 0x8dc], 0
mov dword [edi + 0x850], 0x14
mov dword [edi + 0x854], 0x14
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1009d848
lea eax, [edi + 0x8c8]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
push esi
mov ecx, eax
call fcn.100502b0
mov eax, dword [ebp - 0x1c]
add esi, 0x18
cmp esi, edi
jne 0x1009d830
mov edi, dword [ebp - 0x188]
lea ecx, [edi + 0x8c8]
call fcn.10035bb0
test eax, eax
je 0x1009d861
mov dword [edi + 0x8d8], 0
lea ecx, [ebp - 0xfb8]
call fcn.1002ec00
lea ecx, [ebp - 0xd00]
call fcn.1002ec00
lea ecx, [ebp - 0x5a0]
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0xda8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x10033970
lea ecx, [edi + 0x898]
push eax
call fcn.10043e00
mov dword [edi + 0x858], 1
lea eax, [edi + 0x840]
mov dword [edi + 0x844], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0xd4], eax
mov dword [edi + 0x84c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x85c], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10043e00
push str.ammo
lea ecx, [ebp - 0xd48]
lea esi, [edi + 0x8e0]
call fcn.1002eca0
push str.ammo
lea ecx, [ebp - 0xd30]
mov dword [ebp - 4], 0x4e
call fcn.1002eca0
lea eax, [ebp - 0xd48]
mov byte [ebp - 4], 0x4f
push eax
lea ecx, [edi + 0x918]
call fcn.1002ebd0
lea eax, [ebp - 0xd30]
mov byte [edi + 0x949], 1
push eax
lea ecx, [edi + 0x950]
call fcn.1002ebd0
lea ecx, [ebp - 0xd30]
mov byte [edi + 0x94c], 0
call fcn.1002ec00
lea ecx, [ebp - 0xd48]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0x10033970
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x8f8], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x8e4], 0xff
mov dword [edi + 0x8ec], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x8fc], eax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0xdc], esi
call fcn.10043e00
mov esi, dword [0x10107ff4]
lea ecx, [ebp - 0x868]
push str.ammo_color
add edi, 0x968
call fcn.1002eca0
push str.color
lea ecx, [ebp - 0xd60]
mov dword [ebp - 4], 0x50
call fcn.1002eca0
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0xd60]
push eax
add ecx, 0x9e4
mov byte [ebp - 4], 0x51
call fcn.1002ebd0
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x868]
push eax
lea ecx, [ecx + 0x9a0]
call fcn.1002ebd0
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0xd60]
mov dword [eax + 0x9fc], esi
mov dword [eax + 0xa00], 0
mov dword [eax + 0x9dc], 0x3f800000
mov byte [eax + 0x9d4], 0
call fcn.1002ec00
lea ecx, [ebp - 0x868]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0x10033970
lea ecx, [edi + 0x58]
push eax
call fcn.10043e00
mov dword [ebp - 0xe4], edi
mov edi, dword [ebp - 0x188]
mov dword [edi + 0x980], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x96c], 0xff
mov dword [edi + 0x974], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x984], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10043e00
push str.lby_update
lea ecx, [ebp - 0x898]
lea esi, [edi + 0xa04]
call fcn.1002eca0
push 0x10111afc
lea ecx, [ebp - 0x880]
mov dword [ebp - 4], 0x52
call fcn.1002eca0
lea eax, [ebp - 0x898]
mov byte [ebp - 4], 0x53
push eax
lea ecx, [edi + 0xa3c]
call fcn.1002ebd0
lea eax, [ebp - 0x880]
mov byte [edi + 0xa6d], 1
push eax
lea ecx, [edi + 0xa74]
call fcn.1002ebd0
lea ecx, [ebp - 0x880]
mov byte [edi + 0xa70], 0
call fcn.1002ec00
lea ecx, [ebp - 0x898]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0x10033970
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xa1c], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0xa08], 0xff
mov dword [edi + 0xa10], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xa20], eax
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 0xec], esi
call fcn.10043e00
mov esi, dword [0x10107fec]
add edi, 0xa8c
push str.lby_update_color
lea ecx, [ebp - 0x8c8]
call fcn.1002eca0
push str.color
lea ecx, [ebp - 0x8b0]
mov dword [ebp - 4], 0x54
call fcn.1002eca0
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x8b0]
push eax
mov byte [ebp - 4], 0x55
lea ecx, [ecx + 0xb08]
call fcn.1002ebd0
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x8c8]
push eax
lea ecx, [ecx + 0xac4]
call fcn.1002ebd0
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x8b0]
mov dword [eax + 0xb20], esi
mov dword [eax + 0xb24], 0
mov dword [eax + 0xb00], 0x3f800000
mov byte [eax + 0xaf8], 0
call fcn.1002ec00
lea ecx, [ebp - 0x8c8]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x10033970
lea ecx, [edi + 0x58]
push eax
call fcn.10043e00
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x188]
mov dword [edi + 0xaa4], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0xa90], 0xff
mov dword [edi + 0xa98], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xaa8], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10043e00
push str.enemy
lea ecx, [ebp - 0xe80]
call fcn.1002eca0
push str.friendly
lea ecx, [ebp - 0xe68]
mov dword [ebp - 4], 0x56
call fcn.1002eca0
push str.local
lea ecx, [ebp - 0xe50]
mov byte [ebp - 4], 0x57
call fcn.1002eca0
lea ecx, [ebp - 0xe80]
mov dword [ebp - 4], 0x58
push ecx
lea eax, [ebp - 0xe38]
push eax
push ecx
lea ecx, [ebp - 0x5bc]
call fcn.100c12e0
push str.skeleton
lea ecx, [ebp - 0x8f8]
mov byte [ebp - 4], 0x59
call fcn.1002eca0
push str.skeleton
lea ecx, [ebp - 0x8e0]
mov byte [ebp - 4], 0x5a
call fcn.1002eca0
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0
lea eax, [ebp - 0x8f8]
mov byte [ebp - 4], 0x5c
push eax
lea ecx, [edi + 0xb60]
call fcn.1002ebd0
lea eax, [ebp - 0x8e0]
mov byte [edi + 0xb91], 1
push eax
lea ecx, [edi + 0xb98]
call fcn.1002ebd0
mov esi, dword [ebp - 0x5bc]
xor eax, eax
cmp byte [edi + 0xb91], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xbcc], eax
add eax, 0x14
mov dword [edi + 0xb38], eax
mov dword [edi + 0xb3c], eax
mov eax, dword [ebp - 0x5b8]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x1009ddd9
lea eax, [edi + 0xbb0]
mov edi, eax
push esi
mov ecx, edi
call fcn.100502b0
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x1009ddc3
mov edi, dword [ebp - 0x188]
lea ecx, [ebp - 0x5b0]
call fcn.1002e020
lea ecx, [ebp - 0x8e0]
call fcn.1002ec00
lea ecx, [ebp - 0x8f8]
call fcn.1002ec00
lea ecx, [ebp - 0x5bc]
call fcn.1002ee90
push fcn.1002ec00
push 3
push 0x18
lea eax, [ebp - 0xe80]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0x10033970
lea ecx, [edi + 0xb80]
push eax
call fcn.10043e00
mov dword [edi + 0xb40], 1
lea eax, [edi + 0xb28]
mov dword [edi + 0xb2c], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0xfc], eax
mov dword [edi + 0xb34], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xb44], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.10043e00
push str.skeleton_enemy
lea ecx, [ebp - 0x910]
lea esi, [edi + 0xbd0]
call fcn.1002eca0
push str.enemy_color
lea ecx, [ebp - 0xbb0]
mov dword [ebp - 4], 0x5d
call fcn.1002eca0
lea eax, [ebp - 0xbb0]
mov byte [ebp - 4], 0x5e
push eax
lea ecx, [edi + 0xc4c]
call fcn.1002ebd0
lea eax, [ebp - 0x910]
push eax
lea ecx, [edi + 0xc08]
call fcn.1002ebd0
lea ecx, [ebp - 0xbb0]
mov dword [edi + 0xc64], 0xffffffff
mov dword [edi + 0xc68], 0
mov dword [edi + 0xc44], 0x3f800000
mov byte [edi + 0xc3c], 0
call fcn.1002ec00
lea ecx, [ebp - 0x910]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x10033970
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xbe8], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0xbd4], 0xff
mov dword [edi + 0xbdc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xbec], eax
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0x100], esi
call fcn.10043e00
push str.skeleton_friendly
lea ecx, [ebp - 0x940]
lea esi, [edi + 0xc6c]
call fcn.1002eca0
mov dword [ebp - 4], 0x5f
push str.friendly_color
lea ecx, [ebp - 0x928]
call fcn.1002eca0
lea eax, [ebp - 0x928]
mov byte [ebp - 4], 0x60
push eax
lea ecx, [edi + 0xce8]
call fcn.1002ebd0
lea eax, [ebp - 0x940]
push eax
lea ecx, [edi + 0xca4]
call fcn.1002ebd0
lea ecx, [ebp - 0x928]
mov dword [edi + 0xd00], 0xffffffff
mov dword [edi + 0xd04], 0
mov dword [edi + 0xce0], 0x3f800000
mov byte [edi + 0xcd8], 0
call fcn.1002ec00
lea ecx, [ebp - 0x940]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x104]
mov dword [ebp - 0x104], 0x10033970
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xc84], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0xc70], 0xff
mov dword [edi + 0xc78], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xc88], eax
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x108], esi
call fcn.10043e00
push str.skeleton_local
lea ecx, [ebp - 0x970]
lea esi, [edi + 0xd08]
call fcn.1002eca0
push str.local_color
lea ecx, [ebp - 0x958]
mov dword [ebp - 4], 0x61
call fcn.1002eca0
lea eax, [ebp - 0x958]
mov byte [ebp - 4], 0x62
push eax
lea ecx, [edi + 0xd84]
call fcn.1002ebd0
lea eax, [ebp - 0x970]
push eax
lea ecx, [edi + 0xd40]
call fcn.1002ebd0
lea ecx, [ebp - 0x958]
mov dword [edi + 0xd9c], 0xffffffff
mov dword [edi + 0xda0], 0
mov dword [edi + 0xd7c], 0x3f800000
mov byte [edi + 0xd74], 0
call fcn.1002ec00
lea ecx, [ebp - 0x970]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x10033970
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xd20], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0xd0c], 0xff
mov dword [edi + 0xd14], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xd24], eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x110], esi
call fcn.10043e00
push str.enemy
lea ecx, [ebp - 0xec8]
call fcn.1002eca0
push str.friendly
lea ecx, [ebp - 0xeb0]
mov dword [ebp - 4], 0x63
call fcn.1002eca0
push str.local
lea ecx, [ebp - 0xe98]
mov byte [ebp - 4], 0x64
call fcn.1002eca0
lea ecx, [ebp - 0xec8]
mov dword [ebp - 4], 0x65
push ecx
lea eax, [ebp - 0xe80]
push eax
push ecx
lea ecx, [ebp - 0x5dc]
call fcn.100c12e0
push str.glow
lea ecx, [ebp - 0x9a0]
mov byte [ebp - 4], 0x66
call fcn.1002eca0
push str.glow
lea ecx, [ebp - 0x988]
mov byte [ebp - 4], 0x67
call fcn.1002eca0
mov dword [ebp - 0x5d0], 0
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 0x5c8], 0
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0x69
push eax
lea ecx, [edi + 0xddc]
call fcn.1002ebd0
lea eax, [ebp - 0x988]
mov byte [edi + 0xe0d], 1
push eax
lea ecx, [edi + 0xe14]
call fcn.1002ebd0
mov esi, dword [ebp - 0x5dc]
xor eax, eax
cmp byte [edi + 0xe0d], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xe48], eax
add eax, 0x14
mov dword [edi + 0xdb4], eax
mov dword [edi + 0xdb8], eax
mov eax, dword [ebp - 0x5d8]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x1009e26d
lea eax, [edi + 0xe2c]
mov dword [ebp - 0x18], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.100502b0
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x1009e257
mov edi, dword [ebp - 0x188]
lea ecx, [ebp - 0x5d0]
call fcn.1002e020
lea ecx, [ebp - 0x988]
call fcn.1002ec00
lea ecx, [ebp - 0x9a0]
call fcn.1002ec00
lea ecx, [ebp - 0x5dc]
call fcn.1002ee90
push fcn.1002ec00
push 3
push 0x18
lea eax, [ebp - 0xec8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x10033980
lea ecx, [edi + 0xdfc]
push eax
call fcn.10043e00
mov dword [edi + 0xdbc], 0
lea eax, [edi + 0xda4]
mov dword [edi + 0xda8], 0x14
lea ecx, [edi + 0x18]
mov dword [ebp - 0x118], eax
mov dword [edi + 0xdb0], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xdc0], eax
lea eax, [ebp - 0x118]
push eax
call fcn.10043e00
push str.glow_enemy
lea ecx, [ebp - 0x9d0]
lea esi, [edi + 0xe4c]
call fcn.1002eca0
push str.enemy_color
lea ecx, [ebp - 0x9b8]
mov dword [ebp - 4], 0x6a
call fcn.1002eca0
lea eax, [ebp - 0x9b8]
mov byte [ebp - 4], 0x6b
push eax
lea ecx, [edi + 0xec8]
call fcn.1002ebd0
lea eax, [ebp - 0x9d0]
push eax
lea ecx, [edi + 0xe84]
call fcn.1002ebd0
lea ecx, [ebp - 0x9b8]
mov dword [edi + 0xee0], 0xffffffff
mov dword [edi + 0xee4], 0
mov dword [edi + 0xec0], 0x3f800000
mov byte [edi + 0xeb8], 1
call fcn.1002ec00
lea ecx, [ebp - 0x9d0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xe64], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0xe50], 0x14
mov dword [edi + 0xe58], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xe68], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], esi
call fcn.10043e00
push str.glow_friendly
lea ecx, [ebp - 0xa00]
lea esi, [edi + 0xee8]
call fcn.1002eca0
mov dword [ebp - 4], 0x6c
push str.friendly_color
lea ecx, [ebp - 0x9e8]
call fcn.1002eca0
lea eax, [ebp - 0x9e8]
mov byte [ebp - 4], 0x6d
push eax
lea ecx, [edi + 0xf64]
call fcn.1002ebd0
lea eax, [ebp - 0xa00]
push eax
lea ecx, [edi + 0xf20]
call fcn.1002ebd0
lea ecx, [ebp - 0x9e8]
mov dword [edi + 0xf7c], 0xffffffff
mov dword [edi + 0xf80], 0
mov dword [edi + 0xf5c], 0x3f800000
mov byte [edi + 0xf54], 1
call fcn.1002ec00
lea ecx, [ebp - 0xa00]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xf00], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0xeec], 0x14
mov dword [edi + 0xef4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xf04], eax
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], esi
call fcn.10043e00
push str.glow_local
lea ecx, [ebp - 0xa30]
lea esi, [edi + 0xf84]
call fcn.1002eca0
push str.local_color
lea ecx, [ebp - 0xa18]
mov dword [ebp - 4], 0x6e
call fcn.1002eca0
lea eax, [ebp - 0xa18]
mov byte [ebp - 4], 0x6f
push eax
lea ecx, [edi + 0x1000]
mov dword [ebp - 0x198], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xa30]
push eax
lea ecx, [edi + 0xfbc]
call fcn.1002ebd0
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0xa18]
mov dword [edi + 0x1018], eax
mov dword [edi + 0x101c], 0
mov dword [edi + 0xff8], 0x3f800000
mov byte [edi + 0xff0], 1
call fcn.1002ec00
lea ecx, [ebp - 0xa30]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0xf9c], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0xf88], 0x14
mov dword [edi + 0xf90], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xfa0], eax
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], esi
call fcn.10043e00
push str.visible
lea ecx, [ebp - 0xdd8]
call fcn.1002eca0
push str.invisible
lea ecx, [ebp - 0xdc0]
mov dword [ebp - 4], 0x70
call fcn.1002eca0
lea ecx, [ebp - 0xdd8]
mov dword [ebp - 4], 0x71
push ecx
lea eax, [ebp - 0xda8]
push eax
push ecx
lea ecx, [ebp - 0x5e8]
call fcn.100c12e0
push 0x10111bd4
lea ecx, [ebp - 0xa60]
mov byte [ebp - 4], 0x72
call fcn.1002eca0
push str.chams_enemy
lea ecx, [ebp - 0xa48]
mov byte [ebp - 4], 0x73
call fcn.1002eca0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
lea eax, [ebp - 0xa60]
mov byte [ebp - 4], 0x75
push eax
lea ecx, [edi + 0x1058]
call fcn.1002ebd0
lea eax, [ebp - 0xa48]
mov byte [edi + 0x1089], 1
push eax
lea ecx, [edi + 0x1090]
call fcn.1002ebd0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1089], al
cmovne eax, ecx
mov dword [edi + 0x10c4], eax
add eax, 0x14
mov dword [edi + 0x1030], eax
mov dword [edi + 0x1034], eax
mov eax, dword [ebp - 0x5e4]
mov esi, dword [ebp - 0x5e8]
mov dword [ebp - 0x18c], eax
cmp esi, eax
je 0x1009e709
lea eax, [edi + 0x10a8]
mov dword [ebp - 0x194], eax
mov edi, eax
nop dword [eax]
push esi
mov ecx, edi
call fcn.100502b0
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x1009e6f0
mov edi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x470]
mov dword [ebp - 0x190], eax
cmp esi, eax
je 0x1009e79e
lea ecx, [edi + 0x10b8]
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x620]
call fcn.1002f980
mov ecx, dword [edi + 0x10bc]
add esp, 8
mov dword [ebp - 0x194], ecx
lea ecx, [edi + 0x10a8]
mov eax, dword [eax]
mov dword [ebp - 0x18c], eax
call fcn.10035bb0
cmp dword [ebp - 0x1c], eax
jae 0x1009e773
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x10b8]
call fcn.10043e00
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x194]
jne 0x1009e78d
mov eax, dword [edi + 0x1084]
test eax, eax
je 0x1009e78d
call eax
add esi, 4
lea ecx, [edi + 0x10b8]
cmp esi, dword [ebp - 0x190]
jne 0x1009e725
lea ecx, [ebp - 0x470]
call fcn.1002e020
lea ecx, [ebp - 0xa48]
call fcn.1002ec00
lea ecx, [ebp - 0xa60]
call fcn.1002ec00
lea ecx, [ebp - 0x5e8]
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0xdd8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x10033980
lea ecx, [edi + 0x1078]
push eax
call fcn.10043e00
mov dword [edi + 0x1038], 0
lea eax, [edi + 0x1020]
mov dword [edi + 0x1024], 0x14
lea ecx, [edi + 0x18]
mov dword [ebp - 0x138], eax
mov dword [edi + 0x102c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x103c], eax
lea eax, [ebp - 0x138]
push eax
call fcn.10043e00
push str.normal
lea ecx, [ebp - 0xf10]
call fcn.1002eca0
push str.flat
lea ecx, [ebp - 0xef8]
mov dword [ebp - 4], 0x76
call fcn.1002eca0
push str.metallic
lea ecx, [ebp - 0xee0]
mov byte [ebp - 4], 0x77
call fcn.1002eca0
lea ecx, [ebp - 0xf10]
mov dword [ebp - 4], 0x78
push ecx
lea eax, [ebp - 0xec8]
push eax
push ecx
lea ecx, [ebp - 0x540]
call fcn.100c12e0
push str.chams_enemy_mat
lea ecx, [ebp - 0xa90]
mov byte [ebp - 4], 0x79
call fcn.1002eca0
push str.chams_material
lea ecx, [ebp - 0xa78]
mov byte [ebp - 4], 0x7a
call fcn.1002eca0
lea eax, [ebp - 0xa90]
mov byte [ebp - 4], 0x7b
push eax
lea ecx, [edi + 0x1100]
call fcn.1002ebd0
lea eax, [ebp - 0xa78]
mov byte [edi + 0x1131], 1
push eax
lea ecx, [edi + 0x1138]
call fcn.1002ebd0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1131], al
cmovne eax, ecx
mov dword [edi + 0x1164], eax
add eax, 0x14
mov dword [edi + 0x10d8], eax
mov dword [edi + 0x10dc], eax
mov eax, dword [ebp - 0x53c]
mov esi, dword [ebp - 0x540]
mov dword [ebp - 0x190], eax
cmp esi, eax
je 0x1009e95f
lea eax, [edi + 0x1150]
mov edi, dword [ebp - 0x190]
mov dword [ebp - 0x18c], eax
push esi
mov ecx, eax
call fcn.100502b0
mov eax, dword [ebp - 0x18c]
add esi, 0x18
cmp esi, edi
jne 0x1009e944
mov edi, dword [ebp - 0x188]
lea ecx, [edi + 0x1150]
call fcn.10035bb0
test eax, eax
je 0x1009e978
mov dword [edi + 0x1160], 0
lea ecx, [ebp - 0xa78]
call fcn.1002ec00
lea ecx, [ebp - 0xa90]
call fcn.1002ec00
lea ecx, [ebp - 0x540]
call fcn.1002ee90
push fcn.1002ec00
push 3
push 0x18
lea eax, [ebp - 0xf10]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x10033980
lea ecx, [edi + 0x1120]
push eax
call fcn.10043e00
mov dword [edi + 0x10e0], 0
lea eax, [edi + 0x10c8]
mov dword [edi + 0x10cc], 0x14
lea ecx, [edi + 0x18]
mov dword [ebp - 0x16c], eax
mov dword [edi + 0x10d4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x10e4], eax
lea eax, [ebp - 0x16c]
push eax
call fcn.10043e00
push str.chams_enemy_vis
lea ecx, [ebp - 0xac0]
lea esi, [edi + 0x1168]
call fcn.1002eca0
push str.color_visible
lea ecx, [ebp - 0xaa8]
mov dword [ebp - 4], 0x7c
call fcn.1002eca0
lea eax, [ebp - 0xaa8]
mov byte [ebp - 4], 0x7d
push eax
lea ecx, [edi + 0x11e4]
mov dword [ebp - 0x19c], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xac0]
push eax
lea ecx, [edi + 0x11a0]
call fcn.1002ebd0
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0xaa8]
mov dword [edi + 0x11fc], eax
mov dword [edi + 0x1200], 0
mov dword [edi + 0x11dc], 0x3f800000
mov byte [edi + 0x11d4], 1
call fcn.1002ec00
lea ecx, [ebp - 0xac0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x1180], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x116c], 0x14
mov dword [edi + 0x1174], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1184], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x144], esi
call fcn.10043e00
push str.chams_enemy_invis
lea ecx, [ebp - 0xaf0]
lea esi, [edi + 0x1204]
call fcn.1002eca0
mov dword [ebp - 4], 0x7e
push str.color_invisible
lea ecx, [ebp - 0xad8]
call fcn.1002eca0
lea eax, [ebp - 0xad8]
mov byte [ebp - 4], 0x7f
push eax
lea ecx, [edi + 0x1280]
mov dword [ebp - 0x1a0], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xaf0]
push eax
lea ecx, [edi + 0x123c]
call fcn.1002ebd0
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0xad8]
mov dword [edi + 0x1298], eax
mov dword [edi + 0x129c], 0
mov dword [edi + 0x1278], 0x3f800000
mov byte [edi + 0x1270], 1
call fcn.1002ec00
lea ecx, [ebp - 0xaf0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x121c], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x1208], 0x14
mov dword [edi + 0x1210], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1220], eax
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 0x14c], esi
call fcn.10043e00
push str.chams_history
lea ecx, [ebp - 0xb20]
lea esi, [edi + 0x12a0]
call fcn.1002eca0
push 0x10111c44
lea ecx, [ebp - 0xb08]
mov dword [ebp - 4], 0x80
call fcn.1002eca0
lea eax, [ebp - 0xb20]
mov byte [ebp - 4], 0x81
push eax
lea ecx, [edi + 0x12d8]
call fcn.1002ebd0
lea eax, [ebp - 0xb08]
mov byte [edi + 0x1309], 1
push eax
lea ecx, [edi + 0x1310]
call fcn.1002ebd0
lea ecx, [ebp - 0xb08]
mov byte [edi + 0x130c], 0
call fcn.1002ec00
lea ecx, [ebp - 0xb20]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x12b8], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x12a4], 0x14
mov dword [edi + 0x12ac], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x12bc], eax
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x154], esi
call fcn.10043e00
lea esi, [edi + 0x1328]
push str.chams_history_col
lea ecx, [ebp - 0xb50]
call fcn.1002eca0
push str.color
lea ecx, [ebp - 0xb38]
mov dword [ebp - 4], 0x82
call fcn.1002eca0
lea eax, [ebp - 0xb38]
mov byte [ebp - 4], 0x83
push eax
lea ecx, [edi + 0x13a4]
mov dword [ebp - 0x1a4], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xb50]
push eax
lea ecx, [edi + 0x1360]
call fcn.1002ebd0
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0xb38]
mov dword [edi + 0x13bc], eax
mov dword [edi + 0x13c0], 0
mov dword [edi + 0x139c], 0x3f800000
mov byte [edi + 0x1394], 1
call fcn.1002ec00
lea ecx, [ebp - 0xb50]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x1340], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x132c], 0x14
mov dword [edi + 0x1334], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1344], eax
lea eax, [ebp - 0x15c]
push eax
mov dword [ebp - 0x15c], esi
call fcn.10043e00
push str.visible
lea ecx, [ebp - 0xe08]
call fcn.1002eca0
push str.invisible
lea ecx, [ebp - 0xdf0]
mov dword [ebp - 4], 0x84
call fcn.1002eca0
lea ecx, [ebp - 0xe08]
mov dword [ebp - 4], 0x85
push ecx
lea eax, [ebp - 0xdd8]
push eax
push ecx
lea ecx, [ebp - 0x5f4]
call fcn.100c12e0
push 0x10111cb4
lea ecx, [ebp - 0xb80]
mov byte [ebp - 4], 0x86
call fcn.1002eca0
push str.chams_friendly
lea ecx, [ebp - 0xb68]
mov byte [ebp - 4], 0x87
call fcn.1002eca0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
lea eax, [ebp - 0xb80]
mov byte [ebp - 4], 0x89
push eax
lea ecx, [edi + 0x13fc]
call fcn.1002ebd0
mov byte [edi + 0x142d], 1
lea eax, [ebp - 0xb68]
push eax
lea ecx, [edi + 0x1434]
call fcn.1002ebd0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x142d], al
cmovne eax, ecx
mov dword [edi + 0x1468], eax
add eax, 0x14
mov dword [edi + 0x13d4], eax
mov dword [edi + 0x13d8], eax
mov eax, dword [ebp - 0x5f0]
mov esi, dword [ebp - 0x5f4]
mov dword [ebp - 0x18c], eax
cmp esi, eax
je 0x1009eeef
lea eax, [edi + 0x144c]
mov dword [ebp - 0x190], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.100502b0
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x1009eed6
mov edi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x460]
mov dword [ebp - 0x194], eax
cmp esi, eax
je 0x1009ef89
lea ecx, [edi + 0x145c]
nop
mov eax, dword [esi]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x624]
call fcn.1002f980
mov ecx, dword [edi + 0x1460]
add esp, 8
mov dword [ebp - 0x18c], ecx
lea ecx, [edi + 0x144c]
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
call fcn.10035bb0
cmp dword [ebp - 0x18], eax
jae 0x1009ef5e
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x145c]
call fcn.10043e00
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x18c]
jne 0x1009ef78
mov eax, dword [edi + 0x1428]
test eax, eax
je 0x1009ef78
call eax
add esi, 4
lea ecx, [edi + 0x145c]
cmp esi, dword [ebp - 0x194]
jne 0x1009ef10
lea ecx, [ebp - 0x460]
call fcn.1002e020
lea ecx, [ebp - 0xb68]
call fcn.1002ec00
lea ecx, [ebp - 0xb80]
call fcn.1002ec00
lea ecx, [ebp - 0x5f4]
call fcn.1002ee90
push fcn.1002ec00
push 2
push 0x18
lea eax, [ebp - 0xe08]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0x10033980
lea ecx, [edi + 0x141c]
push eax
call fcn.10043e00
mov dword [edi + 0x13dc], 1
lea eax, [edi + 0x13c4]
mov dword [edi + 0x13c8], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x164], eax
mov dword [edi + 0x13d0], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x13e0], eax
lea eax, [ebp - 0x164]
push eax
call fcn.10043e00
push str.normal
lea ecx, [ebp - 0xf58]
call fcn.1002eca0
push str.flat
lea ecx, [ebp - 0xf40]
mov dword [ebp - 4], 0x8a
call fcn.1002eca0
push str.metallic
lea ecx, [ebp - 0xf28]
mov byte [ebp - 4], 0x8b
call fcn.1002eca0
lea ecx, [ebp - 0xf58]
mov dword [ebp - 4], 0x8c
push ecx
lea eax, [ebp - 0xf10]
push eax
push ecx
lea ecx, [ebp - 0x600]
call fcn.100c12e0
push str.chams_friendly_mat
lea ecx, [ebp - 0xd78]
mov byte [ebp - 4], 0x8d
call fcn.1002eca0
push str.chams_friendly_material
lea ecx, [ebp - 0xb98]
mov byte [ebp - 4], 0x8e
call fcn.1002eca0
lea eax, [ebp - 0xd78]
mov byte [ebp - 4], 0x8f
push eax
lea ecx, [edi + 0x14a4]
call fcn.1002ebd0
lea eax, [ebp - 0xb98]
mov byte [edi + 0x14d5], 1
push eax
lea ecx, [edi + 0x14dc]
call fcn.1002ebd0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x14d5], al
cmovne eax, ecx
mov dword [edi + 0x1508], eax
add eax, 0x14
mov dword [edi + 0x147c], eax
mov dword [edi + 0x1480], eax
mov eax, dword [ebp - 0x5fc]
mov esi, dword [ebp - 0x600]
mov dword [ebp - 0x190], eax
cmp esi, eax
je 0x1009f14b
lea eax, [edi + 0x14f4]
mov edi, dword [ebp - 0x190]
mov dword [ebp - 0x18c], eax
nop
push esi
mov ecx, eax
call fcn.100502b0
mov eax, dword [ebp - 0x18c]
add esi, 0x18
cmp esi, edi
jne 0x1009f130
mov edi, dword [ebp - 0x188]
lea ecx, [edi + 0x14f4]
call fcn.10035bb0
test eax, eax
je 0x1009f164
mov dword [edi + 0x1504], 0
lea ecx, [ebp - 0xb98]
call fcn.1002ec00
lea ecx, [ebp - 0xd78]
call fcn.1002ec00
lea ecx, [ebp - 0x600]
call fcn.1002ee90
push fcn.1002ec00
push 3
push 0x18
lea eax, [ebp - 0xf58]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 0x10033980
lea ecx, [edi + 0x14c4]
push eax
call fcn.10043e00
mov dword [edi + 0x1484], 1
lea eax, [edi + 0x146c]
mov dword [edi + 0x1470], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [edi + 0x1478], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1488], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10043e00
push str.chams_friendly_vis
lea ecx, [ebp - 0xbe0]
lea esi, [edi + 0x150c]
call fcn.1002eca0
push str.color_visible
lea ecx, [ebp - 0xbc8]
mov dword [ebp - 4], 0x90
call fcn.1002eca0
lea eax, [ebp - 0xbc8]
mov byte [ebp - 4], 0x91
push eax
lea ecx, [edi + 0x1588]
mov dword [ebp - 0x1a8], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xbe0]
push eax
lea ecx, [edi + 0x1544]
call fcn.1002ebd0
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0xbc8]
mov dword [edi + 0x15a0], eax
mov dword [edi + 0x15a4], 0
mov dword [edi + 0x1580], 0x3f800000
mov byte [edi + 0x1578], 1
call fcn.1002ec00
lea ecx, [ebp - 0xbe0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x170]
mov dword [ebp - 0x170], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x1524], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x1510], 0xff
mov dword [edi + 0x1518], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1528], eax
lea eax, [ebp - 0x174]
push eax
mov dword [ebp - 0x174], esi
call fcn.10043e00
push str.chams_friendly_invis
lea ecx, [ebp - 0xc10]
lea esi, [edi + 0x15a8]
call fcn.1002eca0
mov dword [ebp - 4], 0x92
push str.color_invisible
lea ecx, [ebp - 0xd18]
call fcn.1002eca0
lea eax, [ebp - 0xd18]
mov byte [ebp - 4], 0x93
push eax
lea ecx, [edi + 0x1624]
mov dword [ebp - 0x1ac], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xc10]
push eax
lea ecx, [edi + 0x15e0]
call fcn.1002ebd0
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0xd18]
mov dword [edi + 0x163c], eax
mov dword [edi + 0x1640], 0
mov dword [edi + 0x161c], 0x3f800000
mov byte [edi + 0x1614], 1
call fcn.1002ec00
lea ecx, [ebp - 0xc10]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x15c0], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x15ac], 0xff
mov dword [edi + 0x15b4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x15c4], eax
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 0x17c], esi
call fcn.10043e00
push 0x10111cd4
lea ecx, [ebp - 0xc40]
lea esi, [edi + 0x1644]
call fcn.1002eca0
push str.chams_local
lea ecx, [ebp - 0xc28]
mov dword [ebp - 4], 0x94
call fcn.1002eca0
lea eax, [ebp - 0xc40]
mov byte [ebp - 4], 0x95
push eax
lea ecx, [edi + 0x167c]
call fcn.1002ebd0
lea eax, [ebp - 0xc28]
mov byte [edi + 0x16ad], 1
push eax
lea ecx, [edi + 0x16b4]
call fcn.1002ebd0
lea ecx, [ebp - 0xc28]
mov byte [edi + 0x16b0], 0
call fcn.1002ec00
lea ecx, [ebp - 0xc40]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x180]
mov dword [ebp - 0x180], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x165c], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x1648], 0xff
mov dword [edi + 0x1650], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1660], eax
lea eax, [ebp - 0x184]
push eax
mov dword [ebp - 0x184], esi
call fcn.10043e00
push str.normal
lea ecx, [ebp - 0xfa0]
call fcn.1002eca0
push str.flat
lea ecx, [ebp - 0xf88]
mov dword [ebp - 4], 0x96
call fcn.1002eca0
push str.metallic
lea ecx, [ebp - 0xf70]
mov byte [ebp - 4], 0x97
call fcn.1002eca0
lea ecx, [ebp - 0xfa0]
mov dword [ebp - 4], 0x98
push ecx
lea eax, [ebp - 0xf58]
push eax
push ecx
lea ecx, [ebp - 0x54c]
call fcn.100c12e0
push str.chams_local_mat
lea ecx, [ebp - 0xc70]
mov byte [ebp - 4], 0x99
call fcn.1002eca0
push str.chams_local_material
lea ecx, [ebp - 0xc58]
mov byte [ebp - 4], 0x9a
call fcn.1002eca0
lea eax, [ebp - 0xc70]
mov byte [ebp - 4], 0x9b
push eax
lea ecx, [edi + 0x1704]
call fcn.1002ebd0
lea eax, [ebp - 0xc58]
mov byte [edi + 0x1735], 1
push eax
lea ecx, [edi + 0x173c]
call fcn.1002ebd0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1735], al
cmovne eax, ecx
mov dword [edi + 0x1768], eax
add eax, 0x14
mov dword [edi + 0x16dc], eax
mov dword [edi + 0x16e0], eax
mov eax, dword [ebp - 0x548]
mov esi, dword [ebp - 0x54c]
mov dword [ebp - 0x18c], eax
cmp esi, eax
je 0x1009f5d9
lea eax, [edi + 0x1754]
mov dword [ebp - 0x190], eax
mov edi, eax
nop word [eax + eax]
push esi
mov ecx, edi
call fcn.100502b0
add esi, 0x18
cmp esi, dword [ebp - 0x18c]
jne 0x1009f5c0
mov edi, dword [ebp - 0x188]
lea ecx, [edi + 0x1754]
call fcn.10035bb0
test eax, eax
je 0x1009f5f2
mov dword [edi + 0x1764], 0
lea ecx, [ebp - 0xc58]
call fcn.1002ec00
lea ecx, [ebp - 0xc70]
call fcn.1002ec00
lea ecx, [ebp - 0x54c]
call fcn.1002ee90
push fcn.1002ec00
push 3
push 0x18
lea eax, [ebp - 0xfa0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100f3352
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10033980
lea ecx, [edi + 0x1724]
push eax
call fcn.10043e00
mov dword [edi + 0x16e4], 1
lea eax, [edi + 0x16cc]
mov dword [edi + 0x16d0], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x16d8], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x16e8], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10043e00
push str.chams_local_col
lea ecx, [ebp - 0xca0]
lea esi, [edi + 0x176c]
call fcn.1002eca0
push str.color
lea ecx, [ebp - 0xc88]
mov dword [ebp - 4], 0x9c
call fcn.1002eca0
lea eax, [ebp - 0xc88]
mov byte [ebp - 4], 0x9d
push eax
lea ecx, [edi + 0x17e8]
mov dword [ebp - 0x1b0], 0xffffffff
call fcn.1002ebd0
lea eax, [ebp - 0xca0]
push eax
lea ecx, [edi + 0x17a4]
call fcn.1002ebd0
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0xc88]
mov dword [edi + 0x1800], eax
mov dword [edi + 0x1804], 0
mov dword [edi + 0x17e0], 0x3f800000
mov byte [edi + 0x17d8], 1
call fcn.1002ec00
lea ecx, [ebp - 0xca0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x10033980
lea ecx, [esi + 0x58]
push eax
call fcn.10043e00
mov dword [edi + 0x1784], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x1770], 0xff
mov dword [edi + 0x1778], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1788], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], esi
call fcn.10043e00
push str.chams_local_scope
lea ecx, [ebp - 0xcd0]
lea esi, [edi + 0x1808]
call fcn.1002eca0
mov dword [ebp - 4], 0x9e
push str.blend_when_scoped
lea ecx, [ebp - 0xcb8]
call fcn.1002eca0
lea eax, [ebp - 0xcd0]
mov byte [ebp - 4], 0x9f
push eax
lea ecx, [edi + 0x1840]
call fcn.1002ebd0
lea eax, [ebp - 0xcb8]
mov byte [edi + 0x1871], 1
push eax
lea ecx, [edi + 0x1878]
call fcn.1002ebd0
lea ecx, [ebp - 0xcb8]
mov byte [edi + 0x1874], 0
call fcn.1002ec00
lea ecx, [ebp - 0xcd0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002ec00
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10033980
push eax
lea ecx, [edi + 0x1860]
call fcn.10043e00
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call fcn.10043e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f3306
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret