Function at 0x10046cf0
Capabilities:
Contain obfuscated stackstrings
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 0x1009234b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x438
mov eax, dword [0x100a6040]
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 - 0x6c], edi
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x348], 0
push str.players
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x344], 0
movups xmmword [ebp - 0x358], xmm0
call fcn.1001d4e0
lea eax, [ebp - 0x358]
mov dword [ebp - 4], 0
cmp edi, eax
je 0x10046d93
cmp dword [ebp - 0x344], 0xf
mov ecx, edi
push dword [ebp - 0x348]
cmova eax, dword [ebp - 0x358]
push eax
call fcn.10021100
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x344]
cmp ecx, 0xf
jbe 0x10046dd4
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046dca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push 0x1009a5b0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
call fcn.1001d4e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x370]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x360], 0
push str.boxes
movups xmmword [ebp - 0x370], xmm0
mov dword [ebp - 0x35c], 0
call fcn.1001d4e0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb8]
cmp ecx, eax
je 0x10046ee6
cmp dword [ebp - 0xa4], 0xf
push dword [ebp - 0xa8]
cmova eax, dword [ebp - 0xb8]
push eax
call fcn.10021100
lea ecx, [edi + 0xa0]
mov byte [edi + 0x99], 1
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x10046f17
cmp dword [ebp - 0x35c], 0xf
push dword [ebp - 0x360]
cmova eax, dword [ebp - 0x370]
push eax
call fcn.10021100
mov esi, dword [ebp - 0x94]
xor eax, eax
cmp byte [edi + 0x99], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xd4], eax
add eax, 0x14
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x10046f83
lea ecx, [edi + 0xb8]
nop
mov eax, dword [edi + 0xbc]
push esi
cmp eax, dword [edi + 0xc0]
je 0x10046f6f
mov ecx, eax
call fcn.10020e60
add dword [edi + 0xbc], 0x18
jmp 0x10046f75
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0xb8]
cmp esi, dword [ebp - 0x18]
jne 0x10046f50
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x35c]
cmp ecx, 0xf
jbe 0x10046fbd
mov edx, dword [ebp - 0x370]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046fb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046fed
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x10046ffd
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046ff3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10046ff3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x48], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x34], 0x14
lea ecx, [edi + 0x30]
mov dword [edi + 0x3c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
cmp eax, dword [esi + 8]
je 0x10047058
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047064
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
push str.box_enemy
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xd0]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
push str.box_enemy_color
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
call fcn.1001d4e0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd0]
cmp ecx, eax
je 0x100470f9
cmp dword [ebp - 0xbc], 0xf
push dword [ebp - 0xc0]
cmova eax, dword [ebp - 0xd0]
push eax
call fcn.10021100
lea ecx, [edi + 0x110]
lea eax, [ebp - 0xe8]
cmp ecx, eax
je 0x10047123
cmp dword [ebp - 0xd4], 0xf
push dword [ebp - 0xd8]
cmova eax, dword [ebp - 0xe8]
push eax
call fcn.10021100
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xbc]
mov dword [edi + 0x160], 0xff3cc896
mov dword [edi + 0x164], 0
cmp ecx, 0xf
jbe 0x10047175
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004716b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x100471b6
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100471ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0xf0], 0
lea ecx, [edi + 0xd8]
mov dword [edi + 0xdc], 0x14
mov dword [edi + 0xe4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xf4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x100471f6
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047202
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x108], 0
push str.box_friendly
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x118], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x100]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 0
push str.box_friendly_color
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
call fcn.1001d4e0
lea ecx, [edi + 0x1d8]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x100]
cmp ecx, eax
je 0x10047297
cmp dword [ebp - 0xec], 0xf
push dword [ebp - 0xf0]
cmova eax, dword [ebp - 0x100]
push eax
call fcn.10021100
lea ecx, [edi + 0x1a0]
lea eax, [ebp - 0x118]
cmp ecx, eax
je 0x100472c1
cmp dword [ebp - 0x104], 0xf
push dword [ebp - 0x108]
cmova eax, dword [ebp - 0x118]
push eax
call fcn.10021100
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xec]
mov dword [edi + 0x1f0], 0xff00c8ff
mov dword [edi + 0x1f4], 0
cmp ecx, 0xf
jbe 0x10047313
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047309
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10047354
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004734a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x180], 0
lea ecx, [edi + 0x168]
mov dword [edi + 0x16c], 0x14
mov dword [edi + 0x174], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x184], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10047394
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100473a0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
push str.dormant
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x148], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x130]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
push str.dormant_enemies
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0
call fcn.1001d4e0
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x148]
cmp ecx, eax
je 0x10047435
cmp dword [ebp - 0x134], 0xf
push dword [ebp - 0x138]
cmova eax, dword [ebp - 0x148]
push eax
call fcn.10021100
lea ecx, [edi + 0x268]
mov byte [edi + 0x261], 1
lea eax, [ebp - 0x130]
cmp ecx, eax
je 0x10047466
cmp dword [ebp - 0x11c], 0xf
push dword [ebp - 0x120]
cmova eax, dword [ebp - 0x130]
push eax
call fcn.10021100
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x11c]
mov byte [edi + 0x264], 0
cmp ecx, 0xf
jbe 0x100474ab
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100474a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x100474ec
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100474e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x210], 0
lea ecx, [edi + 0x1f8]
mov dword [edi + 0x1fc], 0x14
mov dword [edi + 0x204], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x214], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1004752c
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047538
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
push str.offscreen
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x178], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x160]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0
push str.enemy_offscreen_esp
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x14c], 0
call fcn.1001d4e0
lea ecx, [edi + 0x2b8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x178]
cmp ecx, eax
je 0x100475cd
cmp dword [ebp - 0x164], 0xf
push dword [ebp - 0x168]
cmova eax, dword [ebp - 0x178]
push eax
call fcn.10021100
lea ecx, [edi + 0x2f0]
mov byte [edi + 0x2e9], 1
lea eax, [ebp - 0x160]
cmp ecx, eax
je 0x100475fe
cmp dword [ebp - 0x14c], 0xf
push dword [ebp - 0x150]
cmova eax, dword [ebp - 0x160]
push eax
call fcn.10021100
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14c]
mov byte [edi + 0x2ec], 0
cmp ecx, 0xf
jbe 0x10047643
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047639
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x10047684
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004767a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x298], 0
lea ecx, [edi + 0x280]
mov dword [edi + 0x284], 0x14
mov dword [edi + 0x28c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x29c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x100476c4
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100476d0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
mov esi, dword [0x10098ad4]
lea ecx, [ebp - 0x1a8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
push str.offscreen_color
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x194], 0
call fcn.1001d4e0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x190]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push str.offscreen_esp_color
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
call fcn.1001d4e0
lea ecx, [edi + 0x378]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x190]
cmp ecx, eax
je 0x1004776b
cmp dword [ebp - 0x17c], 0xf
push dword [ebp - 0x180]
cmova eax, dword [ebp - 0x190]
push eax
call fcn.10021100
lea ecx, [edi + 0x340]
lea eax, [ebp - 0x1a8]
cmp ecx, eax
je 0x10047795
cmp dword [ebp - 0x194], 0xf
push dword [ebp - 0x198]
cmova eax, dword [ebp - 0x1a8]
push eax
call fcn.10021100
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x17c]
mov dword [edi + 0x390], esi
mov dword [edi + 0x394], 0
cmp ecx, 0xf
jbe 0x100477e3
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100477d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x10047824
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004781a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x320], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x30c], 0x14
lea ecx, [edi + 0x308]
mov dword [edi + 0x314], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x324], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10047867
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047873
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x12
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
push str.name
movups xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1c4], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1c0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.name
movups xmmword [ebp - 0x1c0], xmm0
mov dword [ebp - 0x1ac], 0
call fcn.1001d4e0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x3d0]
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1d8]
cmp ecx, eax
je 0x10047988
cmp dword [ebp - 0x1c4], 0xf
push dword [ebp - 0x1c8]
cmova eax, dword [ebp - 0x1d8]
push eax
call fcn.10021100
lea ecx, [edi + 0x408]
mov byte [edi + 0x401], 1
lea eax, [ebp - 0x1c0]
cmp ecx, eax
je 0x100479b9
cmp dword [ebp - 0x1ac], 0xf
push dword [ebp - 0x1b0]
cmova eax, dword [ebp - 0x1c0]
push eax
call fcn.10021100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x401], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x43c], eax
add eax, 0x14
mov dword [edi + 0x3a8], eax
mov dword [edi + 0x3ac], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x10047a36
lea ecx, [edi + 0x420]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x424]
push esi
cmp eax, dword [edi + 0x428]
je 0x10047a1f
mov ecx, eax
call fcn.10020e60
add dword [edi + 0x424], 0x18
jmp 0x10047a25
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0x420]
cmp esi, dword [ebp - 0x20]
jne 0x10047a00
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x10047a70
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047a66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047aa0
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0xf
jbe 0x10047ab0
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047aa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047aa6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x3b0], 0
lea ecx, [edi + 0x398]
mov dword [edi + 0x39c], 0x14
mov dword [edi + 0x3a4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3b4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10047b14
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047b20
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
mov esi, dword [0x10098ad4]
lea ecx, [ebp - 0x208]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1f8], 0
push 0x1009a650
movups xmmword [ebp - 0x208], xmm0
mov dword [ebp - 0x1f4], 0
call fcn.1001d4e0
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x1f0]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1e0], 0
push str.name_color
movups xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1dc], 0
call fcn.1001d4e0
lea ecx, [edi + 0x4b0]
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x1f0]
cmp ecx, eax
je 0x10047bbb
cmp dword [ebp - 0x1dc], 0xf
push dword [ebp - 0x1e0]
cmova eax, dword [ebp - 0x1f0]
push eax
call fcn.10021100
lea ecx, [edi + 0x478]
lea eax, [ebp - 0x208]
cmp ecx, eax
je 0x10047be5
cmp dword [ebp - 0x1f4], 0xf
push dword [ebp - 0x1f8]
cmova eax, dword [ebp - 0x208]
push eax
call fcn.10021100
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1dc]
mov dword [edi + 0x4c8], esi
mov dword [edi + 0x4cc], 0
cmp ecx, 0xf
jbe 0x10047c33
mov edx, dword [ebp - 0x1f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047c29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1f4]
cmp ecx, 0xf
jbe 0x10047c74
mov edx, dword [ebp - 0x208]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047c6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x458], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x444], 0x14
lea ecx, [edi + 0x440]
mov dword [edi + 0x44c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x45c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10047cb7
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047cc3
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x1a
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x238]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push str.health
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x220]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
push str.health
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x20c], 0
call fcn.1001d4e0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x508]
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x238]
cmp ecx, eax
je 0x10047dd8
cmp dword [ebp - 0x224], 0xf
push dword [ebp - 0x228]
cmova eax, dword [ebp - 0x238]
push eax
call fcn.10021100
lea ecx, [edi + 0x540]
mov byte [edi + 0x539], 1
lea eax, [ebp - 0x220]
cmp ecx, eax
je 0x10047e09
cmp dword [ebp - 0x20c], 0xf
push dword [ebp - 0x210]
cmova eax, dword [ebp - 0x220]
push eax
call fcn.10021100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x539], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x574], eax
add eax, 0x14
mov dword [edi + 0x4e0], eax
mov dword [edi + 0x4e4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10047e86
lea ecx, [edi + 0x558]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x55c]
push esi
cmp eax, dword [edi + 0x560]
je 0x10047e6f
mov ecx, eax
call fcn.10020e60
add dword [edi + 0x55c], 0x18
jmp 0x10047e75
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0x558]
cmp esi, dword [ebp - 0x18]
jne 0x10047e50
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x20c]
cmp ecx, 0xf
jbe 0x10047ec0
mov edx, dword [ebp - 0x220]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047eb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047ef0
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x224]
cmp ecx, 0xf
jbe 0x10047f00
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047ef6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047ef6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x4e8], 0
lea ecx, [edi + 0x4d0]
mov dword [edi + 0x4d4], 0x14
mov dword [edi + 0x4dc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4ec], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10047f64
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047f70
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x438], 0
push str.money
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x434], 0
movups xmmword [ebp - 0x448], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x430]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push str.armor
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x418]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x408], 0
push str.scoped
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x404], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x400]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], 0
push str.flashed
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x3e8]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], 0
push str.reloading
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x3d0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.bomb
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 0x24
push ecx
lea eax, [ebp - 0x3b8]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x268]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
push 0x1009a69c
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
call fcn.1001d4e0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x26
movups xmmword [ebp - 0x250], xmm0
push 0xb
push str.flags_enemy
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
call fcn.1001d4e0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x5b0]
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x10048173
cmp dword [ebp - 0x254], 0xf
push dword [ebp - 0x258]
cmova eax, dword [ebp - 0x268]
push eax
call fcn.10021100
lea ecx, [edi + 0x5e8]
mov byte [edi + 0x5e1], 1
lea eax, [ebp - 0x250]
cmp ecx, eax
je 0x100481a4
cmp dword [ebp - 0x23c], 0xf
push dword [ebp - 0x240]
cmova eax, dword [ebp - 0x250]
push eax
call fcn.10021100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x5e1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x61c], eax
add eax, 0x14
mov dword [edi + 0x588], eax
mov dword [edi + 0x58c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10048226
lea ecx, [edi + 0x600]
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x604]
push esi
cmp eax, dword [edi + 0x608]
je 0x1004820f
mov ecx, eax
call fcn.10020e60
add dword [edi + 0x604], 0x18
jmp 0x10048215
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0x600]
cmp esi, dword [ebp - 0x18]
jne 0x100481f0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0xf
jbe 0x10048260
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048290
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x100482a0
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048296
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048296
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 6
push 0x18
lea eax, [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x590], 0
lea ecx, [edi + 0x578]
mov dword [edi + 0x57c], 0x14
mov dword [edi + 0x584], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x594], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10048307
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10048313
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x438], 0
push str.money
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x434], 0
movups xmmword [ebp - 0x448], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x430]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push str.armor
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x418]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x408], 0
push str.scoped
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x404], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x400]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], 0
push str.flashed
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x3e8]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], 0
push str.reloading
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3d0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.bomb
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 0x2e
push ecx
lea eax, [ebp - 0x3b8]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x298]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x288], 0
push 0x1009a6b0
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
call fcn.1001d4e0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x30
movups xmmword [ebp - 0x280], xmm0
push 0xe
push str.flags_friendly
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
call fcn.1001d4e0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x658]
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x298]
cmp ecx, eax
je 0x10048516
cmp dword [ebp - 0x284], 0xf
push dword [ebp - 0x288]
cmova eax, dword [ebp - 0x298]
push eax
call fcn.10021100
lea ecx, [edi + 0x690]
mov byte [edi + 0x689], 1
lea eax, [ebp - 0x280]
cmp ecx, eax
je 0x10048547
cmp dword [ebp - 0x26c], 0xf
push dword [ebp - 0x270]
cmova eax, dword [ebp - 0x280]
push eax
call fcn.10021100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x689], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x6c4], eax
add eax, 0x14
mov dword [edi + 0x630], eax
mov dword [edi + 0x634], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x100485c6
lea ecx, [edi + 0x6a8]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x6ac]
push esi
cmp eax, dword [edi + 0x6b0]
je 0x100485af
mov ecx, eax
call fcn.10020e60
add dword [edi + 0x6ac], 0x18
jmp 0x100485b5
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0x6a8]
cmp esi, dword [ebp - 0x18]
jne 0x10048590
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x26c]
cmp ecx, 0xf
jbe 0x10048600
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100485f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048630
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp - 0x284]
cmp ecx, 0xf
jbe 0x10048640
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048636
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048636
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 6
push 0x18
lea eax, [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x638], 0
lea ecx, [edi + 0x620]
mov dword [edi + 0x624], 0x14
mov dword [edi + 0x62c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x63c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x100486a7
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100486b3
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x33
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x34
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x2c8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2b8], 0
push str.weapon
movups xmmword [ebp - 0x2c8], xmm0
mov dword [ebp - 0x2b4], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x2b0]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
push str.weapon
movups xmmword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x29c], 0
call fcn.1001d4e0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x700]
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x2c8]
cmp ecx, eax
je 0x100487c8
cmp dword [ebp - 0x2b4], 0xf
push dword [ebp - 0x2b8]
cmova eax, dword [ebp - 0x2c8]
push eax
call fcn.10021100
lea ecx, [edi + 0x738]
mov byte [edi + 0x731], 1
lea eax, [ebp - 0x2b0]
cmp ecx, eax
je 0x100487f9
cmp dword [ebp - 0x29c], 0xf
push dword [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2b0]
push eax
call fcn.10021100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x731], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x76c], eax
add eax, 0x14
mov dword [edi + 0x6d8], eax
mov dword [edi + 0x6dc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10048876
lea ecx, [edi + 0x750]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x754]
push esi
cmp eax, dword [edi + 0x758]
je 0x1004885f
mov ecx, eax
call fcn.10020e60
add dword [edi + 0x754], 0x18
jmp 0x10048865
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0x750]
cmp esi, dword [ebp - 0x18]
jne 0x10048840
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x29c]
cmp ecx, 0xf
jbe 0x100488b0
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100488a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100488e0
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 0xf
jbe 0x100488f0
mov edx, dword [ebp - 0x2c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100488e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100488e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x6e0], 0
lea ecx, [edi + 0x6c8]
mov dword [edi + 0x6cc], 0x14
mov dword [edi + 0x6d4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x6e4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10048954
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10048960
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da50
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.text
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x39
lea ecx, [ebp - 0x50]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.icon
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4e0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x3a
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x2e0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x2d0], 0
push str.weapon_mode
movups xmmword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2cc], 0
call fcn.1001d4e0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x88]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push 0x10099145
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.1001d4e0
lea ecx, [edi + 0x7a8]
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0x2e0]
cmp ecx, eax
je 0x10048a5a
cmp dword [ebp - 0x2cc], 0xf
push dword [ebp - 0x2d0]
cmova eax, dword [ebp - 0x2e0]
push eax
call fcn.10021100
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov byte [edi + 0x7d9], 0
mov dword [edi + 0x80c], 0
mov dword [edi + 0x780], 0x14
mov dword [edi + 0x784], 0x14
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x10048ad3
lea ecx, [edi + 0x7f8]
nop dword [eax + eax]
mov eax, dword [edi + 0x7fc]
push esi
cmp eax, dword [edi + 0x800]
je 0x10048abf
mov ecx, eax
call fcn.10020e60
add dword [edi + 0x7fc], 0x18
jmp 0x10048ac5
push eax
call fcn.1003a970
add esi, 0x18
lea ecx, [edi + 0x7f8]
cmp esi, dword [ebp - 0x20]
jne 0x10048aa0
mov ecx, dword [edi + 0x7fc]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x7f8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10048afc
mov dword [edi + 0x808], 0
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10048b33
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048b29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048b63
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0xf
jbe 0x10048b73
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048b69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048b69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x788], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x774], 0x14
lea edx, [edi + 0x770]
mov dword [edi + 0x77c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x78c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], edx
cmp eax, dword [ecx + 8]
je 0x10048bda
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x10048be4
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001da50
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x300], 0
push str.ammo
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2fc], 0
lea esi, [edi + 0x810]
movups xmmword [ebp - 0x310], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x3e
lea ecx, [ebp - 0x2f8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x2e8], 0
push str.ammo
movups xmmword [ebp - 0x2f8], xmm0
mov dword [ebp - 0x2e4], 0
call fcn.1001d4e0
lea ecx, [edi + 0x848]
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x310]
cmp ecx, eax
je 0x10048c7f
cmp dword [ebp - 0x2fc], 0xf
push dword [ebp - 0x300]
cmova eax, dword [ebp - 0x310]
push eax
call fcn.10021100
lea ecx, [edi + 0x880]
mov byte [edi + 0x879], 1
lea eax, [ebp - 0x2f8]
cmp ecx, eax
je 0x10048cb0
cmp dword [ebp - 0x2e4], 0xf
push dword [ebp - 0x2e8]
cmova eax, dword [ebp - 0x2f8]
push eax
call fcn.10021100
mov byte [ebp - 4], 0x3e
mov ecx, dword [ebp - 0x2e4]
mov byte [edi + 0x87c], 0
cmp ecx, 0xf
jbe 0x10048cf5
mov edx, dword [ebp - 0x2f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ceb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 0xf
jbe 0x10048d36
mov edx, dword [ebp - 0x310]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048d2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x828], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x814], 0x14
mov dword [edi + 0x81c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x82c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], esi
cmp eax, dword [ecx + 8]
je 0x10048d73
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x10048d7d
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001da50
mov esi, dword [0x10098af4]
lea ecx, [ebp - 0x340]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x330], 0
push str.ammo_color
movups xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x32c], 0
call fcn.1001d4e0
mov dword [ebp - 4], 0x40
lea ecx, [ebp - 0x328]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
push str.color
movups xmmword [ebp - 0x328], xmm0
mov dword [ebp - 0x314], 0
call fcn.1001d4e0
lea ecx, [edi + 0x908]
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0x328]
cmp ecx, eax
je 0x10048e18
cmp dword [ebp - 0x314], 0xf
push dword [ebp - 0x318]
cmova eax, dword [ebp - 0x328]
push eax
call fcn.10021100
lea ecx, [edi + 0x8d0]
lea eax, [ebp - 0x340]
cmp ecx, eax
je 0x10048e42
cmp dword [ebp - 0x32c], 0xf
push dword [ebp - 0x330]
cmova eax, dword [ebp - 0x340]
push eax
call fcn.10021100
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x314]
mov dword [edi + 0x920], esi
mov dword [edi + 0x924], 0
cmp ecx, 0xf
jbe 0x10048e8c
mov edx, dword [ebp - 0x328]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048e82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048ebf
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x32c]
cmp ecx, 0xf
jbe 0x10048ecf
mov edx, dword [ebp - 0x340]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ec5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048ec5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cf56
add esp, 8
mov dword [edi + 0x8b0], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x89c], 0x14
lea edx, [edi + 0x898]
mov dword [edi + 0x8a4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x8b4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], edx
cmp eax, dword [ecx + 8]
je 0x10048f12
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x10048f1c
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001da50
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x378], 0
push str.lby_update
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x374], 0
lea esi, [edi + 0x928]
movups xmmword [ebp - 0x388], xmm0
call fcn.1001d4e0
mov dword [ebp - 4], 0x42
lea ecx, [ebp - 0x88]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push 0x1009a71c
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.1001d4e0
lea ecx, [edi + 0x960]
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x10048fb1
cmp dword [ebp - 0x374], 0xf
push dword [ebp - 0x378]
cmova eax, dword [ebp - 0x388]
push eax
call fcn.10021100
lea eax, [ebp - 0x88]
mov byte [edi + 0x991], 1
push eax
lea ecx, [edi + 0x998]
call fcn.100343f0
lea ecx, [ebp - 0x88]
mov byte [edi + 0x994], 0
call fcn.1001cde0
lea ecx, [ebp - 0x388]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
mov dword [edi + 0x940], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x92c], 0x14
mov dword [edi + 0x934], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x944], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call fcn.1002d8b0
mov esi, dword [0x10098aec]
lea ecx, [ebp - 0xa0]
push str.lby_update_color
add edi, 0x9b0
call fcn.1001ce30
push str.color
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x44
call fcn.1001ce30
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x88]
push eax
add ecx, 0xa20
mov byte [ebp - 4], 0x45
call fcn.100343f0
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ecx + 0x9e8]
call fcn.100343f0
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0xa38], esi
mov dword [eax + 0xa3c], 0
call fcn.1001cde0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0x14
mov dword [edi + 0xc], 0xaf
mov eax, dword [eax + 0x2c]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
call fcn.1002d8b0
push str.enemy
lea ecx, [ebp - 0x3b8]
call fcn.1001ce30
push str.friendly
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x46
call fcn.1001ce30
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 4], 0x47
push ecx
lea eax, [ebp - 0x388]
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.100668b0
mov byte [ebp - 4], 0x48
push str.skeleton
lea ecx, [ebp - 0x50]
call fcn.1001ce30
push str.skeleton
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x49
call fcn.1001ce30
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x4b
lea ecx, [edi + 0xa78]
call fcn.100343f0
lea eax, [ebp - 0x38]
mov byte [edi + 0xaa9], 1
push eax
lea ecx, [edi + 0xab0]
call fcn.100343f0
mov esi, dword [ebp - 0x7c]
xor eax, eax
cmp byte [edi + 0xaa9], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xae4], eax
add eax, 0x14
mov dword [edi + 0xa50], eax
mov dword [edi + 0xa54], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x100491e6
lea eax, [edi + 0xac8]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push esi
mov ecx, eax
call fcn.10039ef0
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x100491d1
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x98]
call fcn.1001c3e0
lea ecx, [ebp - 0x38]
call fcn.1001cde0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x7c]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x3b8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0xa58], 1
lea eax, [edi + 0xa40]
mov dword [edi + 0xa44], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xa4c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xa5c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.skeleton_enemy
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xae8]
call fcn.1001ce30
push str.enemy_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x4c
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x4d
push eax
lea ecx, [edi + 0xb58]
mov dword [ebp - 0x18], 0xffffffff
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xb20]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xb70], eax
mov dword [edi + 0xb74], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.skeleton_friendly
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xb78]
call fcn.1001ce30
push str.friendly_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x4e
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x4f
push eax
lea ecx, [edi + 0xbe8]
mov dword [ebp - 0x18], 0xffffffff
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xbb0]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xc00], eax
mov dword [edi + 0xc04], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.enemy
lea ecx, [ebp - 0x3b8]
call fcn.1001ce30
push str.friendly
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x50
call fcn.1001ce30
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 4], 0x51
push ecx
lea eax, [ebp - 0x388]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
push str.glow
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x52
call fcn.1001ce30
push str.glow
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x53
call fcn.1001ce30
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x55
push eax
lea ecx, [edi + 0xc40]
call fcn.100343f0
lea eax, [ebp - 0x50]
mov byte [edi + 0xc71], 1
push eax
lea ecx, [edi + 0xc78]
call fcn.100343f0
mov esi, dword [ebp - 0x94]
xor eax, eax
cmp byte [edi + 0xc71], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xcac], eax
add eax, 0x14
mov dword [edi + 0xc18], eax
mov dword [edi + 0xc1c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x100494aa
lea eax, [edi + 0xc90]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push esi
mov ecx, eax
call fcn.10039ef0
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x10049495
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1001c3e0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
call fcn.1001cde0
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x3b8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0xc20], 1
lea eax, [edi + 0xc08]
mov dword [edi + 0xc0c], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xc14], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xc24], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.glow_enemy
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xcb0]
call fcn.1001ce30
push str.enemy_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x56
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x57
push eax
lea ecx, [edi + 0xd20]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xce8]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xd38], eax
mov dword [edi + 0xd3c], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.glow_friendly
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xd40]
call fcn.1001ce30
push str.friendly_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x58
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x59
push eax
lea ecx, [edi + 0xdb0]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xd78]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xdc8], eax
mov dword [edi + 0xdcc], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099f18
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xdd0]
call fcn.10066cd0
push str.glow_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x5a
call fcn.1001ce30
push 0x10099145
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x5b
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x5c
push eax
lea ecx, [edi + 0xe08]
call fcn.100343f0
mov byte [edi + 0xe39], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0xe88], 0
lea ecx, [edi + 0xe70]
mov dword [edi + 0xde0], 8
mov dword [edi + 0xde4], 8
mov dword [edi + 0xe44], 0x41200000
mov dword [edi + 0xe48], 0x42c80000
mov dword [edi + 0xe40], 0x42700000
mov dword [edi + 0xe54], 0
push eax
mov dword [edi + 0xe4c], 0x3f800000
call fcn.10066c60
lea ecx, [ebp - 0x88]
call fcn.1001cde0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a210
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.visible
lea ecx, [ebp - 0x3b8]
call fcn.1001ce30
push str.invisible
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x5d
call fcn.1001ce30
mov dword [ebp - 4], 0x5e
lea ecx, [ebp - 0x3b8]
push ecx
lea eax, [ebp - 0x388]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
push str.chams_enemy
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x5f
call fcn.1001ce30
push 0x1009a7d8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x60
call fcn.1001ce30
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x62
push eax
lea ecx, [edi + 0xec4]
call fcn.100343f0
lea eax, [ebp - 0x50]
mov byte [edi + 0xef5], 1
push eax
lea ecx, [edi + 0xefc]
call fcn.100343f0
mov esi, dword [ebp - 0x94]
xor eax, eax
cmp byte [edi + 0xef5], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xf30], eax
add eax, 0x14
mov dword [edi + 0xe9c], eax
mov dword [edi + 0xea0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x1004986b
lea eax, [edi + 0xf14]
mov dword [ebp - 0x1c], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.10039ef0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10049858
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1001c3e0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
call fcn.1001cde0
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x3b8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0xea4], 1
lea eax, [edi + 0xe8c]
mov dword [edi + 0xe90], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xe98], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xea8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.chams_enemy_vis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xf34]
call fcn.1001ce30
push str.color_visible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x63
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x64
push eax
lea ecx, [edi + 0xfa4]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xf6c]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xfbc], eax
mov dword [edi + 0xfc0], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_enemy_invis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xfc4]
call fcn.1001ce30
push str.color_invisible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x65
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x66
push eax
lea ecx, [edi + 0x1034]
mov dword [ebp - 0x18], 0xffe1b43c
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xffc]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x104c], eax
mov dword [edi + 0x1050], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099f18
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1054]
call fcn.10066cd0
push str.chams_enemy_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x67
call fcn.1001ce30
push 0x10099145
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x68
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x69
push eax
lea ecx, [edi + 0x108c]
call fcn.100343f0
mov byte [edi + 0x10bd], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x110c], 0
lea ecx, [edi + 0x10f4]
mov dword [edi + 0x1064], 8
mov dword [edi + 0x1068], 8
mov dword [edi + 0x10c8], 0x41200000
mov dword [edi + 0x10cc], 0x42c80000
mov dword [edi + 0x10c4], 0x42c80000
mov dword [edi + 0x10d8], 0
push eax
mov dword [edi + 0x10d0], 0x3f800000
call fcn.10066c60
lea ecx, [ebp - 0x88]
call fcn.1001cde0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a210
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x1009a834
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1110]
call fcn.1001ce30
push str.chams_history
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x6a
call fcn.1001ce30
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x6b
push eax
lea ecx, [edi + 0x1148]
call fcn.100343f0
lea eax, [ebp - 0x50]
mov byte [edi + 0x1179], 1
push eax
lea ecx, [edi + 0x1180]
call fcn.100343f0
lea ecx, [ebp - 0x50]
mov byte [edi + 0x117c], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_history_col
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1198]
call fcn.1001ce30
push str.color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x6c
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x6d
push eax
lea ecx, [edi + 0x1208]
mov dword [ebp - 0x18], 0xffc8ffff
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x11d0]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x1220], eax
mov dword [edi + 0x1224], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099f18
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1228]
call fcn.10066cd0
push str.chams_history_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x6e
call fcn.1001ce30
push 0x10099145
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x6f
call fcn.1001ce30
mov byte [ebp - 4], 0x70
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x1260]
call fcn.100343f0
mov byte [edi + 0x1291], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x12e0], 0
lea ecx, [edi + 0x12c8]
mov dword [edi + 0x1238], 8
mov dword [edi + 0x123c], 8
mov dword [edi + 0x129c], 0x41200000
mov dword [edi + 0x12a0], 0x42c80000
mov dword [edi + 0x1298], 0x42c80000
mov dword [edi + 0x12ac], 0
push eax
mov dword [edi + 0x12a4], 0x3f800000
call fcn.10066c60
lea ecx, [ebp - 0x88]
call fcn.1001cde0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a210
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.visible
lea ecx, [ebp - 0x3b8]
call fcn.1001ce30
push str.invisible
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x71
call fcn.1001ce30
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 4], 0x72
push ecx
lea eax, [ebp - 0x388]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.100668b0
push 0x1009a87c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x73
call fcn.1001ce30
push str.chams_friendly
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x74
call fcn.1001ce30
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x76
push eax
lea ecx, [edi + 0x131c]
call fcn.100343f0
lea eax, [ebp - 0x50]
mov byte [edi + 0x134d], 1
push eax
lea ecx, [edi + 0x1354]
call fcn.100343f0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x134d], al
cmovne eax, ecx
mov dword [edi + 0x1388], eax
add eax, 0x14
mov esi, dword [ebp - 0x94]
mov dword [edi + 0x12f4], eax
mov dword [edi + 0x12f8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x10049e68
lea eax, [edi + 0x136c]
mov dword [ebp - 0x1c], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.10039ef0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10049e55
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1001c3e0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
call fcn.1001cde0
lea ecx, [ebp - 0x94]
call fcn.1003a320
push fcn.1001cde0
push 2
push 0x18
lea eax, [ebp - 0x3b8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cb28
mov dword [edi + 0x12fc], 1
lea eax, [edi + 0x12e4]
mov dword [edi + 0x12e8], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x12f0], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1300], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.chams_friendly_vis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x138c]
call fcn.1001ce30
push str.color_visible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x77
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x78
push eax
lea ecx, [edi + 0x13fc]
mov dword [ebp - 0x18], 0xff00c8ff
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x13c4]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x1414], eax
mov dword [edi + 0x1418], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_friendly_invis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x141c]
call fcn.1001ce30
push str.color_invisible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x79
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x7a
push eax
lea ecx, [edi + 0x148c]
mov dword [ebp - 0x18], 0xff0032ff
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x1454]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x14a4], eax
mov dword [edi + 0x14a8], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099f18
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x14ac]
call fcn.10066cd0
push str.chams_friendly_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x7b
call fcn.1001ce30
push 0x10099145
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x7c
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x7d
push eax
lea ecx, [edi + 0x14e4]
call fcn.100343f0
mov byte [edi + 0x1515], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x1564], 0
lea ecx, [edi + 0x154c]
mov dword [edi + 0x14bc], 8
mov dword [edi + 0x14c0], 8
mov dword [edi + 0x1520], 0x41200000
mov dword [edi + 0x1524], 0x42c80000
mov dword [edi + 0x151c], 0x42c80000
mov dword [edi + 0x1530], 0
push eax
mov dword [edi + 0x1528], 0x3f800000
call fcn.10066c60
lea ecx, [ebp - 0x88]
call fcn.1001cde0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a210
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_local
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1568]
call fcn.1001ce30
push 0x1009a8f4
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x7e
call fcn.1001ce30
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x7f
push eax
lea ecx, [edi + 0x15a0]
call fcn.100343f0
lea eax, [ebp - 0x50]
mov byte [edi + 0x15d1], 1
push eax
lea ecx, [edi + 0x15d8]
call fcn.100343f0
lea ecx, [ebp - 0x50]
mov byte [edi + 0x15d4], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_local_col
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x15f0]
call fcn.1001ce30
push str.color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x80
call fcn.1001ce30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x81
push eax
lea ecx, [edi + 0x1660]
mov dword [ebp - 0x18], 0xffc8ffff
call fcn.100343f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x1628]
call fcn.100343f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x1678], eax
mov dword [edi + 0x167c], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099f18
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1680]
call fcn.10066cd0
push str.chams_local_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x82
call fcn.1001ce30
push 0x10099145
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x83
call fcn.1001ce30
mov byte [ebp - 4], 0x84
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x16b8]
call fcn.100343f0
mov byte [edi + 0x16e9], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x1738], 0
lea ecx, [edi + 0x1720]
mov dword [edi + 0x1690], 8
mov dword [edi + 0x1694], 8
mov dword [edi + 0x16f4], 0x41200000
mov dword [edi + 0x16f8], 0x42c80000
mov dword [edi + 0x16f0], 0x42c80000
mov dword [edi + 0x1704], 0
push eax
mov dword [edi + 0x16fc], 0x3f800000
call fcn.10066c60
lea ecx, [ebp - 0x88]
call fcn.1001cde0
lea ecx, [ebp - 0x50]
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a210
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_local_scope
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x173c]
call fcn.1001ce30
push str.blend_when_scoped
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x85
call fcn.1001ce30
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x86
push eax
lea ecx, [edi + 0x1774]
call fcn.100343f0
lea eax, [ebp - 0x50]
mov byte [edi + 0x17a5], 1
push eax
lea ecx, [edi + 0x17ac]
call fcn.100343f0
lea ecx, [ebp - 0x50]
mov byte [edi + 0x17a8], 0
call fcn.1001cde0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cde0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
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.1008cadc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret