Function at 0x10050b20
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 0x100a14ea
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x438
mov eax, dword [0x100b700c]
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 - 0x150], 0
push str.players
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14c], 0
movups xmmword [ebp - 0x160], xmm0
call fcn.100214a0
lea eax, [ebp - 0x160]
mov dword [ebp - 4], 0
cmp edi, eax
je 0x10050bc3
cmp dword [ebp - 0x14c], 0x10
mov ecx, edi
push dword [ebp - 0x150]
cmovae eax, dword [ebp - 0x160]
push eax
call fcn.10025410
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0x10
jb 0x10050c04
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050bfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.enemy
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.100214a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.friendly
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.100214a0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push 0x100a9e6c
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
call fcn.100214a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
push str.boxes
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0
call fcn.100214a0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x190]
cmp ecx, eax
je 0x10050d1f
cmp dword [ebp - 0x17c], 0x10
push dword [ebp - 0x180]
cmovae eax, dword [ebp - 0x190]
push eax
call fcn.10025410
lea ecx, [edi + 0xa0]
mov byte [edi + 0x99], 1
lea eax, [ebp - 0x178]
cmp ecx, eax
je 0x10050d50
cmp dword [ebp - 0x164], 0x10
push dword [ebp - 0x168]
cmovae eax, dword [ebp - 0x178]
push eax
call fcn.10025410
mov esi, dword [ebp - 0x94]
xor eax, eax
cmp byte [edi + 0x99], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xd4], eax
add eax, 0x14
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x10050dc3
lea ecx, [edi + 0xb8]
nop dword [eax + eax]
mov eax, dword [edi + 0xbc]
push esi
cmp eax, dword [edi + 0xc0]
je 0x10050daf
mov ecx, eax
call fcn.10025160
add dword [edi + 0xbc], 0x18
jmp 0x10050db5
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0xb8]
cmp esi, dword [ebp - 0x18]
jne 0x10050d90
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x164]
cmp ecx, 0x10
jb 0x10050dfd
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050df3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10050e2d
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x10050e3d
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050e33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10050e33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x48], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x34], 0x14
lea ecx, [edi + 0x30]
mov dword [edi + 0x3c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
cmp eax, dword [esi + 8]
je 0x10050e9b
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10050ea7
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.box_enemy
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0
movups xmmword [ebp - 0x1c0], xmm0
call fcn.100214a0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1a8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
push str.box_enemy_color
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x194], 0
call fcn.100214a0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1a8]
cmp ecx, eax
je 0x10050f3c
cmp dword [ebp - 0x194], 0x10
push dword [ebp - 0x198]
cmovae eax, dword [ebp - 0x1a8]
push eax
call fcn.10025410
lea ecx, [edi + 0x110]
lea eax, [ebp - 0x1c0]
cmp ecx, eax
je 0x10050f66
cmp dword [ebp - 0x1ac], 0x10
push dword [ebp - 0x1b0]
cmovae eax, dword [ebp - 0x1c0]
push eax
call fcn.10025410
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x194]
mov dword [edi + 0x160], 0xff3cc896
mov dword [edi + 0x164], 0
cmp ecx, 0x10
jb 0x10050fb8
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050fae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0x10
jb 0x10050ff9
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10050fef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0xf0], 0
lea ecx, [edi + 0xd8]
mov dword [edi + 0xdc], 0x14
mov dword [edi + 0xe4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xf4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051039
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051045
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1e0], 0
push str.box_friendly
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1dc], 0
movups xmmword [ebp - 0x1f0], xmm0
call fcn.100214a0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x1d8]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
push str.box_friendly_color
movups xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1c4], 0
call fcn.100214a0
lea ecx, [edi + 0x1d8]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1d8]
cmp ecx, eax
je 0x100510da
cmp dword [ebp - 0x1c4], 0x10
push dword [ebp - 0x1c8]
cmovae eax, dword [ebp - 0x1d8]
push eax
call fcn.10025410
lea ecx, [edi + 0x1a0]
lea eax, [ebp - 0x1f0]
cmp ecx, eax
je 0x10051104
cmp dword [ebp - 0x1dc], 0x10
push dword [ebp - 0x1e0]
cmovae eax, dword [ebp - 0x1f0]
push eax
call fcn.10025410
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c4]
mov dword [edi + 0x1f0], 0xff00c8ff
mov dword [edi + 0x1f4], 0
cmp ecx, 0x10
jb 0x10051156
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005114c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1dc]
cmp ecx, 0x10
jb 0x10051197
mov edx, dword [ebp - 0x1f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005118d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0x180], 0
lea ecx, [edi + 0x168]
mov dword [edi + 0x16c], 0x14
mov dword [edi + 0x174], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x184], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x100511d7
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100511e3
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
push str.dormant
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x20c], 0
movups xmmword [ebp - 0x220], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x208]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x1f8], 0
push str.dormant_enemies
movups xmmword [ebp - 0x208], xmm0
mov dword [ebp - 0x1f4], 0
call fcn.100214a0
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x220]
cmp ecx, eax
je 0x10051278
cmp dword [ebp - 0x20c], 0x10
push dword [ebp - 0x210]
cmovae eax, dword [ebp - 0x220]
push eax
call fcn.10025410
lea ecx, [edi + 0x268]
mov byte [edi + 0x261], 1
lea eax, [ebp - 0x208]
cmp ecx, eax
je 0x100512a9
cmp dword [ebp - 0x1f4], 0x10
push dword [ebp - 0x1f8]
cmovae eax, dword [ebp - 0x208]
push eax
call fcn.10025410
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1f4]
mov byte [edi + 0x264], 0
cmp ecx, 0x10
jb 0x100512ee
mov edx, dword [ebp - 0x208]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100512e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20c]
cmp ecx, 0x10
jb 0x1005132f
mov edx, dword [ebp - 0x220]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051325
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0x210], 0
lea ecx, [edi + 0x1f8]
mov dword [edi + 0x1fc], 0x14
mov dword [edi + 0x204], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x214], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x1005136f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1005137b
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
push str.offscreen
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x250], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x238]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push str.enemy_offscreen_esp
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
call fcn.100214a0
lea ecx, [edi + 0x2b8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x250]
cmp ecx, eax
je 0x10051410
cmp dword [ebp - 0x23c], 0x10
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.10025410
lea ecx, [edi + 0x2f0]
mov byte [edi + 0x2e9], 1
lea eax, [ebp - 0x238]
cmp ecx, eax
je 0x10051441
cmp dword [ebp - 0x224], 0x10
push dword [ebp - 0x228]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.10025410
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x224]
mov byte [edi + 0x2ec], 0
cmp ecx, 0x10
jb 0x10051486
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005147c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0x10
jb 0x100514c7
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100514bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0x298], 0
lea ecx, [edi + 0x280]
mov dword [edi + 0x284], 0x14
mov dword [edi + 0x28c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x29c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10051507
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051513
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
mov esi, dword [0x100a8244]
lea ecx, [ebp - 0x418]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x408], 0
push str.offscreen_color
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x404], 0
call fcn.100214a0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x268]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
push str.offscreen_esp_color
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
call fcn.100214a0
lea ecx, [edi + 0x558]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x100515ae
cmp dword [ebp - 0x254], 0x10
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.10025410
lea ecx, [edi + 0x520]
lea eax, [ebp - 0x418]
cmp ecx, eax
je 0x100515d8
cmp dword [ebp - 0x404], 0x10
push dword [ebp - 0x408]
cmovae eax, dword [ebp - 0x418]
push eax
call fcn.10025410
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x254]
mov dword [edi + 0x570], esi
mov dword [edi + 0x574], 0
cmp ecx, 0x10
jb 0x10051626
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005161c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x404]
cmp ecx, 0x10
jb 0x10051667
mov edx, dword [ebp - 0x418]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005165d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0x500], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x4ec], 0x14
lea ecx, [edi + 0x4e8]
mov dword [edi + 0x4f4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x504], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x100516aa
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100516b6
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.enemy
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.friendly
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.100214a0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x12
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x430]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push str.name
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
call fcn.100214a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x400]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], 0
push str.name
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.100214a0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [edi + 0x5b0]
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x430]
cmp ecx, eax
je 0x100517d4
cmp dword [ebp - 0x41c], 0x10
push dword [ebp - 0x420]
cmovae eax, dword [ebp - 0x430]
push eax
call fcn.10025410
lea ecx, [edi + 0x5e8]
mov byte [edi + 0x5e1], 1
lea eax, [ebp - 0x400]
cmp ecx, eax
je 0x10051805
cmp dword [ebp - 0x3ec], 0x10
push dword [ebp - 0x3f0]
cmovae eax, dword [ebp - 0x400]
push eax
call fcn.10025410
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x5e1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x61c], eax
add eax, 0x14
mov dword [edi + 0x588], eax
mov dword [edi + 0x58c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x10051886
lea ecx, [edi + 0x600]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x604]
push esi
cmp eax, dword [edi + 0x608]
je 0x1005186f
mov ecx, eax
call fcn.10025160
add dword [edi + 0x604], 0x18
jmp 0x10051875
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0x600]
cmp esi, dword [ebp - 0x20]
jne 0x10051850
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x3ec]
cmp ecx, 0x10
jb 0x100518c0
mov edx, dword [ebp - 0x400]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100518b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100518f0
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x41c]
cmp ecx, 0x10
jb 0x10051900
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100518f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100518f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x590], 0
lea ecx, [edi + 0x578]
mov dword [edi + 0x57c], 0x14
mov dword [edi + 0x584], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x594], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10051967
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051973
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
mov esi, dword [0x100a8244]
lea ecx, [ebp - 0x298]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x288], 0
push 0x100a9f0c
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
call fcn.100214a0
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x280]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
push str.name_color
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x26c], 0
call fcn.100214a0
lea ecx, [edi + 0x690]
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x280]
cmp ecx, eax
je 0x10051a0e
cmp dword [ebp - 0x26c], 0x10
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
push eax
call fcn.10025410
lea ecx, [edi + 0x658]
lea eax, [ebp - 0x298]
cmp ecx, eax
je 0x10051a38
cmp dword [ebp - 0x284], 0x10
push dword [ebp - 0x288]
cmovae eax, dword [ebp - 0x298]
push eax
call fcn.10025410
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x26c]
mov dword [edi + 0x6a8], esi
mov dword [edi + 0x6ac], 0
cmp ecx, 0x10
jb 0x10051a86
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051a7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x284]
cmp ecx, 0x10
jb 0x10051ac7
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051abd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0x638], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x624], 0x14
lea ecx, [edi + 0x620]
mov dword [edi + 0x62c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x63c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10051b0a
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051b16
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.enemy
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x70]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.friendly
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.100214a0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x1a
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2b8], 0
push str.health
movups xmmword [ebp - 0x2c8], xmm0
mov dword [ebp - 0x2b4], 0
call fcn.100214a0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2b0]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
push str.health
movups xmmword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x29c], 0
call fcn.100214a0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [edi + 0x6e8]
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x2c8]
cmp ecx, eax
je 0x10051c34
cmp dword [ebp - 0x2b4], 0x10
push dword [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2c8]
push eax
call fcn.10025410
lea ecx, [edi + 0x720]
mov byte [edi + 0x719], 1
lea eax, [ebp - 0x2b0]
cmp ecx, eax
je 0x10051c65
cmp dword [ebp - 0x29c], 0x10
push dword [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2b0]
push eax
call fcn.10025410
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x719], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x754], eax
add eax, 0x14
mov dword [edi + 0x6c0], eax
mov dword [edi + 0x6c4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10051ce6
lea ecx, [edi + 0x738]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x73c]
push esi
cmp eax, dword [edi + 0x740]
je 0x10051ccf
mov ecx, eax
call fcn.10025160
add dword [edi + 0x73c], 0x18
jmp 0x10051cd5
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0x738]
cmp esi, dword [ebp - 0x18]
jne 0x10051cb0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x29c]
cmp ecx, 0x10
jb 0x10051d20
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051d16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051d50
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 0x10
jb 0x10051d60
mov edx, dword [ebp - 0x2c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10051d56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10051d56
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x6c8], 0
lea ecx, [edi + 0x6b0]
mov dword [edi + 0x6b4], 0x14
mov dword [edi + 0x6bc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x6cc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10051dc7
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10051dd3
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
push str.money
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x148], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x130]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
push str.armor
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0
call fcn.100214a0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x118]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x108], 0
push str.scoped
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x104], 0
call fcn.100214a0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x100]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 0
push str.flashed
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
call fcn.100214a0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xe8]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
push str.reloading
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd4], 0
call fcn.100214a0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xd0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
push str.bomb
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
call fcn.100214a0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xb8]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push 0x100a9f68
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
call fcn.100214a0
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0x25
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
xorps xmm0, xmm0
mov byte [ebp - 4], 0x26
movups xmmword [ebp - 0x2f8], xmm0
push 0xb
push 0x100a9fa0
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
call fcn.100214a0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x2e0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x2d0], 0
push str.flags_enemy
movups xmmword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2cc], 0
call fcn.100214a0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [edi + 0x790]
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x2f8]
cmp ecx, eax
je 0x1005200a
cmp dword [ebp - 0x2e4], 0x10
push dword [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2f8]
push eax
call fcn.10025410
lea ecx, [edi + 0x7c8]
mov byte [edi + 0x7c1], 1
lea eax, [ebp - 0x2e0]
cmp ecx, eax
je 0x1005203b
cmp dword [ebp - 0x2cc], 0x10
push dword [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2e0]
push eax
call fcn.10025410
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x7c1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x7fc], eax
add eax, 0x14
mov dword [edi + 0x768], eax
mov dword [edi + 0x76c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x100520b6
lea ecx, [edi + 0x7e0]
mov esi, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x7e4]
push esi
cmp eax, dword [edi + 0x7e8]
je 0x1005209f
mov ecx, eax
call fcn.10025160
add dword [edi + 0x7e4], 0x18
jmp 0x100520a5
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0x7e0]
cmp esi, dword [ebp - 0x18]
jne 0x10052080
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0x10
jb 0x100520f0
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100520e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052120
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x2e4]
cmp ecx, 0x10
jb 0x10052130
mov edx, dword [ebp - 0x2f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052126
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052126
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 7
push 0x18
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x770], 0
lea ecx, [edi + 0x758]
mov dword [edi + 0x75c], 0x14
mov dword [edi + 0x764], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x774], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10052197
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100521a3
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
push str.money
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 0
movups xmmword [ebp - 0x130], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x2a
lea ecx, [ebp - 0x118]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x108], 0
push str.armor
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x104], 0
call fcn.100214a0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x100]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 0
push str.scoped
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
call fcn.100214a0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xe8]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
push str.flashed
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd4], 0
call fcn.100214a0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xd0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
push str.reloading
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
call fcn.100214a0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xb8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push str.bomb
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
call fcn.100214a0
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0x2f
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x328]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
push 0x100a9f80
movups xmmword [ebp - 0x328], xmm0
mov dword [ebp - 0x314], 0
call fcn.100214a0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x31
movups xmmword [ebp - 0x310], xmm0
push 0xe
push str.flags_friendly
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
call fcn.100214a0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [edi + 0x838]
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x328]
cmp ecx, eax
je 0x100523a6
cmp dword [ebp - 0x314], 0x10
push dword [ebp - 0x318]
cmovae eax, dword [ebp - 0x328]
push eax
call fcn.10025410
lea ecx, [edi + 0x870]
mov byte [edi + 0x869], 1
lea eax, [ebp - 0x310]
cmp ecx, eax
je 0x100523d7
cmp dword [ebp - 0x2fc], 0x10
push dword [ebp - 0x300]
cmovae eax, dword [ebp - 0x310]
push eax
call fcn.10025410
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x869], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x8a4], eax
add eax, 0x14
mov dword [edi + 0x810], eax
mov dword [edi + 0x814], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10052456
lea ecx, [edi + 0x888]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x88c]
push esi
cmp eax, dword [edi + 0x890]
je 0x1005243f
mov ecx, eax
call fcn.10025160
add dword [edi + 0x88c], 0x18
jmp 0x10052445
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0x888]
cmp esi, dword [ebp - 0x18]
jne 0x10052420
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 0x10
jb 0x10052490
mov edx, dword [ebp - 0x310]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052486
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100524c0
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x314]
cmp ecx, 0x10
jb 0x100524d0
mov edx, dword [ebp - 0x328]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100524c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100524c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 6
push 0x18
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x818], 0
lea ecx, [edi + 0x800]
mov dword [edi + 0x804], 0x14
mov dword [edi + 0x80c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x81c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10052537
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10052543
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.enemy
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x34
lea ecx, [ebp - 0x70]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.friendly
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.100214a0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x35
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x358]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x348], 0
push str.weapon
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x344], 0
call fcn.100214a0
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x340]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x330], 0
push str.weapon
movups xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x32c], 0
call fcn.100214a0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [edi + 0x8e0]
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x358]
cmp ecx, eax
je 0x10052661
cmp dword [ebp - 0x344], 0x10
push dword [ebp - 0x348]
cmovae eax, dword [ebp - 0x358]
push eax
call fcn.10025410
lea ecx, [edi + 0x918]
mov byte [edi + 0x911], 1
lea eax, [ebp - 0x340]
cmp ecx, eax
je 0x10052692
cmp dword [ebp - 0x32c], 0x10
push dword [ebp - 0x330]
cmovae eax, dword [ebp - 0x340]
push eax
call fcn.10025410
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x911], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x94c], eax
add eax, 0x14
mov dword [edi + 0x8b8], eax
mov dword [edi + 0x8bc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10052708
lea ecx, [edi + 0x930]
mov esi, eax
mov eax, dword [edi + 0x934]
push esi
cmp eax, dword [edi + 0x938]
je 0x100526f1
mov ecx, eax
call fcn.10025160
add dword [edi + 0x934], 0x18
jmp 0x100526f7
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0x930]
cmp esi, dword [ebp - 0x18]
jne 0x100526d2
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x32c]
cmp ecx, 0x10
jb 0x10052742
mov edx, dword [ebp - 0x340]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052738
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052772
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x344]
cmp ecx, 0x10
jb 0x10052782
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052778
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052778
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x8c0], 0
lea ecx, [edi + 0x8a8]
mov dword [edi + 0x8ac], 0x14
mov dword [edi + 0x8b4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x8c4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x100527e9
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100527f5
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.text
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x88], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x3a
lea ecx, [ebp - 0x70]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.icon
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.100214a0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x3b
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x370]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x360], 0
push str.weapon_mode
movups xmmword [ebp - 0x370], xmm0
mov dword [ebp - 0x35c], 0
call fcn.100214a0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x58]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x100a763e
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.100214a0
lea ecx, [edi + 0x988]
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x100528f2
cmp dword [ebp - 0x35c], 0x10
push dword [ebp - 0x360]
cmovae eax, dword [ebp - 0x370]
push eax
call fcn.10025410
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
mov byte [edi + 0x9b9], 0
mov dword [edi + 0x9ec], 0
mov dword [edi + 0x960], 0x14
mov dword [edi + 0x964], 0x14
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10052968
lea ecx, [edi + 0x9d8]
mov esi, eax
mov eax, dword [edi + 0x9dc]
push esi
cmp eax, dword [edi + 0x9e0]
je 0x10052951
mov ecx, eax
call fcn.10025160
add dword [edi + 0x9dc], 0x18
jmp 0x10052957
push eax
call fcn.10042a20
add esi, 0x18
lea ecx, [edi + 0x9d8]
cmp esi, dword [ebp - 0x18]
jne 0x10052932
lea esi, [edi + 0x18]
mov ecx, dword [edi + 0x9dc]
lea eax, [edi + 0x9d8]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10052993
mov dword [edi + 0x9e8], 0
mov byte [ebp - 4], 0x3d
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x100529c7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100529bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100529f7
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x35c]
cmp ecx, 0x10
jb 0x10052a07
mov edx, dword [ebp - 0x370]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100529fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100529fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x968], 0
lea ecx, [edi + 0x950]
mov dword [edi + 0x954], 0x14
mov dword [edi + 0x95c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x96c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10052a6e
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10052a7a
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x390], 0
push str.ammo
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x38c], 0
movups xmmword [ebp - 0x3a0], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x3f
lea ecx, [ebp - 0x388]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x378], 0
push str.ammo
movups xmmword [ebp - 0x388], xmm0
mov dword [ebp - 0x374], 0
call fcn.100214a0
lea ecx, [edi + 0xa28]
mov byte [ebp - 4], 0x40
lea eax, [ebp - 0x3a0]
cmp ecx, eax
je 0x10052b0f
cmp dword [ebp - 0x38c], 0x10
push dword [ebp - 0x390]
cmovae eax, dword [ebp - 0x3a0]
push eax
call fcn.10025410
lea ecx, [edi + 0xa60]
mov byte [edi + 0xa59], 1
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x10052b40
cmp dword [ebp - 0x374], 0x10
push dword [ebp - 0x378]
cmovae eax, dword [ebp - 0x388]
push eax
call fcn.10025410
mov byte [ebp - 4], 0x3f
mov ecx, dword [ebp - 0x374]
mov byte [edi + 0xa5c], 0
cmp ecx, 0x10
jb 0x10052b85
mov edx, dword [ebp - 0x388]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052b7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38c]
cmp ecx, 0x10
jb 0x10052bc6
mov edx, dword [ebp - 0x3a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052bbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0xa08], 0
lea ecx, [edi + 0x9f0]
mov dword [edi + 0x9f4], 0x14
mov dword [edi + 0x9fc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xa0c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10052c06
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10052c12
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10021d60
mov esi, dword [0x100a8264]
lea ecx, [ebp - 0x3d0]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.ammo_color
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.100214a0
mov dword [ebp - 4], 0x41
lea ecx, [ebp - 0x3b8]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
push str.color
movups xmmword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x3a4], 0
call fcn.100214a0
lea ecx, [edi + 0xae8]
mov byte [ebp - 4], 0x42
lea eax, [ebp - 0x3b8]
cmp ecx, eax
je 0x10052cad
cmp dword [ebp - 0x3a4], 0x10
push dword [ebp - 0x3a8]
cmovae eax, dword [ebp - 0x3b8]
push eax
call fcn.10025410
lea ecx, [edi + 0xab0]
lea eax, [ebp - 0x3d0]
cmp ecx, eax
je 0x10052cd7
cmp dword [ebp - 0x3bc], 0x10
push dword [ebp - 0x3c0]
cmovae eax, dword [ebp - 0x3d0]
push eax
call fcn.10025410
mov byte [ebp - 4], 0x41
mov ecx, dword [ebp - 0x3a4]
mov dword [edi + 0xb00], esi
mov dword [edi + 0xb04], 0
cmp ecx, 0x10
jb 0x10052d21
mov edx, dword [ebp - 0x3b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052d17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052d54
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3bc]
cmp ecx, 0x10
jb 0x10052d64
mov edx, dword [ebp - 0x3d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10052d5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10052d5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009bdfb
add esp, 8
mov dword [edi + 0xa90], 0
lea ecx, [edi + 0xa78]
mov dword [edi + 0xa7c], 0x14
mov dword [edi + 0xa84], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xa94], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 0x20]
je 0x10052da4
mov dword [eax], ecx
add dword [edi + 0x1c], 4
jmp 0x10052db1
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.10021d60
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x438], 0
push 0x100a9fe4
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x434], 0
movups xmmword [ebp - 0x448], xmm0
call fcn.100214a0
mov dword [ebp - 4], 0x43
lea ecx, [ebp - 0x3e8]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], 0
push str.lby_update
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.100214a0
lea ecx, [edi + 0xc58]
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x448]
cmp ecx, eax
je 0x10052e46
cmp dword [ebp - 0x434], 0x10
push dword [ebp - 0x438]
cmovae eax, dword [ebp - 0x448]
push eax
call fcn.10025410
lea ecx, [edi + 0xc90]
mov byte [edi + 0xc89], 1
lea eax, [ebp - 0x3e8]
cmp ecx, eax
je 0x10052e77
cmp dword [ebp - 0x3d4], 0x10
push dword [ebp - 0x3d8]
cmovae eax, dword [ebp - 0x3e8]
push eax
call fcn.10025410
mov eax, dword [ebp - 0x3d4]
mov byte [edi + 0xc8c], 0
cmp eax, 0x10
jb 0x10052e96
inc eax
push eax
push dword [ebp - 0x3e8]
call fcn.10020dc0
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [edi + 0xc38], 0
lea eax, [edi + 0xc20]
mov dword [edi + 0xc24], 0x14
lea ecx, [edi + 0x18]
mov dword [ebp - 0x20], eax
mov dword [edi + 0xc2c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xc3c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.10072640
mov esi, dword [0x100a825c]
lea ecx, [ebp - 0xa0]
push str.lby_update_color
add edi, 0xca8
call fcn.10020bc0
push str.color
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0x45
call fcn.10020bc0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x58]
push eax
add ecx, 0xd18
mov byte [ebp - 4], 0x46
call fcn.1003b6b0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ecx + 0xce0]
call fcn.1003b6b0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
mov dword [eax + 0xd30], esi
mov dword [eax + 0xd34], 0
call fcn.10020b70
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
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 - 0x20]
push eax
mov dword [ebp - 0x20], edi
call fcn.10072640
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0xd0]
push str.enemy
call fcn.10020bc0
push str.history
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0x47
call fcn.10020bc0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0x48
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10072680
push str.skeleton
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x49
call fcn.10020bc0
mov byte [ebp - 4], 0x4a
push str.skeleton
lea ecx, [ebp - 0x3c]
call fcn.10020bc0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x4c
push eax
lea ecx, [edi + 0xd70]
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
mov byte [edi + 0xda1], 1
push eax
lea ecx, [edi + 0xda8]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xda1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x48]
mov dword [edi + 0xddc], eax
add eax, 0x14
mov dword [edi + 0xd48], eax
mov dword [edi + 0xd4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x100530a8
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0xdc0]
mov dword [ebp - 0x18], eax
mov edi, ecx
nop dword [eax]
push esi
mov ecx, eax
call fcn.10041fb0
mov eax, dword [ebp - 0x18]
add esi, 0x18
cmp esi, edi
jne 0x10053090
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x98]
call fcn.100201f0
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x4c]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0xd50], 1
lea eax, [edi + 0xd38]
mov dword [edi + 0xd3c], 0xff
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xd44], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xd54], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push str.skeleton_enemy
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0xde0]
call fcn.10020bc0
push str.enemy_color
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x4d
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x4e
push eax
lea ecx, [edi + 0xe50]
mov dword [ebp - 0x18], 0xffffffff
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0xe18]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0xe68], eax
mov dword [edi + 0xe6c], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push 0x100a9768
lea ecx, [ebp - 0x58]
lea esi, [edi + 0xf00]
call fcn.10072a60
push 0x100aa038
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0x4f
call fcn.10020bc0
push str.skeleton_alpha
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x50
call fcn.10020bc0
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0xf38]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0xf69], 1
push eax
lea ecx, [edi + 0xf88]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0xf69], al
cmovne eax, ecx
lea ecx, [edi + 0xfa0]
mov dword [edi + 0xfb8], eax
add eax, 8
mov dword [edi + 0xf10], eax
mov dword [edi + 0xf14], eax
lea eax, [ebp - 0x58]
mov dword [edi + 0xf74], 0x3f800000
mov dword [edi + 0xf78], 0x42c80000
mov dword [edi + 0xf70], 0x42c80000
mov dword [edi + 0xf84], 0
push eax
mov dword [edi + 0xf7c], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
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 - 0x1c]
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.10072640
push str.enemy
lea ecx, [ebp - 0xd0]
call fcn.10020bc0
push str.projectiles
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0x52
call fcn.10020bc0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0x53
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
push str.glow
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x54
call fcn.10020bc0
push str.glow
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x55
call fcn.10020bc0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x57
push eax
lea ecx, [edi + 0xff4]
call fcn.1003b6b0
mov byte [edi + 0x1025], 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [edi + 0x102c]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1025], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x1060], eax
add eax, 0x14
mov dword [edi + 0xfcc], eax
mov dword [edi + 0xfd0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x100533e6
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0x1044]
mov dword [ebp - 0x20], eax
mov edi, eax
nop dword [eax]
push esi
mov ecx, edi
call fcn.10041fb0
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x100533d0
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x50]
call fcn.100201f0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0xfd4], 1
lea eax, [edi + 0xfbc]
mov dword [edi + 0xfc0], 0xff
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xfc8], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xfd8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push 0x100a9768
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x133c]
call fcn.10072a60
push str.glow_blend
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0x58
call fcn.10020bc0
push str.glow_alpha
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x59
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x5a
push eax
lea ecx, [edi + 0x1374]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x13a5], 1
push eax
lea ecx, [edi + 0x13c4]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x13a5], al
cmovne eax, ecx
lea ecx, [edi + 0x13dc]
mov dword [edi + 0x13f4], eax
add eax, 8
mov dword [edi + 0x134c], eax
mov dword [edi + 0x1350], eax
lea eax, [ebp - 0x58]
mov dword [edi + 0x13b0], 0x41200000
mov dword [edi + 0x13b4], 0x42c80000
mov dword [edi + 0x13ac], 0x42700000
mov dword [edi + 0x13c0], 0
push eax
mov dword [edi + 0x13b8], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
mov dword [esi + 0x18], 1
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.10072640
push 0x100a9768
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x13f8]
call fcn.10072a60
push str.glow_projectile_blend
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0x5b
call fcn.10020bc0
push str.projectile_glow_alpha
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x5c
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x5d
push eax
lea ecx, [edi + 0x1430]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x1461], 1
push eax
lea ecx, [edi + 0x1480]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x1461], al
cmovne eax, ecx
lea ecx, [edi + 0x1498]
mov dword [edi + 0x14b0], eax
add eax, 8
mov dword [edi + 0x1408], eax
mov dword [edi + 0x140c], eax
lea eax, [ebp - 0x58]
mov dword [edi + 0x146c], 0x41200000
mov dword [edi + 0x1470], 0x42c80000
mov dword [edi + 0x1468], 0x42700000
mov dword [edi + 0x147c], 0
push eax
mov dword [edi + 0x1474], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push str.glow_enemy
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x118c]
call fcn.10020bc0
push str.enemy_color
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x5e
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x5f
push eax
lea ecx, [edi + 0x11fc]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x11c4]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0x1214], eax
mov dword [edi + 0x1218], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push str.glow_projectile_color
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x121c]
call fcn.10020bc0
push str.projectile_color
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x60
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x61
push eax
lea ecx, [edi + 0x128c]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x1254]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0x12a4], eax
mov dword [edi + 0x12a8], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
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 - 0x1c]
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.10072640
push str.normal
lea ecx, [ebp - 0x100]
call fcn.10020bc0
push str.pulse
lea ecx, [ebp - 0xe8]
mov dword [ebp - 4], 0x62
call fcn.10020bc0
push str.outline
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x63
call fcn.10020bc0
push str.outline_pulse
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x64
call fcn.10020bc0
mov dword [ebp - 4], 0x65
lea ecx, [ebp - 0x100]
lea eax, [ebp - 0xa0]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10072680
push str.glow_type
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x66
call fcn.10020bc0
push 0x100aa120
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x67
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x68
push eax
lea ecx, [edi + 0x109c]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x10cd], 1
push eax
lea ecx, [edi + 0x10d4]
call fcn.1003b6b0
mov edx, dword [ebp - 0x48]
xor eax, eax
cmp byte [edi + 0x10cd], al
mov ecx, 0xf
mov dword [ebp - 0x20], edx
cmovne eax, ecx
lea ecx, [edi + 0x10ec]
mov dword [edi + 0x1100], eax
add eax, 0x14
mov dword [edi + 0x1074], eax
mov dword [edi + 0x1078], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
cmp eax, edx
je 0x100538da
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10041fb0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x100538c1
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [edi + 0x18]
call fcn.10025090
test eax, eax
je 0x100538ed
mov dword [edi + 0x10fc], 0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x4c]
call fcn.100423a0
push fcn.10020b70
push 4
push 0x18
lea eax, [ebp - 0x100]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x107c], 1
lea eax, [edi + 0x1064]
mov dword [edi + 0x1068], 0xff
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x1070], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1080], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push str.glow_bloom
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1104]
call fcn.10020bc0
push str.bloom_glow
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x69
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x6a
push eax
lea ecx, [edi + 0x113c]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x116d], 1
push eax
lea ecx, [edi + 0x1174]
call fcn.1003b6b0
lea ecx, [ebp - 0x70]
mov byte [edi + 0x1170], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push str.chams_enemy_enable
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x14b4]
call fcn.10020bc0
push str.enable_enemy_chams
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x6b
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x6c
push eax
lea ecx, [edi + 0x14ec]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x151d], 1
push eax
lea ecx, [edi + 0x1524]
call fcn.1003b6b0
mov byte [edi + 0x1520], 0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
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 - 0x1c]
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.10072640
push str.visible
lea ecx, [ebp - 0xd0]
call fcn.10020bc0
push str.invisible
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0x6d
call fcn.10020bc0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0x6e
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10072680
push str.chams_enemy
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x6f
call fcn.10020bc0
push 0x100aa190
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x70
call fcn.10020bc0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x72
push eax
lea ecx, [edi + 0x1574]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x15a5], 1
push eax
lea ecx, [edi + 0x15ac]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x15a5], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x15e0], eax
add eax, 0x14
mov dword [edi + 0x154c], eax
mov dword [edi + 0x1550], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x10053b98
mov esi, dword [ebp - 0x1c]
lea eax, [edi + 0x15c4]
mov dword [ebp - 0x18], eax
mov edi, ecx
nop dword [eax]
push esi
mov ecx, eax
call fcn.10041fb0
mov eax, dword [ebp - 0x18]
add esi, 0x18
cmp esi, edi
jne 0x10053b80
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x50]
call fcn.100201f0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x94]
call fcn.100423a0
push fcn.10020b70
push 2
push 0x18
lea eax, [ebp - 0xd0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x1554], 1
lea eax, [edi + 0x153c]
mov dword [edi + 0x1540], 0xff
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x1548], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1558], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push str.default
lea ecx, [ebp - 0x148]
call fcn.10020bc0
push str.flat
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0x73
call fcn.10020bc0
push str.metallic
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x74
call fcn.10020bc0
push str.pred_glass
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x75
call fcn.10020bc0
push str.crystal
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x76
call fcn.10020bc0
push str.velvet
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x77
call fcn.10020bc0
push str.gold
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x78
call fcn.10020bc0
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0x79
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10072680
push str.chams_enemy_mat
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x7a
call fcn.10020bc0
push str.material
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x7b
call fcn.10020bc0
mov byte [ebp - 4], 0x7c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x340]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x371], 1
push eax
lea ecx, [edi + 0x378]
call fcn.1003b6b0
mov edx, dword [ebp - 0x48]
xor eax, eax
cmp byte [edi + 0x371], al
mov ecx, 0xf
mov dword [ebp - 0x20], edx
cmovne eax, ecx
lea ecx, [edi + 0x390]
mov dword [edi + 0x3a4], eax
add eax, 0x14
mov dword [edi + 0x318], eax
mov dword [edi + 0x31c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
cmp eax, edx
je 0x10053d5e
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10041fb0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10053d45
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [edi + 0x18]
call fcn.10025090
test eax, eax
je 0x10053d71
mov dword [edi + 0x3a0], 0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x4c]
call fcn.100423a0
push fcn.10020b70
push 7
push 0x18
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x320], 1
lea eax, [edi + 0x308]
mov dword [edi + 0x30c], 0xff
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x314], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x324], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push str.chams_enemy_vis
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x15e4]
call fcn.10020bc0
push str.color_visible
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x7d
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x7e
push eax
lea ecx, [edi + 0x1654]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x161c]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0x166c], eax
mov dword [edi + 0x1670], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push str.chams_enemy_invis
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1674]
call fcn.10020bc0
push str.color_invisible
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x7f
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x80
push eax
lea ecx, [edi + 0x16e4]
mov dword [ebp - 0x18], 0xffe1b43c
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x16ac]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0x16fc], eax
mov dword [edi + 0x1700], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push 0x100a9768
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1704]
call fcn.10072a60
push str.chams_enemy_blend
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x81
call fcn.10020bc0
push 0x100a763e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x82
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x83
push eax
lea ecx, [edi + 0x173c]
call fcn.1003b6b0
mov byte [edi + 0x176d], 0
lea eax, [ebp - 0x3c]
mov dword [edi + 0x17bc], 0
lea ecx, [edi + 0x17a4]
mov dword [edi + 0x1714], 8
mov dword [edi + 0x1718], 8
mov dword [edi + 0x1778], 0x41200000
mov dword [edi + 0x177c], 0x42c80000
mov dword [edi + 0x1774], 0x42c80000
mov dword [edi + 0x1788], 0
push eax
mov dword [edi + 0x1780], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x58]
call fcn.10020b70
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push str.chams_enemy_history
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x17c0]
call fcn.10020bc0
push str.chams_history
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x84
call fcn.10020bc0
mov byte [ebp - 4], 0x85
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x17f8]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x1829], 1
push eax
lea ecx, [edi + 0x1830]
call fcn.1003b6b0
lea ecx, [ebp - 0x70]
mov byte [edi + 0x182c], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
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 - 0x1c]
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.10072640
push str.default
lea ecx, [ebp - 0x148]
call fcn.10020bc0
push str.flat
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0x86
call fcn.10020bc0
push str.metallic
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x87
call fcn.10020bc0
push str.pred_glass
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x88
call fcn.10020bc0
push str.crystal
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x89
call fcn.10020bc0
push str.velvet
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x8a
call fcn.10020bc0
push str.gold
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x8b
call fcn.10020bc0
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0x8c
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10072680
push str.chams_history_mat
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x8d
call fcn.10020bc0
push str.material
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x8e
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x8f
push eax
lea ecx, [edi + 0x480]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x4b1], 1
push eax
lea ecx, [edi + 0x4b8]
call fcn.1003b6b0
mov edx, dword [ebp - 0x48]
xor eax, eax
cmp byte [edi + 0x4b1], al
mov ecx, 0xf
mov dword [ebp - 0x20], edx
cmovne eax, ecx
lea ecx, [edi + 0x4d0]
mov dword [edi + 0x4e4], eax
add eax, 0x14
mov dword [edi + 0x458], eax
mov dword [edi + 0x45c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
cmp eax, edx
je 0x10054209
mov esi, eax
mov edi, ecx
nop
push esi
mov ecx, edi
call fcn.10041fb0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x100541f0
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [edi + 0x18]
call fcn.10025090
test eax, eax
je 0x1005421c
mov dword [edi + 0x4e0], 0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x4c]
call fcn.100423a0
push fcn.10020b70
push 7
push 0x18
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x460], 1
lea eax, [edi + 0x448]
mov dword [edi + 0x44c], 0xff
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x454], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x464], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push str.chams_history_col
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1848]
call fcn.10020bc0
push str.color
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x90
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x91
push eax
lea ecx, [edi + 0x18b8]
mov dword [ebp - 0x18], 0xffc8ffff
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x1880]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0x18d0], eax
mov dword [edi + 0x18d4], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push 0x100a9768
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x18d8]
call fcn.10072a60
push str.chams_history_blend
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x92
call fcn.10020bc0
push 0x100a763e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x93
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x94
push eax
lea ecx, [edi + 0x1910]
call fcn.1003b6b0
mov byte [edi + 0x1941], 0
lea eax, [ebp - 0x3c]
mov dword [edi + 0x1990], 0
lea ecx, [edi + 0x1978]
mov dword [edi + 0x18e8], 8
mov dword [edi + 0x18ec], 8
mov dword [edi + 0x194c], 0x41200000
mov dword [edi + 0x1950], 0x42c80000
mov dword [edi + 0x1948], 0x42c80000
mov dword [edi + 0x195c], 0
push eax
mov dword [edi + 0x1954], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x58]
call fcn.10020b70
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push 0x100a9b3c
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x1994]
call fcn.10072a60
push str.chams_enemy_history_max_time
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0x95
call fcn.10020bc0
push str.max_time
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x96
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x97
push eax
lea ecx, [edi + 0x19cc]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x19fd], 1
push eax
lea ecx, [edi + 0x1a1c]
call fcn.1003b6b0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x19fd], al
cmovne eax, ecx
lea ecx, [edi + 0x1a34]
mov dword [edi + 0x1a4c], eax
add eax, 8
mov dword [edi + 0x19a4], eax
mov dword [edi + 0x19a8], eax
lea eax, [ebp - 0x58]
mov dword [edi + 0x1a08], 0x3f800000
mov dword [edi + 0x1a0c], 0x41200000
mov dword [edi + 0x1a04], 0x40a00000
mov dword [edi + 0x1a18], 0
push eax
mov dword [edi + 0x1a10], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push 0x100aa2b8
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1a50]
call fcn.10020bc0
push str.chams_local
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x98
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x99
push eax
lea ecx, [edi + 0x1a88]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x1ab9], 1
push eax
lea ecx, [edi + 0x1ac0]
call fcn.1003b6b0
lea ecx, [ebp - 0x70]
mov byte [edi + 0x1abc], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0x14
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.10072640
push str.default
lea ecx, [ebp - 0x148]
call fcn.10020bc0
push str.flat
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0x9a
call fcn.10020bc0
push str.metallic
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x9b
call fcn.10020bc0
push str.pred_glass
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x9c
call fcn.10020bc0
push str.crystal
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x9d
call fcn.10020bc0
push str.velvet
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x9e
call fcn.10020bc0
push str.gold
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x9f
call fcn.10020bc0
mov dword [ebp - 4], 0xa0
lea ecx, [ebp - 0x148]
push ecx
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.10072680
push str.chams_local_mat
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa1
call fcn.10020bc0
push str.material
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa2
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa3
push eax
lea ecx, [edi + 0x3e0]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x411], 1
push eax
lea ecx, [edi + 0x418]
call fcn.1003b6b0
mov edx, dword [ebp - 0x48]
xor eax, eax
cmp byte [edi + 0x411], al
mov ecx, 0xf
mov dword [ebp - 0x20], edx
cmovne eax, ecx
lea ecx, [edi + 0x430]
mov dword [edi + 0x444], eax
add eax, 0x14
mov dword [edi + 0x3b8], eax
mov dword [edi + 0x3bc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
cmp eax, edx
je 0x1005471f
mov esi, eax
mov edi, ecx
push esi
mov ecx, edi
call fcn.10041fb0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10054706
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [edi + 0x18]
call fcn.10025090
test eax, eax
je 0x10054732
mov dword [edi + 0x440], 0
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
call fcn.10020b70
lea ecx, [ebp - 0x4c]
call fcn.100423a0
push fcn.10020b70
push 7
push 0x18
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1009b9cc
mov dword [edi + 0x3c0], 0
lea eax, [edi + 0x3a8]
mov dword [edi + 0x3ac], 0x14
mov ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x3b4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10072640
push str.chams_local_col
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1ad8]
call fcn.10020bc0
push str.color
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xa4
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa5
push eax
lea ecx, [edi + 0x1b48]
mov dword [ebp - 0x18], 0xffc8ffff
call fcn.1003b6b0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x1b10]
call fcn.1003b6b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
mov dword [edi + 0x1b60], eax
mov dword [edi + 0x1b64], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push 0x100a9768
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1b68]
call fcn.10072a60
push str.chams_local_blend
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xa6
call fcn.10020bc0
push 0x100a763e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa7
call fcn.10020bc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa8
push eax
lea ecx, [edi + 0x1ba0]
call fcn.1003b6b0
mov byte [edi + 0x1bd1], 0
lea eax, [ebp - 0x3c]
mov dword [edi + 0x1c20], 0
lea ecx, [edi + 0x1c08]
mov dword [edi + 0x1b78], 8
mov dword [edi + 0x1b7c], 8
mov dword [edi + 0x1bdc], 0x41200000
mov dword [edi + 0x1be0], 0x42c80000
mov dword [edi + 0x1bd8], 0x42c80000
mov dword [edi + 0x1bec], 0
push eax
mov dword [edi + 0x1be4], 0x3f800000
call fcn.10072a30
lea ecx, [ebp - 0x58]
call fcn.10020b70
lea ecx, [ebp - 0x70]
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.100421d0
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
push str.chams_local_scope
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0x1c24]
call fcn.10020bc0
push str.blend_when_scoped
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xa9
call fcn.10020bc0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xaa
push eax
lea ecx, [edi + 0x1c5c]
call fcn.1003b6b0
lea eax, [ebp - 0x70]
mov byte [edi + 0x1c8d], 1
push eax
lea ecx, [edi + 0x1c94]
call fcn.1003b6b0
lea ecx, [ebp - 0x70]
mov byte [edi + 0x1c90], 0
call fcn.10020b70
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.10020b70
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 - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.10072640
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.1009b980
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret