Function at 0x1004fde0
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 0x1009fbe7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x400
mov eax, dword [0x100b8410]
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 - 0x4c], edi
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
push str.players
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x140], xmm0
call fcn.10021ef0
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0
cmp edi, eax
je 0x1004fe83
cmp dword [ebp - 0x12c], 0x10
mov ecx, edi
push dword [ebp - 0x130]
cmovae eax, dword [ebp - 0x140]
push eax
call fcn.100258d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x1004fec4
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004feba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str.enemy
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x64]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.friendly
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.10021ef0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
push 0x100ab1f8
movups xmmword [ebp - 0x170], xmm0
mov dword [ebp - 0x15c], 0
call fcn.10021ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
push str.boxes
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x144], 0
call fcn.10021ef0
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 - 0x170]
cmp ecx, eax
je 0x1004ffdc
cmp dword [ebp - 0x15c], 0x10
push dword [ebp - 0x160]
cmovae eax, dword [ebp - 0x170]
push eax
call fcn.100258d0
lea ecx, [edi + 0xa0]
mov byte [edi + 0x99], 1
lea eax, [ebp - 0x158]
cmp ecx, eax
je 0x1005000d
cmp dword [ebp - 0x144], 0x10
push dword [ebp - 0x148]
cmovae eax, dword [ebp - 0x158]
push eax
call fcn.100258d0
mov esi, dword [ebp - 0x30]
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 - 0x2c]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x10050073
lea ecx, [edi + 0xb8]
nop
mov eax, dword [edi + 0xbc]
push esi
cmp eax, dword [edi + 0xc0]
je 0x1005005f
mov ecx, eax
call fcn.10025620
add dword [edi + 0xbc], 0x18
jmp 0x10050065
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0xb8]
cmp esi, dword [ebp - 0x20]
jne 0x10050040
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x144]
cmp ecx, 0x10
jb 0x100500ad
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100500a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100500dd
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0x10
jb 0x100500ed
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100500e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100500e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x48], 0
lea edx, [edi + 0x30]
mov dword [edi + 0x34], 0x14
mov dword [edi + 0x3c], 0xaf
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 0x10050145
mov dword [ecx], edx
add dword [eax + 4], 4
jmp 0x10050151
lea edx, [ebp - 0x1c]
push edx
push ecx
mov ecx, eax
call fcn.10022470
mov esi, dword [0x100a91cc]
lea ecx, [ebp - 0x1a0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
push str.box_enemy
movups xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x18c], 0
call fcn.10021ef0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x188]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0
push str.box_enemy_color
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x174], 0
call fcn.10021ef0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x188]
cmp ecx, eax
je 0x100501ec
cmp dword [ebp - 0x174], 0x10
push dword [ebp - 0x178]
cmovae eax, dword [ebp - 0x188]
push eax
call fcn.100258d0
lea ecx, [edi + 0x110]
lea eax, [ebp - 0x1a0]
cmp ecx, eax
je 0x10050216
cmp dword [ebp - 0x18c], 0x10
push dword [ebp - 0x190]
cmovae eax, dword [ebp - 0x1a0]
push eax
call fcn.100258d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x174]
mov dword [edi + 0x160], esi
mov dword [edi + 0x174], 0
cmp ecx, 0x10
jb 0x10050264
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005025a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0x10
jb 0x100502a5
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005029b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [edi + 0xf0], 0
lea edx, [edi + 0xd8]
mov dword [edi + 0xdc], 0x14
mov dword [edi + 0xe4], 0xaf
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 0x100502e5
mov dword [ecx], edx
add dword [edi + 0x1c], 4
jmp 0x100502f2
lea edx, [ebp - 0x1c]
push edx
push ecx
lea ecx, [edi + 0x18]
call fcn.10022470
mov esi, dword [0x100a91cc]
lea ecx, [ebp - 0x1d0]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1c0], 0
push str.box_friendly
movups xmmword [ebp - 0x1d0], xmm0
mov dword [ebp - 0x1bc], 0
call fcn.10021ef0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x1b8]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x1a8], 0
push str.box_friendly_color
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1a4], 0
call fcn.10021ef0
lea ecx, [edi + 0x1f8]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1b8]
cmp ecx, eax
je 0x1005038d
cmp dword [ebp - 0x1a4], 0x10
push dword [ebp - 0x1a8]
cmovae eax, dword [ebp - 0x1b8]
push eax
call fcn.100258d0
lea ecx, [edi + 0x1c0]
lea eax, [ebp - 0x1d0]
cmp ecx, eax
je 0x100503b7
cmp dword [ebp - 0x1bc], 0x10
push dword [ebp - 0x1c0]
cmovae eax, dword [ebp - 0x1d0]
push eax
call fcn.100258d0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1a4]
mov dword [edi + 0x210], esi
mov dword [edi + 0x224], 0
cmp ecx, 0x10
jb 0x10050405
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100503fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0x10
jb 0x10050446
mov edx, dword [ebp - 0x1d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005043c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [edi + 0x1a0], 0
lea ecx, [edi + 0x188]
mov dword [edi + 0x18c], 0x14
mov dword [edi + 0x194], 0xaf
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 0x10050486
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x10050493
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10022470
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x1f0], 0
push str.dormant
lea ecx, [ebp - 0x200]
mov dword [ebp - 0x1ec], 0
movups xmmword [ebp - 0x200], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x1e8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x1d8], 0
push str.dormant_enemies
movups xmmword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x1d4], 0
call fcn.10021ef0
lea ecx, [edi + 0x270]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x200]
cmp ecx, eax
je 0x10050528
cmp dword [ebp - 0x1ec], 0x10
push dword [ebp - 0x1f0]
cmovae eax, dword [ebp - 0x200]
push eax
call fcn.100258d0
lea ecx, [edi + 0x2a8]
mov byte [edi + 0x2a1], 1
lea eax, [ebp - 0x1e8]
cmp ecx, eax
je 0x10050559
cmp dword [ebp - 0x1d4], 0x10
push dword [ebp - 0x1d8]
cmovae eax, dword [ebp - 0x1e8]
push eax
call fcn.100258d0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1d4]
mov byte [edi + 0x2a4], 0
cmp ecx, 0x10
jb 0x1005059e
mov edx, dword [ebp - 0x1e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050594
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1ec]
cmp ecx, 0x10
jb 0x100505df
mov edx, dword [ebp - 0x200]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100505d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [edi + 0x250], 0
lea ecx, [edi + 0x238]
mov dword [edi + 0x23c], 0x14
mov dword [edi + 0x244], 0xaf
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 0x1005061f
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x1005062c
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10022470
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push str.offscreen
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x218]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x208], 0
push str.enemy_offscreen_esp
movups xmmword [ebp - 0x218], xmm0
mov dword [ebp - 0x204], 0
call fcn.10021ef0
lea ecx, [edi + 0x2f8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x100506c1
cmp dword [ebp - 0x21c], 0x10
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.100258d0
lea ecx, [edi + 0x330]
mov byte [edi + 0x329], 1
lea eax, [ebp - 0x218]
cmp ecx, eax
je 0x100506f2
cmp dword [ebp - 0x204], 0x10
push dword [ebp - 0x208]
cmovae eax, dword [ebp - 0x218]
push eax
call fcn.100258d0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x204]
mov byte [edi + 0x32c], 0
cmp ecx, 0x10
jb 0x10050737
mov edx, dword [ebp - 0x218]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005072d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0x10
jb 0x10050778
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005076e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [edi + 0x2d8], 0
lea ecx, [edi + 0x2c0]
mov dword [edi + 0x2c4], 0x14
mov dword [edi + 0x2cc], 0xaf
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 0x100507b8
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x100507c5
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10022470
mov esi, dword [0x100a91cc]
lea ecx, [ebp - 0x398]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x388], 0
push str.offscreen_color
movups xmmword [ebp - 0x398], xmm0
mov dword [ebp - 0x384], 0
call fcn.10021ef0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x3b0]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x3a0], 0
push str.offscreen_esp_color
movups xmmword [ebp - 0x3b0], xmm0
mov dword [ebp - 0x39c], 0
call fcn.10021ef0
lea ecx, [edi + 0x3b8]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x3b0]
cmp ecx, eax
je 0x10050860
cmp dword [ebp - 0x39c], 0x10
push dword [ebp - 0x3a0]
cmovae eax, dword [ebp - 0x3b0]
push eax
call fcn.100258d0
lea ecx, [edi + 0x380]
lea eax, [ebp - 0x398]
cmp ecx, eax
je 0x1005088a
cmp dword [ebp - 0x384], 0x10
push dword [ebp - 0x388]
cmovae eax, dword [ebp - 0x398]
push eax
call fcn.100258d0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x39c]
mov dword [edi + 0x3d0], esi
mov dword [edi + 0x3e4], 0
cmp ecx, 0x10
jb 0x100508d8
mov edx, dword [ebp - 0x3b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100508ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x384]
cmp ecx, 0x10
jb 0x10050919
mov edx, dword [ebp - 0x398]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005090f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
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], 0xaf
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 0x1005095c
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10050968
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str.enemy
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x64]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.friendly
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.10021ef0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x12
push ecx
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x248]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
push str.name
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x234], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3c8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3b8], 0
push str.name
movups xmmword [ebp - 0x3c8], xmm0
mov dword [ebp - 0x3b4], 0
call fcn.10021ef0
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 - 0x248]
cmp ecx, eax
je 0x10050a83
cmp dword [ebp - 0x234], 0x10
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.100258d0
lea ecx, [edi + 0x468]
mov byte [edi + 0x461], 1
lea eax, [ebp - 0x3c8]
cmp ecx, eax
je 0x10050ab4
cmp dword [ebp - 0x3b4], 0x10
push dword [ebp - 0x3b8]
cmovae eax, dword [ebp - 0x3c8]
push eax
call fcn.100258d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x461], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x49c], eax
add eax, 0x14
mov dword [edi + 0x408], eax
mov dword [edi + 0x40c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10050b26
lea ecx, [edi + 0x480]
mov esi, eax
nop
mov eax, dword [edi + 0x484]
push esi
cmp eax, dword [edi + 0x488]
je 0x10050b0f
mov ecx, eax
call fcn.10025620
add dword [edi + 0x484], 0x18
jmp 0x10050b15
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x480]
cmp esi, dword [ebp - 0x18]
jne 0x10050af0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x3b4]
cmp ecx, 0x10
jb 0x10050b60
mov edx, dword [ebp - 0x3c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050b56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050b90
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x234]
cmp ecx, 0x10
jb 0x10050ba0
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050b96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050b96
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x410], 0
lea ecx, [edi + 0x3f8]
mov dword [edi + 0x3fc], 0x14
mov dword [edi + 0x404], 0xaf
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 0x10050c01
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10050c0d
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
push str.Verdana
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xe4], 0
movups xmmword [ebp - 0xf8], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0xe0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
push str.Tahoma_Bold
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xc8]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str.Verdana_Bold
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb0]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push str.Segoe_UI
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
call fcn.10021ef0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0x1a
push ecx
lea eax, [ebp - 0x98]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x278]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x268], 0
push str.name_font
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x260]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
push str.name_fonts
movups xmmword [ebp - 0x260], xmm0
mov dword [ebp - 0x24c], 0
call fcn.10021ef0
lea ecx, [edi + 0x4d8]
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x278]
cmp ecx, eax
je 0x10050d90
cmp dword [ebp - 0x264], 0x10
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.100258d0
lea ecx, [edi + 0x510]
mov byte [edi + 0x509], 1
lea eax, [ebp - 0x260]
cmp ecx, eax
je 0x10050dc1
cmp dword [ebp - 0x24c], 0x10
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.100258d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x509], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x53c], eax
add eax, 0x14
mov dword [edi + 0x4b0], eax
mov dword [edi + 0x4b4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x10050e36
lea ecx, [edi + 0x528]
mov esi, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x52c]
push esi
cmp eax, dword [edi + 0x530]
je 0x10050e1f
mov ecx, eax
call fcn.10025620
add dword [edi + 0x52c], 0x18
jmp 0x10050e25
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x528]
cmp esi, dword [ebp - 0x1c]
jne 0x10050e00
lea esi, [edi + 0x18]
mov ecx, dword [edi + 0x52c]
lea eax, [edi + 0x528]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10050e61
mov dword [edi + 0x538], 0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0x10
jb 0x10050e9b
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050e91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050ecb
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x264]
cmp ecx, 0x10
jb 0x10050edb
mov edx, dword [ebp - 0x278]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050ed1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050ed1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 4
push 0x18
lea eax, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x4b8], 0
lea ecx, [edi + 0x4a0]
mov dword [edi + 0x4a4], 0x14
mov dword [edi + 0x4ac], 0xaf
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 0x10050f3f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10050f4b
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
mov esi, dword [0x100a91cc]
lea ecx, [ebp - 0x2a8]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x298], 0
push 0x100ab2dc
movups xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x294], 0
call fcn.10021ef0
mov dword [ebp - 4], 0x1e
lea ecx, [ebp - 0x290]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x280], 0
push str.name_color
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x27c], 0
call fcn.10021ef0
lea ecx, [edi + 0x5b0]
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x290]
cmp ecx, eax
je 0x10050fe6
cmp dword [ebp - 0x27c], 0x10
push dword [ebp - 0x280]
cmovae eax, dword [ebp - 0x290]
push eax
call fcn.100258d0
lea ecx, [edi + 0x578]
lea eax, [ebp - 0x2a8]
cmp ecx, eax
je 0x10051010
cmp dword [ebp - 0x294], 0x10
push dword [ebp - 0x298]
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.100258d0
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x27c]
mov dword [edi + 0x5c8], esi
mov dword [edi + 0x5dc], 0
cmp ecx, 0x10
jb 0x1005105a
mov edx, dword [ebp - 0x290]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051050
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005108d
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x294]
cmp ecx, 0x10
jb 0x1005109d
mov edx, dword [ebp - 0x2a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051093
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051093
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
mov dword [edi + 0x558], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x544], 0x14
lea ecx, [edi + 0x540]
mov dword [edi + 0x54c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x55c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x100510e0
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100510ec
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str.enemy
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x64]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.friendly
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.10021ef0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x21
push ecx
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x2d8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2c8], 0
push str.health
movups xmmword [ebp - 0x2d8], xmm0
mov dword [ebp - 0x2c4], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2c0]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2b0], 0
push str.health
movups xmmword [ebp - 0x2c0], xmm0
mov dword [ebp - 0x2ac], 0
call fcn.10021ef0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x628]
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x2d8]
cmp ecx, eax
je 0x10051207
cmp dword [ebp - 0x2c4], 0x10
push dword [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x2d8]
push eax
call fcn.100258d0
lea ecx, [edi + 0x660]
mov byte [edi + 0x659], 1
lea eax, [ebp - 0x2c0]
cmp ecx, eax
je 0x10051238
cmp dword [ebp - 0x2ac], 0x10
push dword [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2c0]
push eax
call fcn.100258d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x659], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x694], eax
add eax, 0x14
mov dword [edi + 0x600], eax
mov dword [edi + 0x604], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x100512a8
lea ecx, [edi + 0x678]
mov esi, eax
mov eax, dword [edi + 0x67c]
push esi
cmp eax, dword [edi + 0x680]
je 0x10051291
mov ecx, eax
call fcn.10025620
add dword [edi + 0x67c], 0x18
jmp 0x10051297
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x678]
cmp esi, dword [ebp - 0x1c]
jne 0x10051272
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x2ac]
cmp ecx, 0x10
jb 0x100512e2
mov edx, dword [ebp - 0x2c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100512d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051312
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x2c4]
cmp ecx, 0x10
jb 0x10051322
mov edx, dword [ebp - 0x2d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051318
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051318
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x608], 0
lea ecx, [edi + 0x5f0]
mov dword [edi + 0x5f4], 0x14
mov dword [edi + 0x5fc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x60c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051383
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005138f
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push str.money
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x26
lea ecx, [ebp - 0x110]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push str.armor
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0xf8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
push str.scoped
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xe0]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
push str.flashed
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xc8]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str.reloading
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xb0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push str.bomb
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
call fcn.10021ef0
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0x2b
push ecx
lea eax, [ebp - 0x98]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x308]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x2f8], 0
push 0x100ab32c
movups xmmword [ebp - 0x308], xmm0
mov dword [ebp - 0x2f4], 0
call fcn.10021ef0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x2d
movups xmmword [ebp - 0x2f0], xmm0
push 0xb
push str.flags_enemy
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
call fcn.10021ef0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x6d0]
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x308]
cmp ecx, eax
je 0x10051598
cmp dword [ebp - 0x2f4], 0x10
push dword [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x308]
push eax
call fcn.100258d0
lea ecx, [edi + 0x708]
mov byte [edi + 0x701], 1
lea eax, [ebp - 0x2f0]
cmp ecx, eax
je 0x100515c9
cmp dword [ebp - 0x2dc], 0x10
push dword [ebp - 0x2e0]
cmovae eax, dword [ebp - 0x2f0]
push eax
call fcn.100258d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x701], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x73c], eax
add eax, 0x14
mov dword [edi + 0x6a8], eax
mov dword [edi + 0x6ac], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x10051639
lea ecx, [edi + 0x720]
mov esi, eax
mov eax, dword [edi + 0x724]
push esi
cmp eax, dword [edi + 0x728]
je 0x10051622
mov ecx, eax
call fcn.10025620
add dword [edi + 0x724], 0x18
jmp 0x10051628
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x720]
cmp esi, dword [ebp - 0x1c]
jne 0x10051603
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x2dc]
cmp ecx, 0x10
jb 0x10051673
mov edx, dword [ebp - 0x2f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051669
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100516a3
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x2f4]
cmp ecx, 0x10
jb 0x100516b3
mov edx, dword [ebp - 0x308]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100516a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100516a9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 6
push 0x18
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x6b0], 0
lea ecx, [edi + 0x698]
mov dword [edi + 0x69c], 0x14
mov dword [edi + 0x6a4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x6b4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051717
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051723
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push str.money
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x30
lea ecx, [ebp - 0x110]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0
push str.armor
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xf8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
push str.scoped
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0xe0]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0
push str.flashed
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xcc], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0xc8]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xb8], 0
push str.reloading
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb4], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xb0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
push str.bomb
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
call fcn.10021ef0
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0x35
push ecx
lea eax, [ebp - 0x98]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x338]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x328], 0
push 0x100ab340
movups xmmword [ebp - 0x338], xmm0
mov dword [ebp - 0x324], 0
call fcn.10021ef0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x37
movups xmmword [ebp - 0x320], xmm0
push 0xe
push str.flags_friendly
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0
call fcn.10021ef0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x778]
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x338]
cmp ecx, eax
je 0x1005192c
cmp dword [ebp - 0x324], 0x10
push dword [ebp - 0x328]
cmovae eax, dword [ebp - 0x338]
push eax
call fcn.100258d0
lea ecx, [edi + 0x7b0]
mov byte [edi + 0x7a9], 1
lea eax, [ebp - 0x320]
cmp ecx, eax
je 0x1005195d
cmp dword [ebp - 0x30c], 0x10
push dword [ebp - 0x310]
cmovae eax, dword [ebp - 0x320]
push eax
call fcn.100258d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x7a9], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x7e4], eax
add eax, 0x14
mov dword [edi + 0x750], eax
mov dword [edi + 0x754], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x100519d6
lea ecx, [edi + 0x7c8]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x7cc]
push esi
cmp eax, dword [edi + 0x7d0]
je 0x100519bf
mov ecx, eax
call fcn.10025620
add dword [edi + 0x7cc], 0x18
jmp 0x100519c5
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x7c8]
cmp esi, dword [ebp - 0x1c]
jne 0x100519a0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x30c]
cmp ecx, 0x10
jb 0x10051a10
mov edx, dword [ebp - 0x320]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051a06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051a40
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x324]
cmp ecx, 0x10
jb 0x10051a50
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051a46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051a46
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 6
push 0x18
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x758], 0
lea ecx, [edi + 0x740]
mov dword [edi + 0x744], 0x14
mov dword [edi + 0x74c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x75c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051ab4
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051ac0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str.enemy
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x3a
lea ecx, [ebp - 0x64]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.friendly
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.10021ef0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x3b
push ecx
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x368]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x358], 0
push str.weapon
movups xmmword [ebp - 0x368], xmm0
mov dword [ebp - 0x354], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x350]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x340], 0
push str.weapon
movups xmmword [ebp - 0x350], xmm0
mov dword [ebp - 0x33c], 0
call fcn.10021ef0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x820]
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x368]
cmp ecx, eax
je 0x10051bdb
cmp dword [ebp - 0x354], 0x10
push dword [ebp - 0x358]
cmovae eax, dword [ebp - 0x368]
push eax
call fcn.100258d0
lea ecx, [edi + 0x858]
mov byte [edi + 0x851], 1
lea eax, [ebp - 0x350]
cmp ecx, eax
je 0x10051c0c
cmp dword [ebp - 0x33c], 0x10
push dword [ebp - 0x340]
cmovae eax, dword [ebp - 0x350]
push eax
call fcn.100258d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x851], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x88c], eax
add eax, 0x14
mov dword [edi + 0x7f8], eax
mov dword [edi + 0x7fc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x10051c86
lea ecx, [edi + 0x870]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x874]
push esi
cmp eax, dword [edi + 0x878]
je 0x10051c6f
mov ecx, eax
call fcn.10025620
add dword [edi + 0x874], 0x18
jmp 0x10051c75
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x870]
cmp esi, dword [ebp - 0x1c]
jne 0x10051c50
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x3d
mov ecx, dword [ebp - 0x33c]
cmp ecx, 0x10
jb 0x10051cc0
mov edx, dword [ebp - 0x350]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051cb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051cf0
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x354]
cmp ecx, 0x10
jb 0x10051d00
mov edx, dword [ebp - 0x368]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051cf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051cf6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x800], 0
lea ecx, [edi + 0x7e8]
mov dword [edi + 0x7ec], 0x14
mov dword [edi + 0x7f4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x804], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051d61
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051d6d
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push str.text
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x40
lea ecx, [ebp - 0x64]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.icon
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.10021ef0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0x41
push ecx
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x380]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x370], 0
push str.weapon_mode
movups xmmword [ebp - 0x380], xmm0
mov dword [ebp - 0x36c], 0
call fcn.10021ef0
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x48]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x100a7e3e
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.10021ef0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea ecx, [edi + 0x8c8]
mov byte [ebp - 4], 0x45
lea eax, [ebp - 0x380]
cmp ecx, eax
je 0x10051e7c
cmp dword [ebp - 0x36c], 0x10
push dword [ebp - 0x370]
cmovae eax, dword [ebp - 0x380]
push eax
call fcn.100258d0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov byte [edi + 0x8f9], 0
mov dword [edi + 0x934], 0
mov dword [edi + 0x8a0], 0x14
mov dword [edi + 0x8a4], 0x14
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x10051ef6
lea ecx, [edi + 0x918]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x91c]
push esi
cmp eax, dword [edi + 0x920]
je 0x10051edf
mov ecx, eax
call fcn.10025620
add dword [edi + 0x91c], 0x18
jmp 0x10051ee5
push eax
call fcn.10042850
add esi, 0x18
lea ecx, [edi + 0x918]
cmp esi, dword [ebp - 0x1c]
jne 0x10051ec0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10051f2a
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051f20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051f5a
push ecx
push edx
call fcn.10099c11
add esp, 8
mov byte [ebp - 4], 0x42
mov ecx, dword [ebp - 0x36c]
cmp ecx, 0x10
jb 0x10051f6a
mov edx, dword [ebp - 0x380]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051f60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051f60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10099c11
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x8a8], 0
lea ecx, [edi + 0x890]
mov dword [edi + 0x894], 0x14
mov dword [edi + 0x89c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x8ac], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051fcb
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051fd7
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10022470
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x3d0], 0
push str.distance
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 0x3cc], 0
movups xmmword [ebp - 0x3e0], xmm0
call fcn.10021ef0
mov dword [ebp - 4], 0x46
lea ecx, [ebp - 0x48]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.distance
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.10021ef0
lea edx, [edi + 0x9f8]
mov byte [ebp - 4], 0x47
lea eax, [ebp - 0x3e0]
cmp edx, eax
je 0x1005205b
mov ecx, eax
call fcn.10021930
push dword [ebp - 0x3d0]
mov ecx, edx
push eax
call fcn.100258d0
lea eax, [ebp - 0x48]
mov byte [edi + 0xa29], 1
push eax
lea ecx, [edi + 0xa30]
call fcn.1003b100
lea ecx, [ebp - 0x48]
mov byte [edi + 0xa2c], 0
call fcn.10021700
lea ecx, [ebp - 0x3e0]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
mov dword [edi + 0x9d8], 0
lea eax, [edi + 0x9c0]
mov dword [edi + 0x9c4], 0x14
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0x9cc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x9dc], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006dd50
push str.ammo
lea ecx, [ebp - 0x98]
lea esi, [edi + 0x938]
call fcn.10021750
push str.ammo
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0x48
call fcn.10021750
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x49
push eax
lea ecx, [edi + 0x970]
call fcn.1003b100
lea eax, [ebp - 0x48]
mov byte [edi + 0x9a1], 1
push eax
lea ecx, [edi + 0x9a8]
call fcn.1003b100
lea ecx, [ebp - 0x48]
mov byte [edi + 0x9a4], 0
call fcn.10021700
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
mov dword [esi + 0x18], 0
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x14
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
mov esi, dword [0x100a91d4]
lea ecx, [ebp - 0x98]
push str.ammo_color
add edi, 0xa48
call fcn.10021750
push str.color
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0x4a
call fcn.10021750
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
add ecx, 0xab8
mov byte [ebp - 4], 0x4b
call fcn.1003b100
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ecx + 0xa80]
call fcn.1003b100
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xad0], esi
lea ecx, [ebp - 0x48]
mov dword [eax + 0xae4], 0
call fcn.10021700
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
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 - 0x18]
push eax
mov dword [ebp - 0x18], edi
call fcn.1006dd50
mov edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x98]
push str.lby_update
lea esi, [edi + 0xaf8]
call fcn.10021750
push 0x100ab3ac
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0x4c
call fcn.10021750
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x4d
push eax
lea ecx, [edi + 0xb30]
call fcn.1003b100
lea eax, [ebp - 0x48]
mov byte [edi + 0xb61], 1
push eax
lea ecx, [edi + 0xb68]
call fcn.1003b100
lea ecx, [ebp - 0x48]
mov byte [edi + 0xb64], 0
call fcn.10021700
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
mov dword [esi + 0x18], 0
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0x14
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
mov esi, dword [0x100a91ec]
lea ecx, [ebp - 0x98]
push str.lby_update_color
add edi, 0xb80
call fcn.10021750
push str.color
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0x4e
call fcn.10021750
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x4f
lea ecx, [ecx + 0xbf0]
call fcn.1003b100
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ecx + 0xbb8]
call fcn.1003b100
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
mov dword [eax + 0xc08], esi
mov dword [eax + 0xc1c], 0
call fcn.10021700
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x20]
mov ecx, esi
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 - 0x18]
push eax
mov dword [ebp - 0x18], edi
call fcn.1006dd50
mov edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x410]
push str.enemy
call fcn.10021750
push str.friendly
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0x50
call fcn.10021750
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0x51
push ecx
lea eax, [ebp - 0x3e0]
push eax
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1006dd90
push str.skeleton
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x52
call fcn.10021750
push str.skeleton
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x53
call fcn.10021750
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x55
push eax
lea ecx, [edi + 0xc68]
call fcn.1003b100
lea eax, [ebp - 0x48]
mov byte [edi + 0xc99], 1
push eax
lea ecx, [edi + 0xca0]
call fcn.1003b100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xc99], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x88]
mov dword [edi + 0xcd4], eax
add eax, 0x14
mov dword [edi + 0xc40], eax
mov dword [edi + 0xc44], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x10052486
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0xcb8]
mov edi, eax
nop
push esi
mov ecx, edi
call fcn.10041cf0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10052470
mov edi, dword [ebp - 0x4c]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x30]
call fcn.10020d90
lea ecx, [ebp - 0x48]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x8c]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0xc48], 1
lea eax, [edi + 0xc30]
mov dword [edi + 0xc34], 0xff
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0xc3c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xc4c], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006dd50
push str.skeleton_enemy
lea ecx, [ebp - 0x48]
lea esi, [edi + 0xcd8]
call fcn.10021750
push str.enemy_color
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x56
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x57
push eax
lea ecx, [edi + 0xd48]
mov dword [ebp - 0x20], 0xffffffff
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0xd10]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0xd60], eax
mov dword [edi + 0xd74], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.skeleton_friendly
lea ecx, [ebp - 0x48]
lea esi, [edi + 0xd88]
call fcn.10021750
push str.friendly_color
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x58
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x59
push eax
lea ecx, [edi + 0xdf8]
mov dword [ebp - 0x20], 0xffffffff
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0xdc0]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0xe10], eax
mov dword [edi + 0xe24], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
mov dword [esi + 0x18], 1
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
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.1006dd50
push str.enemy
lea ecx, [ebp - 0xc8]
call fcn.10021750
push str.friendly
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x5a
call fcn.10021750
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0x5b
push ecx
lea eax, [ebp - 0x98]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
push str.glow
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x5c
call fcn.10021750
push str.glow
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x5d
call fcn.10021750
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x5f
push eax
lea ecx, [edi + 0xe70]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0xea1], 1
push eax
lea ecx, [edi + 0xea8]
call fcn.1003b100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xea1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0xedc], eax
add eax, 0x14
mov dword [edi + 0xe48], eax
mov dword [edi + 0xe4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x10052750
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0xec0]
mov dword [ebp - 0x20], eax
mov edi, ecx
push esi
mov ecx, eax
call fcn.10041cf0
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x10052738
mov edi, dword [ebp - 0x4c]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x90]
call fcn.10020d90
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
call fcn.10021700
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0xe50], 1
lea eax, [edi + 0xe38]
mov dword [edi + 0xe3c], 0xff
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0xe44], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xe54], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006dd50
push str.glow_enemy
lea ecx, [ebp - 0x48]
lea esi, [edi + 0xee0]
call fcn.10021750
push str.enemy_color
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x60
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x61
push eax
lea ecx, [edi + 0xf50]
mov dword [ebp - 0x20], 0xff783cb4
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0xf18]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0xf68], eax
mov dword [edi + 0xf7c], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push 0x100aaa38
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1040]
call fcn.1006e170
push str.glow_blend
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x62
call fcn.10021750
push 0x100a7e3e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x63
call fcn.10021750
mov byte [ebp - 4], 0x64
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x1078]
call fcn.1003b100
mov byte [edi + 0x10a9], 0
lea eax, [ebp - 0x48]
mov dword [edi + 0x10f8], 0
lea ecx, [edi + 0x10e0]
mov dword [edi + 0x1050], 8
mov dword [edi + 0x1054], 8
mov dword [edi + 0x10b4], 0x41200000
mov dword [edi + 0x10b8], 0x42c80000
mov dword [edi + 0x10b0], 0x42700000
mov dword [edi + 0x10c4], 0
push eax
mov dword [edi + 0x10bc], 0x3f800000
call fcn.1006e140
lea ecx, [ebp - 0x98]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10042020
mov dword [esi + 0x18], 1
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
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.1006dd50
push str.visible
lea ecx, [ebp - 0x410]
call fcn.10021750
push str.invisible
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0x65
call fcn.10021750
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0x66
push ecx
lea eax, [ebp - 0x3e0]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
push 0x100ab44c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x67
call fcn.10021750
push str.chams_enemy
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x68
call fcn.10021750
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x6a
push eax
lea ecx, [edi + 0x1134]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0x1165], 1
push eax
lea ecx, [edi + 0x116c]
call fcn.1003b100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1165], al
cmovne eax, ecx
mov dword [edi + 0x11a0], eax
mov ecx, dword [ebp - 0x2c]
add eax, 0x14
mov dword [edi + 0x110c], eax
mov dword [edi + 0x1110], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x10052a78
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x1184]
mov dword [ebp - 0x20], eax
mov edi, ecx
nop
push esi
mov ecx, eax
call fcn.10041cf0
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x10052a60
mov edi, dword [ebp - 0x4c]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x90]
call fcn.10020d90
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
call fcn.10021700
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x1114], 1
lea eax, [edi + 0x10fc]
mov dword [edi + 0x1100], 0xff
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0x1108], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1118], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006dd50
push str.chams_enemy_vis
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x11a4]
call fcn.10021750
push str.color_visible
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x6b
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x6c
push eax
lea ecx, [edi + 0x1214]
mov dword [ebp - 0x20], 0xff3cc896
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x11dc]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x122c], eax
mov dword [edi + 0x1240], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_enemy_invis
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1254]
call fcn.10021750
push str.color_invisible
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x6d
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x6e
push eax
lea ecx, [edi + 0x12c4]
mov dword [ebp - 0x20], 0xffe1b43c
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x128c]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x12dc], eax
mov dword [edi + 0x12f0], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push 0x100aaa38
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1304]
call fcn.1006e170
push str.chams_enemy_blend
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x6f
call fcn.10021750
push 0x100a7e3e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x70
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x71
push eax
lea ecx, [edi + 0x133c]
call fcn.1003b100
mov byte [edi + 0x136d], 0
lea eax, [ebp - 0x48]
mov dword [edi + 0x13bc], 0
lea ecx, [edi + 0x13a4]
mov dword [edi + 0x1314], 8
mov dword [edi + 0x1318], 8
mov dword [edi + 0x1378], 0x41200000
mov dword [edi + 0x137c], 0x42c80000
mov dword [edi + 0x1374], 0x42c80000
mov dword [edi + 0x1388], 0
push eax
mov dword [edi + 0x1380], 0x3f800000
call fcn.1006e140
lea ecx, [ebp - 0x98]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10042020
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_history
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x13c0]
call fcn.10021750
push 0x100ab4c8
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x72
call fcn.10021750
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x73
push eax
lea ecx, [edi + 0x13f8]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0x1429], 1
push eax
lea ecx, [edi + 0x1430]
call fcn.1003b100
lea ecx, [ebp - 0x64]
mov byte [edi + 0x142c], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_history_col
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1448]
call fcn.10021750
push str.color
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x74
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x75
push eax
lea ecx, [edi + 0x14b8]
mov dword [ebp - 0x20], 0xffc8ffff
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x1480]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x14d0], eax
mov dword [edi + 0x14e4], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push 0x100aaa38
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x14f8]
call fcn.1006e170
push str.chams_history_blend
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x76
call fcn.10021750
push 0x100a7e3e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x77
call fcn.10021750
mov byte [ebp - 4], 0x78
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x1530]
call fcn.1003b100
mov byte [edi + 0x1561], 0
lea eax, [ebp - 0x48]
mov dword [edi + 0x15b0], 0
lea ecx, [edi + 0x1598]
mov dword [edi + 0x1508], 8
mov dword [edi + 0x150c], 8
mov dword [edi + 0x156c], 0x41200000
mov dword [edi + 0x1570], 0x42c80000
mov dword [edi + 0x1568], 0x42c80000
mov dword [edi + 0x157c], 0
push eax
mov dword [edi + 0x1574], 0x3f800000
call fcn.1006e140
lea ecx, [ebp - 0x98]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10042020
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.history_skeleton
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1af4]
call fcn.10021750
push 0x100ab510
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x79
call fcn.10021750
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x7a
push eax
lea ecx, [edi + 0x1b2c]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0x1b5d], 1
push eax
lea ecx, [edi + 0x1b64]
call fcn.1003b100
lea ecx, [ebp - 0x64]
mov byte [edi + 0x1b60], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.history_skeleton_col
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1b7c]
call fcn.10021750
push str.skeleton_color
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x7b
call fcn.10021750
mov byte [ebp - 4], 0x7c
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x1bec]
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x1bb4]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x1c04], eax
mov dword [edi + 0x1c18], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10024c10
lea ecx, [esi + 0x58]
push eax
call fcn.1006dd50
mov dword [edi + 0x1b94], 1
lea ecx, [edi + 0x18]
mov dword [edi + 0x1b80], 0xff
mov dword [edi + 0x1b88], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1b98], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push 0x100aaa38
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1c2c]
call fcn.1006e170
push str.skeleton_alpha
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x7d
call fcn.10021750
push 0x100a7e3e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x7e
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x7f
push eax
lea ecx, [edi + 0x1c64]
call fcn.1003b100
mov byte [edi + 0x1c95], 0
lea eax, [ebp - 0x48]
mov dword [edi + 0x1ce4], 0
lea ecx, [edi + 0x1ccc]
mov dword [edi + 0x1c3c], 8
mov dword [edi + 0x1c40], 8
mov dword [edi + 0x1ca0], 0x41200000
mov dword [edi + 0x1ca4], 0x42c80000
mov dword [edi + 0x1c9c], 0x42700000
mov dword [edi + 0x1cb0], 0
push eax
mov dword [edi + 0x1ca8], 0x3f800000
call fcn.1006e140
lea ecx, [ebp - 0x98]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10042020
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10024c10
lea ecx, [esi + 0x58]
push eax
call fcn.1006dd50
mov dword [edi + 0x1c44], 1
mov dword [edi + 0x1c30], 0xff
mov dword [edi + 0x1c38], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x18], esi
mov dword [edi + 0x1c48], eax
lea esi, [edi + 0x18]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.1006dd50
push str.visible
lea ecx, [ebp - 0xc8]
call fcn.10021750
push str.invisible
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0x80
call fcn.10021750
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0x81
push ecx
lea eax, [ebp - 0x98]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1006dd90
push 0x100ab560
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x82
call fcn.10021750
push str.chams_friendly
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x83
call fcn.10021750
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x85
push eax
lea ecx, [edi + 0x15ec]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0x161d], 1
push eax
lea ecx, [edi + 0x1624]
call fcn.1003b100
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x161d], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x1658], eax
add eax, 0x14
mov dword [edi + 0x15c4], eax
mov dword [edi + 0x15c8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x100532f9
mov esi, dword [ebp - 0x18]
lea eax, [edi + 0x163c]
mov dword [ebp - 0x1c], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.10041cf0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x100532e3
mov edi, dword [ebp - 0x4c]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x90]
call fcn.10020d90
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
call fcn.10021700
lea ecx, [ebp - 0x30]
call fcn.10042170
push fcn.10021700
push 2
push 0x18
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.100997e2
mov dword [edi + 0x15cc], 1
lea eax, [edi + 0x15b4]
mov dword [edi + 0x15b8], 0xff
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [edi + 0x15c0], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x15d0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006dd50
push str.chams_friendly_vis
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x165c]
call fcn.10021750
push str.color_visible
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x86
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x87
push eax
lea ecx, [edi + 0x16cc]
mov dword [ebp - 0x20], 0xff00c8ff
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x1694]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x16e4], eax
mov dword [edi + 0x16f8], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_friendly_invis
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x170c]
call fcn.10021750
push str.color_invisible
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x88
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x89
push eax
lea ecx, [edi + 0x177c]
mov dword [ebp - 0x20], 0xff0032ff
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x1744]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x1794], eax
mov dword [edi + 0x17a8], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push 0x100aaa38
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x17bc]
call fcn.1006e170
push str.chams_friendly_blend
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x8a
call fcn.10021750
push 0x100a7e3e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x8b
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x8c
push eax
lea ecx, [edi + 0x17f4]
call fcn.1003b100
mov byte [edi + 0x1825], 0
lea eax, [ebp - 0x48]
mov dword [edi + 0x1874], 0
lea ecx, [edi + 0x185c]
mov dword [edi + 0x17cc], 8
mov dword [edi + 0x17d0], 8
mov dword [edi + 0x1830], 0x41200000
mov dword [edi + 0x1834], 0x42c80000
mov dword [edi + 0x182c], 0x42c80000
mov dword [edi + 0x1840], 0
push eax
mov dword [edi + 0x1838], 0x3f800000
call fcn.1006e140
lea ecx, [ebp - 0x98]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10042020
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_local
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1878]
call fcn.10021750
push 0x100ab5d4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x8d
call fcn.10021750
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x8e
push eax
lea ecx, [edi + 0x18b0]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0x18e1], 1
push eax
lea ecx, [edi + 0x18e8]
call fcn.1003b100
lea ecx, [ebp - 0x64]
mov byte [edi + 0x18e4], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_local_col
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1900]
call fcn.10021750
push str.color
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x8f
call fcn.10021750
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x90
push eax
lea ecx, [edi + 0x1970]
mov dword [ebp - 0x20], 0xffc8ffff
call fcn.1003b100
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x1938]
call fcn.1003b100
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x64]
mov dword [edi + 0x1988], eax
mov dword [edi + 0x199c], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push 0x100aaa38
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x19b0]
call fcn.1006e170
push str.chams_local_blend
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x91
call fcn.10021750
push 0x100a7e3e
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x92
call fcn.10021750
mov byte [ebp - 4], 0x93
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x19e8]
call fcn.1003b100
mov byte [edi + 0x1a19], 0
lea eax, [ebp - 0x48]
mov dword [edi + 0x1a68], 0
lea ecx, [edi + 0x1a50]
mov dword [edi + 0x19c0], 8
mov dword [edi + 0x19c4], 8
mov dword [edi + 0x1a24], 0x41200000
mov dword [edi + 0x1a28], 0x42c80000
mov dword [edi + 0x1a20], 0x42c80000
mov dword [edi + 0x1a34], 0
push eax
mov dword [edi + 0x1a2c], 0x3f800000
call fcn.1006e140
lea ecx, [ebp - 0x98]
call fcn.10021700
lea ecx, [ebp - 0x64]
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10042020
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
push str.chams_local_scope
lea ecx, [ebp - 0x48]
lea esi, [edi + 0x1a6c]
call fcn.10021750
push str.blend_when_scoped
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x94
call fcn.10021750
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x95
push eax
lea ecx, [edi + 0x1aa4]
call fcn.1003b100
lea eax, [ebp - 0x64]
mov byte [edi + 0x1ad5], 1
push eax
lea ecx, [edi + 0x1adc]
call fcn.1003b100
lea ecx, [ebp - 0x64]
mov byte [edi + 0x1ad8], 0
call fcn.10021700
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10021700
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 - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.1006dd50
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.10099796
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret