Function at 0x10059df0
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 0x100ad8b3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x448
mov eax, dword [0x100c5040]
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 - 0x24], edi
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x310], 0
push str.players
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x30c], 0
movups xmmword [ebp - 0x320], xmm0
call fcn.10027900
lea eax, [ebp - 0x320]
mov dword [ebp - 4], 0
cmp edi, eax
je 0x10059e93
cmp dword [ebp - 0x30c], 0xf
mov ecx, edi
push dword [ebp - 0x310]
cmova eax, dword [ebp - 0x320]
push eax
call fcn.100270d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30c]
cmp ecx, 0xf
jbe 0x10059ed4
mov edx, dword [ebp - 0x320]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10059eca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.enemy
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.10027900
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x68]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.friendly
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10027900
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push 0x100b7bc8
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
call fcn.10027900
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x338]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x328], 0
push str.boxes
movups xmmword [ebp - 0x338], xmm0
mov dword [ebp - 0x324], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb0]
cmp ecx, eax
je 0x10059fec
cmp dword [ebp - 0x9c], 0xf
push dword [ebp - 0xa0]
cmova eax, dword [ebp - 0xb0]
push eax
call fcn.100270d0
lea ecx, [edi + 0xa0]
mov byte [edi + 0x99], 1
lea eax, [ebp - 0x338]
cmp ecx, eax
je 0x1005a01d
cmp dword [ebp - 0x324], 0xf
push dword [ebp - 0x328]
cmova eax, dword [ebp - 0x338]
push eax
call fcn.100270d0
mov esi, dword [ebp - 0x38]
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 - 0x34]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x1005a083
lea ecx, [edi + 0xb8]
nop
mov eax, dword [edi + 0xbc]
push esi
cmp eax, dword [edi + 0xc0]
je 0x1005a06f
mov ecx, eax
call fcn.1002b210
add dword [edi + 0xbc], 0x18
jmp 0x1005a075
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0xb8]
cmp esi, dword [ebp - 0x20]
jne 0x1005a050
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x324]
cmp ecx, 0xf
jbe 0x1005a0bd
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a0b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a0ed
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1005a0fd
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a0f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005a0f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x48], 0
lea edx, [edi + 0x30]
mov dword [edi + 0x34], 0x14
mov dword [edi + 0x3c], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x18]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
cmp ecx, dword [eax + 8]
je 0x1005a155
mov dword [ecx], edx
add dword [eax + 4], 4
jmp 0x1005a161
lea edx, [ebp - 0x1c]
push edx
push ecx
mov ecx, eax
call fcn.10027ff0
mov esi, dword [0x100b5e48]
lea ecx, [ebp - 0xe0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
push str.box_enemy
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0
call fcn.10027900
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xc8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str.box_enemy_color
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.10027900
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 8
lea eax, [ebp - 0xc8]
cmp ecx, eax
je 0x1005a1fc
cmp dword [ebp - 0xb4], 0xf
push dword [ebp - 0xb8]
cmova eax, dword [ebp - 0xc8]
push eax
call fcn.100270d0
lea ecx, [edi + 0x110]
lea eax, [ebp - 0xe0]
cmp ecx, eax
je 0x1005a226
cmp dword [ebp - 0xcc], 0xf
push dword [ebp - 0xd0]
cmova eax, dword [ebp - 0xe0]
push eax
call fcn.100270d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb4]
mov dword [edi + 0x160], esi
mov dword [edi + 0x174], 0
cmp ecx, 0xf
jbe 0x1005a274
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a26a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0xf
jbe 0x1005a2b5
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a2ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0xf0], 0
lea edx, [edi + 0xd8]
mov dword [edi + 0xdc], 0x14
mov dword [edi + 0xe4], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xf4], eax
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x1c], edx
cmp ecx, dword [edi + 0x20]
je 0x1005a2f5
mov dword [ecx], edx
add dword [edi + 0x1c], 4
jmp 0x1005a302
lea edx, [ebp - 0x1c]
push edx
push ecx
lea ecx, [edi + 0x18]
call fcn.10027ff0
mov esi, dword [0x100b5e48]
lea ecx, [ebp - 0x110]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push str.box_friendly
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
call fcn.10027900
mov dword [ebp - 4], 9
lea ecx, [ebp - 0xf8]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
push str.box_friendly_color
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
call fcn.10027900
lea ecx, [edi + 0x1f8]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xf8]
cmp ecx, eax
je 0x1005a39d
cmp dword [ebp - 0xe4], 0xf
push dword [ebp - 0xe8]
cmova eax, dword [ebp - 0xf8]
push eax
call fcn.100270d0
lea ecx, [edi + 0x1c0]
lea eax, [ebp - 0x110]
cmp ecx, eax
je 0x1005a3c7
cmp dword [ebp - 0xfc], 0xf
push dword [ebp - 0x100]
cmova eax, dword [ebp - 0x110]
push eax
call fcn.100270d0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xe4]
mov dword [edi + 0x210], esi
mov dword [edi + 0x224], 0
cmp ecx, 0xf
jbe 0x1005a415
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a40b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x1005a456
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a44c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0x1a0], 0
lea ecx, [edi + 0x188]
mov dword [edi + 0x18c], 0x14
mov dword [edi + 0x194], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [edi + 0x20]
je 0x1005a496
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x1005a4a3
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10027ff0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
push str.dormant
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x140], xmm0
call fcn.10027900
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x128]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push str.dormant_enemies
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0
call fcn.10027900
lea ecx, [edi + 0x270]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x140]
cmp ecx, eax
je 0x1005a538
cmp dword [ebp - 0x12c], 0xf
push dword [ebp - 0x130]
cmova eax, dword [ebp - 0x140]
push eax
call fcn.100270d0
lea ecx, [edi + 0x2a8]
mov byte [edi + 0x2a1], 1
lea eax, [ebp - 0x128]
cmp ecx, eax
je 0x1005a569
cmp dword [ebp - 0x114], 0xf
push dword [ebp - 0x118]
cmova eax, dword [ebp - 0x128]
push eax
call fcn.100270d0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x114]
mov byte [edi + 0x2a4], 0
cmp ecx, 0xf
jbe 0x1005a5ae
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a5a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x1005a5ef
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a5e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0x250], 0
lea ecx, [edi + 0x238]
mov dword [edi + 0x23c], 0x14
mov dword [edi + 0x244], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x254], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [edi + 0x20]
je 0x1005a62f
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x1005a63c
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10027ff0
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
push str.offscreen
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x15c], 0
movups xmmword [ebp - 0x170], xmm0
call fcn.10027900
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x158]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
push str.enemy_offscreen_esp
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x144], 0
call fcn.10027900
lea ecx, [edi + 0x2f8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x170]
cmp ecx, eax
je 0x1005a6d1
cmp dword [ebp - 0x15c], 0xf
push dword [ebp - 0x160]
cmova eax, dword [ebp - 0x170]
push eax
call fcn.100270d0
lea ecx, [edi + 0x330]
mov byte [edi + 0x329], 1
lea eax, [ebp - 0x158]
cmp ecx, eax
je 0x1005a702
cmp dword [ebp - 0x144], 0xf
push dword [ebp - 0x148]
cmova eax, dword [ebp - 0x158]
push eax
call fcn.100270d0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x144]
mov byte [edi + 0x32c], 0
cmp ecx, 0xf
jbe 0x1005a747
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a73d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x1005a788
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a77e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0x2d8], 0
lea ecx, [edi + 0x2c0]
mov dword [edi + 0x2c4], 0x14
mov dword [edi + 0x2cc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x2dc], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [edi + 0x20]
je 0x1005a7c8
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x1005a7d5
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10027ff0
mov esi, dword [0x100b5e48]
lea ecx, [ebp - 0x1a0]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push str.offscreen_color
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x18c], 0
call fcn.10027900
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x188]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
push str.offscreen_esp_color
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x174], 0
call fcn.10027900
lea ecx, [edi + 0x3b8]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x188]
cmp ecx, eax
je 0x1005a870
cmp dword [ebp - 0x174], 0xf
push dword [ebp - 0x178]
cmova eax, dword [ebp - 0x188]
push eax
call fcn.100270d0
lea ecx, [edi + 0x380]
lea eax, [ebp - 0x1a0]
cmp ecx, eax
je 0x1005a89a
cmp dword [ebp - 0x18c], 0xf
push dword [ebp - 0x190]
cmova eax, dword [ebp - 0x1a0]
push eax
call fcn.100270d0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x174]
mov dword [edi + 0x3d0], esi
mov dword [edi + 0x3e4], 0
cmp ecx, 0xf
jbe 0x1005a8e8
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a8de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0xf
jbe 0x1005a929
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a91f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0x360], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x34c], 0x14
lea ecx, [edi + 0x348]
mov dword [edi + 0x354], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x364], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [esi + 8]
je 0x1005a96c
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005a978
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.enemy
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x68]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.friendly
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10027900
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0x12
push ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1c0], 0
push str.name
movups xmmword [ebp - 0x1d0], xmm0
mov dword [ebp - 0x1bc], 0
call fcn.10027900
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1b8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1a8], 0
push str.name
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1a4], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x430]
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1d0]
cmp ecx, eax
je 0x1005aa93
cmp dword [ebp - 0x1bc], 0xf
push dword [ebp - 0x1c0]
cmova eax, dword [ebp - 0x1d0]
push eax
call fcn.100270d0
lea ecx, [edi + 0x468]
mov byte [edi + 0x461], 1
lea eax, [ebp - 0x1b8]
cmp ecx, eax
je 0x1005aac4
cmp dword [ebp - 0x1a4], 0xf
push dword [ebp - 0x1a8]
cmova eax, dword [ebp - 0x1b8]
push eax
call fcn.100270d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x461], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x49c], eax
add eax, 0x14
mov dword [edi + 0x408], eax
mov dword [edi + 0x40c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x1005ab36
lea ecx, [edi + 0x480]
mov esi, eax
nop
mov eax, dword [edi + 0x484]
push esi
cmp eax, dword [edi + 0x488]
je 0x1005ab1f
mov ecx, eax
call fcn.1002b210
add dword [edi + 0x484], 0x18
jmp 0x1005ab25
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0x480]
cmp esi, dword [ebp - 0x18]
jne 0x1005ab00
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1a4]
cmp ecx, 0xf
jbe 0x1005ab70
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ab66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aba0
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0xf
jbe 0x1005abb0
mov edx, dword [ebp - 0x1d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005aba6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005aba6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x410], 0
lea ecx, [edi + 0x3f8]
mov dword [edi + 0x3fc], 0x14
mov dword [edi + 0x404], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x414], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005ac11
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005ac1d
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
mov esi, dword [0x100b5e48]
lea ecx, [ebp - 0x200]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1f0], 0
push str.name_color
movups xmmword [ebp - 0x200], xmm0
mov dword [ebp - 0x1ec], 0
call fcn.10027900
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x1e8]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1d8], 0
push 0x100b7c84
movups xmmword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x1d4], 0
call fcn.10027900
lea ecx, [edi + 0x510]
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x1e8]
cmp ecx, eax
je 0x1005acb8
cmp dword [ebp - 0x1d4], 0xf
push dword [ebp - 0x1d8]
cmova eax, dword [ebp - 0x1e8]
push eax
call fcn.100270d0
lea ecx, [edi + 0x4d8]
lea eax, [ebp - 0x200]
cmp ecx, eax
je 0x1005ace2
cmp dword [ebp - 0x1ec], 0xf
push dword [ebp - 0x1f0]
cmova eax, dword [ebp - 0x200]
push eax
call fcn.100270d0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1d4]
mov dword [edi + 0x528], esi
mov dword [edi + 0x53c], 0
cmp ecx, 0xf
jbe 0x1005ad30
mov edx, dword [ebp - 0x1e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ad26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1ec]
cmp ecx, 0xf
jbe 0x1005ad71
mov edx, dword [ebp - 0x200]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ad67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0x4b8], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x4a4], 0x14
lea ecx, [edi + 0x4a0]
mov dword [edi + 0x4ac], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4bc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005adb4
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005adc0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.enemy
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x68]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.friendly
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10027900
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0x1a
push ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x230]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push str.health
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
call fcn.10027900
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x218]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x208], 0
push str.health
movups xmmword [ebp - 0x218], xmm0
mov dword [ebp - 0x204], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x588]
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x1005aedb
cmp dword [ebp - 0x21c], 0xf
push dword [ebp - 0x220]
cmova eax, dword [ebp - 0x230]
push eax
call fcn.100270d0
lea ecx, [edi + 0x5c0]
mov byte [edi + 0x5b9], 1
lea eax, [ebp - 0x218]
cmp ecx, eax
je 0x1005af0c
cmp dword [ebp - 0x204], 0xf
push dword [ebp - 0x208]
cmova eax, dword [ebp - 0x218]
push eax
call fcn.100270d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x5b9], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x5f4], eax
add eax, 0x14
mov dword [edi + 0x560], eax
mov dword [edi + 0x564], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1005af86
lea ecx, [edi + 0x5d8]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x5dc]
push esi
cmp eax, dword [edi + 0x5e0]
je 0x1005af6f
mov ecx, eax
call fcn.1002b210
add dword [edi + 0x5dc], 0x18
jmp 0x1005af75
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0x5d8]
cmp esi, dword [ebp - 0x1c]
jne 0x1005af50
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x204]
cmp ecx, 0xf
jbe 0x1005afc0
mov edx, dword [ebp - 0x218]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005afb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aff0
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x1005b000
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005aff6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005aff6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x568], 0
lea ecx, [edi + 0x550]
mov dword [edi + 0x554], 0x14
mov dword [edi + 0x55c], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x56c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005b061
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005b06d
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
push str.armor
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], 0
movups xmmword [ebp - 0x458], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x440]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
push str.scoped
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x42c], 0
call fcn.10027900
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x428]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x418], 0
push str.flashed
movups xmmword [ebp - 0x428], xmm0
mov dword [ebp - 0x414], 0
call fcn.10027900
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x410]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x400], 0
push str.reloading
movups xmmword [ebp - 0x410], xmm0
mov dword [ebp - 0x3fc], 0
call fcn.10027900
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x3f8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3e8], 0
push str.bomb
movups xmmword [ebp - 0x3f8], xmm0
mov dword [ebp - 0x3e4], 0
call fcn.10027900
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x3e0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3d0], 0
push str.fake
movups xmmword [ebp - 0x3e0], xmm0
mov dword [ebp - 0x3cc], 0
call fcn.10027900
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x3c8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3b8], 0
push str.soon
movups xmmword [ebp - 0x3c8], xmm0
mov dword [ebp - 0x3b4], 0
call fcn.10027900
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x3b0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3a0], 0
push str.soon
movups xmmword [ebp - 0x3b0], xmm0
mov dword [ebp - 0x39c], 0
call fcn.10027900
mov dword [ebp - 4], 0x26
lea ecx, [ebp - 0x458]
push ecx
lea eax, [ebp - 0x398]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x260]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
push str.flags_enemy
movups xmmword [ebp - 0x260], xmm0
mov dword [ebp - 0x24c], 0
call fcn.10027900
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x248]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
push 0x100b7cd0
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x234], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x630]
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x260]
cmp ecx, eax
je 0x1005b2de
cmp dword [ebp - 0x24c], 0xf
push dword [ebp - 0x250]
cmova eax, dword [ebp - 0x260]
push eax
call fcn.100270d0
lea ecx, [edi + 0x668]
mov byte [edi + 0x661], 1
lea eax, [ebp - 0x248]
cmp ecx, eax
je 0x1005b30f
cmp dword [ebp - 0x234], 0xf
push dword [ebp - 0x238]
cmova eax, dword [ebp - 0x248]
push eax
call fcn.100270d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x661], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x69c], eax
add eax, 0x14
mov dword [edi + 0x608], eax
mov dword [edi + 0x60c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1005b386
lea ecx, [edi + 0x680]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x684]
push esi
cmp eax, dword [edi + 0x688]
je 0x1005b36f
mov ecx, eax
call fcn.1002b210
add dword [edi + 0x684], 0x18
jmp 0x1005b375
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0x680]
cmp esi, dword [ebp - 0x1c]
jne 0x1005b350
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1005b3c0
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b3b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b3f0
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0xf
jbe 0x1005b400
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b3f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b3f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 8
push 0x18
lea eax, [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x610], 0
lea ecx, [edi + 0x5f8]
mov dword [edi + 0x5fc], 0x14
mov dword [edi + 0x604], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x614], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005b464
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005b470
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x400], 0
push str.armor
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x3fc], 0
movups xmmword [ebp - 0x410], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x2b
lea ecx, [ebp - 0x3f8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x3e8], 0
push str.scoped
movups xmmword [ebp - 0x3f8], xmm0
mov dword [ebp - 0x3e4], 0
call fcn.10027900
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x3e0]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x3d0], 0
push str.flashed
movups xmmword [ebp - 0x3e0], xmm0
mov dword [ebp - 0x3cc], 0
call fcn.10027900
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3c8]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3b8], 0
push str.reloading
movups xmmword [ebp - 0x3c8], xmm0
mov dword [ebp - 0x3b4], 0
call fcn.10027900
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x3b0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3a0], 0
push str.bomb
movups xmmword [ebp - 0x3b0], xmm0
mov dword [ebp - 0x39c], 0
call fcn.10027900
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0x2f
push ecx
lea eax, [ebp - 0x398]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x290]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x280], 0
push str.flags_friendly
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x27c], 0
call fcn.10027900
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x278]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x268], 0
push 0x100b7ce8
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x6d8]
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x290]
cmp ecx, eax
je 0x1005b645
cmp dword [ebp - 0x27c], 0xf
push dword [ebp - 0x280]
cmova eax, dword [ebp - 0x290]
push eax
call fcn.100270d0
lea ecx, [edi + 0x710]
mov byte [edi + 0x709], 1
lea eax, [ebp - 0x278]
cmp ecx, eax
je 0x1005b676
cmp dword [ebp - 0x264], 0xf
push dword [ebp - 0x268]
cmova eax, dword [ebp - 0x278]
push eax
call fcn.100270d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x709], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x744], eax
add eax, 0x14
mov dword [edi + 0x6b0], eax
mov dword [edi + 0x6b4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1005b6e6
lea ecx, [edi + 0x728]
mov esi, eax
mov eax, dword [edi + 0x72c]
push esi
cmp eax, dword [edi + 0x730]
je 0x1005b6cf
mov ecx, eax
call fcn.1002b210
add dword [edi + 0x72c], 0x18
jmp 0x1005b6d5
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0x728]
cmp esi, dword [ebp - 0x1c]
jne 0x1005b6b0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x264]
cmp ecx, 0xf
jbe 0x1005b720
mov edx, dword [ebp - 0x278]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b750
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x27c]
cmp ecx, 0xf
jbe 0x1005b760
mov edx, dword [ebp - 0x290]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b756
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005b756
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 5
push 0x18
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x6b8], 0
lea ecx, [edi + 0x6a0]
mov dword [edi + 0x6a4], 0x14
mov dword [edi + 0x6ac], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x6bc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005b7c4
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005b7d0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.enemy
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x34
lea ecx, [ebp - 0x68]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.friendly
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10027900
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0x35
push ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x2c0]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2b0], 0
push str.weapon
movups xmmword [ebp - 0x2c0], xmm0
mov dword [ebp - 0x2ac], 0
call fcn.10027900
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x2a8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x298], 0
push str.weapon
movups xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x294], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x780]
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x2c0]
cmp ecx, eax
je 0x1005b8eb
cmp dword [ebp - 0x2ac], 0xf
push dword [ebp - 0x2b0]
cmova eax, dword [ebp - 0x2c0]
push eax
call fcn.100270d0
lea ecx, [edi + 0x7b8]
mov byte [edi + 0x7b1], 1
lea eax, [ebp - 0x2a8]
cmp ecx, eax
je 0x1005b91c
cmp dword [ebp - 0x294], 0xf
push dword [ebp - 0x298]
cmova eax, dword [ebp - 0x2a8]
push eax
call fcn.100270d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x7b1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x7ec], eax
add eax, 0x14
mov dword [edi + 0x758], eax
mov dword [edi + 0x75c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1005b996
lea ecx, [edi + 0x7d0]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x7d4]
push esi
cmp eax, dword [edi + 0x7d8]
je 0x1005b97f
mov ecx, eax
call fcn.1002b210
add dword [edi + 0x7d4], 0x18
jmp 0x1005b985
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0x7d0]
cmp esi, dword [ebp - 0x1c]
jne 0x1005b960
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x294]
cmp ecx, 0xf
jbe 0x1005b9d0
mov edx, dword [ebp - 0x2a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005b9c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ba00
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x2ac]
cmp ecx, 0xf
jbe 0x1005ba10
mov edx, dword [ebp - 0x2c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005ba06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005ba06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x760], 0
lea ecx, [edi + 0x748]
mov dword [edi + 0x74c], 0x14
mov dword [edi + 0x754], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x764], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005ba71
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005ba7d
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
push str.text
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x3a
lea ecx, [ebp - 0x68]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.icon
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
call fcn.10027900
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0x3b
push ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x2d8]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x2c8], 0
push str.weapon_mode
movups xmmword [ebp - 0x2d8], xmm0
mov dword [ebp - 0x2c4], 0
call fcn.10027900
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x50]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0x100b460a
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.10027900
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x828]
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x2d8]
cmp ecx, eax
je 0x1005bb8c
cmp dword [ebp - 0x2c4], 0xf
push dword [ebp - 0x2c8]
cmova eax, dword [ebp - 0x2d8]
push eax
call fcn.100270d0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov byte [edi + 0x859], 0
mov dword [edi + 0x894], 0
mov dword [edi + 0x800], 0x14
mov dword [edi + 0x804], 0x14
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1005bc06
lea ecx, [edi + 0x878]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x87c]
push esi
cmp eax, dword [edi + 0x880]
je 0x1005bbef
mov ecx, eax
call fcn.1002b210
add dword [edi + 0x87c], 0x18
jmp 0x1005bbf5
push eax
call fcn.10048480
add esi, 0x18
lea ecx, [edi + 0x878]
cmp esi, dword [ebp - 0x1c]
jne 0x1005bbd0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x3d
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005bc3a
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bc30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bc6a
push ecx
push edx
call fcn.100a6437
add esp, 8
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x2c4]
cmp ecx, 0xf
jbe 0x1005bc7a
mov edx, dword [ebp - 0x2d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bc70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005bc70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x808], 0
lea ecx, [edi + 0x7f0]
mov dword [edi + 0x7f4], 0x14
mov dword [edi + 0x7fc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x80c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005bcdb
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005bce7
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x2f8], 0
push str.distance
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x2f4], 0
movups xmmword [ebp - 0x308], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x40
lea ecx, [ebp - 0x2f0]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x2e0], 0
push str.distance
movups xmmword [ebp - 0x2f0], xmm0
mov dword [ebp - 0x2dc], 0
call fcn.10027900
lea ecx, [edi + 0x958]
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0x308]
cmp ecx, eax
je 0x1005bd7c
cmp dword [ebp - 0x2f4], 0xf
push dword [ebp - 0x2f8]
cmova eax, dword [ebp - 0x308]
push eax
call fcn.100270d0
lea ecx, [edi + 0x990]
mov byte [edi + 0x989], 1
lea eax, [ebp - 0x2f0]
cmp ecx, eax
je 0x1005bdad
cmp dword [ebp - 0x2dc], 0xf
push dword [ebp - 0x2e0]
cmova eax, dword [ebp - 0x2f0]
push eax
call fcn.100270d0
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x2dc]
mov byte [edi + 0x98c], 0
cmp ecx, 0xf
jbe 0x1005bdee
mov edx, dword [ebp - 0x2f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bde4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005be21
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2f4]
cmp ecx, 0xf
jbe 0x1005be31
mov edx, dword [ebp - 0x308]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005be27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005be27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a6437
add esp, 8
mov dword [edi + 0x938], 0
lea ecx, [edi + 0x920]
mov dword [edi + 0x924], 0x14
mov dword [edi + 0x92c], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x93c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005be71
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005be7d
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10027ff0
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x340], 0
push str.ammo
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x33c], 0
movups xmmword [ebp - 0x350], xmm0
call fcn.10027900
mov dword [ebp - 4], 0x42
lea ecx, [ebp - 0x398]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x388], 0
push str.ammo
movups xmmword [ebp - 0x398], xmm0
mov dword [ebp - 0x384], 0
call fcn.10027900
lea ecx, [edi + 0x8d0]
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x350]
cmp ecx, eax
je 0x1005bf12
cmp dword [ebp - 0x33c], 0xf
push dword [ebp - 0x340]
cmova eax, dword [ebp - 0x350]
push eax
call fcn.100270d0
lea edx, [edi + 0x908]
mov byte [edi + 0x901], 1
lea eax, [ebp - 0x398]
cmp edx, eax
je 0x1005bf3e
mov ecx, eax
call fcn.10027200
push dword [ebp - 0x388]
mov ecx, edx
push eax
call fcn.100270d0
lea ecx, [ebp - 0x398]
mov byte [edi + 0x904], 0
call fcn.10026ec0
lea ecx, [ebp - 0x350]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [edi + 0x8b0], 0
lea eax, [edi + 0x898]
mov dword [edi + 0x89c], 0x14
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0x8a4], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x8b4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003a9a0
mov esi, dword [0x100b5e50]
lea ecx, [ebp - 0x98]
push str.ammo_color
add edi, 0x9a8
call fcn.10026f10
push str.color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x44
call fcn.10026f10
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
add ecx, 0xa18
mov byte [ebp - 4], 0x45
call fcn.10026e90
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ecx + 0x9e0]
call fcn.10026e90
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
mov dword [eax + 0xa30], esi
mov dword [eax + 0xa44], 0
call fcn.10026ec0
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0x14
mov dword [edi + 0xc], 0xc8
mov eax, dword [eax + 0x2c]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edi
call fcn.1003a9a0
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x98]
push 0x100b7d40
lea esi, [edi + 0xa58]
call fcn.10026f10
push str.lby_update
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x46
call fcn.10026f10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x47
push eax
lea ecx, [edi + 0xa90]
call fcn.10026e90
lea eax, [ebp - 0x50]
mov byte [edi + 0xac1], 1
push eax
lea ecx, [edi + 0xac8]
call fcn.10026e90
mov byte [edi + 0xac4], 0
lea ecx, [ebp - 0x50]
call fcn.10026ec0
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 0
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x14
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
mov esi, dword [0x100b5e68]
lea ecx, [ebp - 0x98]
push str.lby_update_color
add edi, 0xae0
call fcn.10026f10
push str.color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x48
call fcn.10026f10
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x49
lea ecx, [ecx + 0xb50]
call fcn.10026e90
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ecx + 0xb18]
call fcn.10026e90
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x50]
mov dword [eax + 0xb68], esi
mov dword [eax + 0xb7c], 0
call fcn.10026ec0
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ecx, esi
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0x14
mov dword [edi + 0xc], 0xc8
mov eax, dword [eax + 0x2c]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edi
call fcn.1003a9a0
push str.enemy
lea ecx, [ebp - 0x380]
call fcn.10026f10
push str.friendly
lea ecx, [ebp - 0x368]
mov dword [ebp - 4], 0x4a
call fcn.10026f10
lea ecx, [ebp - 0x380]
mov dword [ebp - 4], 0x4b
push ecx
lea eax, [ebp - 0x350]
push eax
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1007a730
push str.skeleton
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x4c
call fcn.10026f10
mov byte [ebp - 4], 0x4d
push str.skeleton
lea ecx, [ebp - 0x50]
call fcn.10026f10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x4f
lea ecx, [edi + 0xbc8]
call fcn.10026e90
lea eax, [ebp - 0x50]
mov byte [edi + 0xbf9], 1
push eax
lea ecx, [edi + 0xc00]
call fcn.10026e90
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xbf9], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x88]
mov dword [edi + 0xc34], eax
add eax, 0x14
mov dword [edi + 0xba0], eax
mov dword [edi + 0xba4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x1005c2b8
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0xc18]
mov dword [ebp - 0x20], eax
mov edi, ecx
nop
push esi
mov ecx, eax
call fcn.10047a50
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x1005c2a0
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x38]
call fcn.10026490
lea ecx, [ebp - 0x50]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x8c]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x380]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0xba8], 1
lea eax, [edi + 0xb90]
mov dword [edi + 0xb94], 0x154
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0xb9c], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xbac], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003a9a0
push str.skeleton_enemy
lea ecx, [ebp - 0x50]
lea esi, [edi + 0xc38]
call fcn.10026f10
push str.enemy_color
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x50
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x51
push eax
lea ecx, [edi + 0xca8]
mov dword [ebp - 0x20], 0xffffffff
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0xc70]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0xcc0], eax
mov dword [edi + 0xcd4], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.skeleton_friendly
lea ecx, [ebp - 0x50]
lea esi, [edi + 0xce8]
call fcn.10026f10
push str.friendly_color
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x52
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x53
push eax
lea ecx, [edi + 0xd58]
mov dword [ebp - 0x20], 0xffffffff
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0xd20]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0xd70], eax
mov dword [edi + 0xd84], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.1003a9a0
push str.enemy
lea ecx, [ebp - 0x380]
call fcn.10026f10
push str.friendly
lea ecx, [ebp - 0x368]
mov dword [ebp - 4], 0x54
call fcn.10026f10
lea ecx, [ebp - 0x380]
mov dword [ebp - 4], 0x55
push ecx
lea eax, [ebp - 0x350]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
push str.glow
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x56
call fcn.10026f10
push str.glow
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x57
call fcn.10026f10
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x59
push eax
lea ecx, [edi + 0xdd0]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0xe01], 1
push eax
lea ecx, [edi + 0xe08]
call fcn.10026e90
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xe01], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0xe3c], eax
add eax, 0x14
mov dword [edi + 0xda8], eax
mov dword [edi + 0xdac], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x1005c588
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0xe20]
mov dword [ebp - 0x20], eax
mov edi, ecx
nop word [eax + eax]
push esi
mov ecx, eax
call fcn.10047a50
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x1005c570
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x90]
call fcn.10026490
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
call fcn.10026ec0
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x380]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0xdb0], 1
lea eax, [edi + 0xd98]
mov dword [edi + 0xd9c], 0x154
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0xda4], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xdb4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003a9a0
push str.glow_enemy
lea ecx, [ebp - 0x50]
lea esi, [edi + 0xe40]
call fcn.10026f10
push str.enemy_color
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x5a
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x5b
push eax
lea ecx, [edi + 0xeb0]
mov dword [ebp - 0x20], 0xff783cb4
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0xe78]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0xec8], eax
mov dword [edi + 0xedc], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7300
lea ecx, [ebp - 0x50]
lea esi, [edi + 0xfa0]
call fcn.1007aa20
push str.glow_blend
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x5c
call fcn.10026f10
push 0x100b460a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x5d
call fcn.10026f10
mov byte [ebp - 4], 0x5e
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0xfd8]
call fcn.10026e90
mov byte [edi + 0x1009], 0
lea eax, [ebp - 0x50]
mov dword [edi + 0x1058], 0
lea ecx, [edi + 0x1040]
mov dword [edi + 0xfb0], 8
mov dword [edi + 0xfb4], 8
mov dword [edi + 0x1014], 0x41200000
mov dword [edi + 0x1018], 0x42c80000
mov dword [edi + 0x1010], 0x42700000
mov dword [edi + 0x1024], 0
push eax
mov dword [edi + 0x101c], 0x3f800000
call fcn.1007a9b0
lea ecx, [ebp - 0x98]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10047d80
mov dword [esi + 0x18], 1
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.1003a9a0
push str.visible
lea ecx, [ebp - 0x380]
call fcn.10026f10
push str.invisible
lea ecx, [ebp - 0x368]
mov dword [ebp - 4], 0x5f
call fcn.10026f10
lea ecx, [ebp - 0x380]
mov dword [ebp - 4], 0x60
push ecx
lea eax, [ebp - 0x350]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
push str.chams_enemy
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x61
call fcn.10026f10
push 0x100b7df4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x62
call fcn.10026f10
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x64
push eax
lea ecx, [edi + 0x1094]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0x10c5], 1
push eax
lea ecx, [edi + 0x10cc]
call fcn.10026e90
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x10c5], al
cmovne eax, ecx
mov dword [edi + 0x1100], eax
mov ecx, dword [ebp - 0x34]
add eax, 0x14
mov dword [edi + 0x106c], eax
mov dword [edi + 0x1070], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x1005c8ae
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x10e4]
mov dword [ebp - 0x20], eax
mov edi, ecx
push esi
mov ecx, eax
call fcn.10047a50
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x1005c896
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x90]
call fcn.10026490
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
call fcn.10026ec0
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x380]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x1074], 1
lea eax, [edi + 0x105c]
mov dword [edi + 0x1060], 0x154
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0x1068], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1078], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003a9a0
push str.chams_enemy_vis
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1104]
call fcn.10026f10
push str.color_visible
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x65
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x66
push eax
lea ecx, [edi + 0x1174]
mov dword [ebp - 0x20], 0xff3cc896
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x113c]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x118c], eax
mov dword [edi + 0x11a0], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.chams_enemy_invis
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x11b4]
call fcn.10026f10
push str.color_invisible
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x67
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x68
push eax
lea ecx, [edi + 0x1224]
mov dword [ebp - 0x20], 0xffe1b43c
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x11ec]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x123c], eax
mov dword [edi + 0x1250], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7300
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1264]
call fcn.1007aa20
push str.chams_enemy_blend
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x69
call fcn.10026f10
push 0x100b460a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x6a
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x6b
push eax
lea ecx, [edi + 0x129c]
call fcn.10026e90
mov byte [edi + 0x12cd], 0
lea eax, [ebp - 0x50]
mov dword [edi + 0x131c], 0
lea ecx, [edi + 0x1304]
mov dword [edi + 0x1274], 8
mov dword [edi + 0x1278], 8
mov dword [edi + 0x12d8], 0x41200000
mov dword [edi + 0x12dc], 0x42c80000
mov dword [edi + 0x12d4], 0x42c80000
mov dword [edi + 0x12e8], 0
push eax
mov dword [edi + 0x12e0], 0x3f800000
call fcn.1007a9b0
lea ecx, [ebp - 0x98]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10047d80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7e50
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1320]
call fcn.10026f10
push str.chams_history
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x6c
call fcn.10026f10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x6d
push eax
lea ecx, [edi + 0x1358]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0x1389], 1
push eax
lea ecx, [edi + 0x1390]
call fcn.10026e90
lea ecx, [ebp - 0x68]
mov byte [edi + 0x138c], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.chams_history_col
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x13a8]
call fcn.10026f10
push str.color
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x6e
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x6f
push eax
lea ecx, [edi + 0x1418]
mov dword [ebp - 0x20], 0xffc8ffff
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x13e0]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x1430], eax
mov dword [edi + 0x1444], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7300
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1458]
call fcn.1007aa20
push str.chams_history_blend
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x70
call fcn.10026f10
push 0x100b460a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x71
call fcn.10026f10
mov byte [ebp - 4], 0x72
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x1490]
call fcn.10026e90
mov byte [edi + 0x14c1], 0
lea eax, [ebp - 0x50]
mov dword [edi + 0x1510], 0
lea ecx, [edi + 0x14f8]
mov dword [edi + 0x1468], 8
mov dword [edi + 0x146c], 8
mov dword [edi + 0x14cc], 0x41200000
mov dword [edi + 0x14d0], 0x42c80000
mov dword [edi + 0x14c8], 0x42c80000
mov dword [edi + 0x14dc], 0
push eax
mov dword [edi + 0x14d4], 0x3f800000
call fcn.1007a9b0
lea ecx, [ebp - 0x98]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10047d80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7e98
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1a54]
call fcn.10026f10
push str.history_skeleton
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x73
call fcn.10026f10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x74
push eax
lea ecx, [edi + 0x1a8c]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0x1abd], 1
push eax
lea ecx, [edi + 0x1ac4]
call fcn.10026e90
lea ecx, [ebp - 0x68]
mov byte [edi + 0x1ac0], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.history_skeleton_col
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1adc]
call fcn.10026f10
push str.skeleton_color
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x75
call fcn.10026f10
mov byte [ebp - 4], 0x76
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x1b4c]
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x1b14]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x1b64], eax
mov dword [edi + 0x1b78], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1002a7f0
lea ecx, [esi + 0x58]
push eax
call fcn.1003a9a0
mov dword [edi + 0x1af4], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x1ae0], 0x154
mov dword [edi + 0x1ae8], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1af8], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7300
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1b8c]
call fcn.1007aa20
push str.skeleton_alpha
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x77
call fcn.10026f10
push 0x100b460a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x78
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x79
push eax
lea ecx, [edi + 0x1bc4]
call fcn.10026e90
mov byte [edi + 0x1bf5], 0
lea eax, [ebp - 0x50]
mov dword [edi + 0x1c44], 0
lea ecx, [edi + 0x1c2c]
mov dword [edi + 0x1b9c], 8
mov dword [edi + 0x1ba0], 8
mov dword [edi + 0x1c00], 0x41200000
mov dword [edi + 0x1c04], 0x42c80000
mov dword [edi + 0x1bfc], 0x42700000
mov dword [edi + 0x1c10], 0
push eax
mov dword [edi + 0x1c08], 0x3f800000
call fcn.1007a9b0
lea ecx, [ebp - 0x98]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10047d80
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1002a7f0
lea ecx, [esi + 0x58]
push eax
call fcn.1003a9a0
mov dword [edi + 0x1ba4], 1
mov dword [edi + 0x1b90], 0x154
mov dword [edi + 0x1b98], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x18], esi
mov dword [edi + 0x1ba8], eax
lea esi, [edi + 0x18]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.1003a9a0
push str.visible
lea ecx, [ebp - 0x380]
call fcn.10026f10
push str.invisible
lea ecx, [ebp - 0x368]
mov dword [ebp - 4], 0x7a
call fcn.10026f10
lea ecx, [ebp - 0x380]
mov dword [ebp - 4], 0x7b
push ecx
lea eax, [ebp - 0x350]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1007a730
push str.chams_friendly
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x7c
call fcn.10026f10
push 0x100b7f0c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x7d
call fcn.10026f10
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x7f
push eax
lea ecx, [edi + 0x154c]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0x157d], 1
push eax
lea ecx, [edi + 0x1584]
call fcn.10026e90
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x157d], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x15b8], eax
add eax, 0x14
mov dword [edi + 0x1524], eax
mov dword [edi + 0x1528], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x1005d136
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x159c]
mov dword [ebp - 0x1c], eax
mov edi, eax
nop dword [eax]
push esi
mov ecx, edi
call fcn.10047a50
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x1005d120
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x90]
call fcn.10026490
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
call fcn.10026ec0
lea ecx, [ebp - 0x38]
call fcn.10047e90
push fcn.10026ec0
push 2
push 0x18
lea eax, [ebp - 0x380]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100a6008
mov dword [edi + 0x152c], 1
lea eax, [edi + 0x1514]
mov dword [edi + 0x1518], 0x154
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0x1520], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1530], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1003a9a0
push str.chams_friendly_vis
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x15bc]
call fcn.10026f10
push str.color_visible
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x80
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x81
push eax
lea ecx, [edi + 0x162c]
mov dword [ebp - 0x20], 0xff00c8ff
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x15f4]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x1644], eax
mov dword [edi + 0x1658], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.chams_friendly_invis
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x166c]
call fcn.10026f10
push str.color_invisible
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x82
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x83
push eax
lea ecx, [edi + 0x16dc]
mov dword [ebp - 0x20], 0xff0032ff
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x16a4]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x16f4], eax
mov dword [edi + 0x1708], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7300
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x171c]
call fcn.1007aa20
push str.chams_friendly_blend
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x84
call fcn.10026f10
push 0x100b460a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x85
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x86
push eax
lea ecx, [edi + 0x1754]
call fcn.10026e90
mov byte [edi + 0x1785], 0
lea eax, [ebp - 0x50]
mov dword [edi + 0x17d4], 0
lea ecx, [edi + 0x17bc]
mov dword [edi + 0x172c], 8
mov dword [edi + 0x1730], 8
mov dword [edi + 0x1790], 0x41200000
mov dword [edi + 0x1794], 0x42c80000
mov dword [edi + 0x178c], 0x42c80000
mov dword [edi + 0x17a0], 0
push eax
mov dword [edi + 0x1798], 0x3f800000
call fcn.1007a9b0
lea ecx, [ebp - 0x98]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10047d80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7f58
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x17d8]
call fcn.10026f10
push str.chams_local
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x87
call fcn.10026f10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x88
push eax
lea ecx, [edi + 0x1810]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0x1841], 1
push eax
lea ecx, [edi + 0x1848]
call fcn.10026e90
lea ecx, [ebp - 0x68]
mov byte [edi + 0x1844], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.chams_local_col
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1860]
call fcn.10026f10
push str.color
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x89
call fcn.10026f10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x8a
push eax
lea ecx, [edi + 0x18d0]
mov dword [ebp - 0x20], 0xffc8ffff
call fcn.10026e90
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x1898]
call fcn.10026e90
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
mov dword [edi + 0x18e8], eax
mov dword [edi + 0x18fc], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push 0x100b7300
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x1910]
call fcn.1007aa20
push str.chams_local_blend
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x8b
call fcn.10026f10
push 0x100b460a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x8c
call fcn.10026f10
mov byte [ebp - 4], 0x8d
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x1948]
call fcn.10026e90
mov byte [edi + 0x1979], 0
lea eax, [ebp - 0x50]
mov dword [edi + 0x19c8], 0
lea ecx, [edi + 0x19b0]
mov dword [edi + 0x1920], 8
mov dword [edi + 0x1924], 8
mov dword [edi + 0x1984], 0x41200000
mov dword [edi + 0x1988], 0x42c80000
mov dword [edi + 0x1980], 0x42c80000
mov dword [edi + 0x1994], 0
push eax
mov dword [edi + 0x198c], 0x3f800000
call fcn.1007a9b0
lea ecx, [ebp - 0x98]
call fcn.10026ec0
lea ecx, [ebp - 0x68]
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10047d80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
push str.chams_local_scope
lea ecx, [ebp - 0x50]
lea esi, [edi + 0x19cc]
call fcn.10026f10
push str.blend_when_scoped
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x8e
call fcn.10026f10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x8f
push eax
lea ecx, [edi + 0x1a04]
call fcn.10026e90
lea eax, [ebp - 0x68]
mov byte [edi + 0x1a35], 1
push eax
lea ecx, [edi + 0x1a3c]
call fcn.10026e90
lea ecx, [ebp - 0x68]
mov byte [edi + 0x1a38], 0
call fcn.10026ec0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10026ec0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x154
mov dword [esi + 0xc], 0xc8
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1003a9a0
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.100a5fbc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret