Function at 0x10046d10
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 0x1009226b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x420
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x6c], edi
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x348], 0
push str.players
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x344], 0
movups xmmword [ebp - 0x358], xmm0
call fcn.1001d4a0
lea eax, [ebp - 0x358]
mov dword [ebp - 4], 0
cmp edi, eax
je 0x10046db3
cmp dword [ebp - 0x344], 0xf
mov ecx, edi
push dword [ebp - 0x348]
cmova eax, dword [ebp - 0x358]
push eax
call fcn.100210d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x344]
cmp ecx, 0xf
jbe 0x10046df4
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046dea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push 0x1009a55c
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
call fcn.1001d4a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x370]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x360], 0
push str.boxes
movups xmmword [ebp - 0x370], xmm0
mov dword [ebp - 0x35c], 0
call fcn.1001d4a0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 6
lea eax, [ebp - 0xb8]
cmp ecx, eax
je 0x10046f06
cmp dword [ebp - 0xa4], 0xf
push dword [ebp - 0xa8]
cmova eax, dword [ebp - 0xb8]
push eax
call fcn.100210d0
lea ecx, [edi + 0xa0]
mov byte [edi + 0x99], 1
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x10046f37
cmp dword [ebp - 0x35c], 0xf
push dword [ebp - 0x360]
cmova eax, dword [ebp - 0x370]
push eax
call fcn.100210d0
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 0x10046fa3
lea ecx, [edi + 0xb8]
nop
mov eax, dword [edi + 0xbc]
push esi
cmp eax, dword [edi + 0xc0]
je 0x10046f8f
mov ecx, eax
call fcn.10020e20
add dword [edi + 0xbc], 0x18
jmp 0x10046f95
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0xb8]
cmp esi, dword [ebp - 0x18]
jne 0x10046f70
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x35c]
cmp ecx, 0xf
jbe 0x10046fdd
mov edx, dword [ebp - 0x370]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10046fd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004700d
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x1004701d
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047013
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047013
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
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 0x10047078
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047084
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 9
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
push str.box_enemy
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0xd0]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
push str.box_enemy_color
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
call fcn.1001d4a0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd0]
cmp ecx, eax
je 0x10047119
cmp dword [ebp - 0xbc], 0xf
push dword [ebp - 0xc0]
cmova eax, dword [ebp - 0xd0]
push eax
call fcn.100210d0
lea ecx, [edi + 0x110]
lea eax, [ebp - 0xe8]
cmp ecx, eax
je 0x10047143
cmp dword [ebp - 0xd4], 0xf
push dword [ebp - 0xd8]
cmova eax, dword [ebp - 0xe8]
push eax
call fcn.100210d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xbc]
mov dword [edi + 0x160], 0xff3cc896
mov dword [edi + 0x164], 0
cmp ecx, 0xf
jbe 0x10047195
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004718b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x100471d6
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100471cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
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 0x10047216
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047222
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x108], 0
push str.box_friendly
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x118], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x100]
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 0
push str.box_friendly_color
movups xmmword [ebp - 0x100], xmm0
mov dword [ebp - 0xec], 0
call fcn.1001d4a0
lea ecx, [edi + 0x1d8]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x100]
cmp ecx, eax
je 0x100472b7
cmp dword [ebp - 0xec], 0xf
push dword [ebp - 0xf0]
cmova eax, dword [ebp - 0x100]
push eax
call fcn.100210d0
lea ecx, [edi + 0x1a0]
lea eax, [ebp - 0x118]
cmp ecx, eax
je 0x100472e1
cmp dword [ebp - 0x104], 0xf
push dword [ebp - 0x108]
cmova eax, dword [ebp - 0x118]
push eax
call fcn.100210d0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xec]
mov dword [edi + 0x1f0], 0xff00c8ff
mov dword [edi + 0x1f4], 0
cmp ecx, 0xf
jbe 0x10047333
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047329
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10047374
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004736a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
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 0x100473b4
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100473c0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
push str.dormant
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x148], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x130]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
push str.dormant_enemies
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0
call fcn.1001d4a0
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x148]
cmp ecx, eax
je 0x10047455
cmp dword [ebp - 0x134], 0xf
push dword [ebp - 0x138]
cmova eax, dword [ebp - 0x148]
push eax
call fcn.100210d0
lea ecx, [edi + 0x268]
mov byte [edi + 0x261], 1
lea eax, [ebp - 0x130]
cmp ecx, eax
je 0x10047486
cmp dword [ebp - 0x11c], 0xf
push dword [ebp - 0x120]
cmova eax, dword [ebp - 0x130]
push eax
call fcn.100210d0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x11c]
mov byte [edi + 0x264], 0
cmp ecx, 0xf
jbe 0x100474cb
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100474c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x1004750c
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047502
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
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 0x1004754c
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047558
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
push str.offscreen
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x178], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x160]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0
push str.enemy_offscreen_esp
movups xmmword [ebp - 0x160], xmm0
mov dword [ebp - 0x14c], 0
call fcn.1001d4a0
lea ecx, [edi + 0x2b8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x178]
cmp ecx, eax
je 0x100475ed
cmp dword [ebp - 0x164], 0xf
push dword [ebp - 0x168]
cmova eax, dword [ebp - 0x178]
push eax
call fcn.100210d0
lea ecx, [edi + 0x2f0]
mov byte [edi + 0x2e9], 1
lea eax, [ebp - 0x160]
cmp ecx, eax
je 0x1004761e
cmp dword [ebp - 0x14c], 0xf
push dword [ebp - 0x150]
cmova eax, dword [ebp - 0x160]
push eax
call fcn.100210d0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14c]
mov byte [edi + 0x2ec], 0
cmp ecx, 0xf
jbe 0x10047663
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047659
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x100476a4
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004769a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
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 0x100476e4
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100476f0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
mov esi, dword [0x10098a94]
lea ecx, [ebp - 0x1a8]
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
push str.offscreen_color
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x194], 0
call fcn.1001d4a0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x190]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push str.offscreen_esp_color
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0
call fcn.1001d4a0
lea ecx, [edi + 0x378]
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x190]
cmp ecx, eax
je 0x1004778b
cmp dword [ebp - 0x17c], 0xf
push dword [ebp - 0x180]
cmova eax, dword [ebp - 0x190]
push eax
call fcn.100210d0
lea ecx, [edi + 0x340]
lea eax, [ebp - 0x1a8]
cmp ecx, eax
je 0x100477b5
cmp dword [ebp - 0x194], 0xf
push dword [ebp - 0x198]
cmova eax, dword [ebp - 0x1a8]
push eax
call fcn.100210d0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x17c]
mov dword [edi + 0x390], esi
mov dword [edi + 0x394], 0
cmp ecx, 0xf
jbe 0x10047803
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100477f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x10047844
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004783a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [edi + 0x320], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x30c], 0x14
lea ecx, [edi + 0x308]
mov dword [edi + 0x314], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x324], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], ecx
cmp eax, dword [esi + 8]
je 0x10047887
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047893
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x12
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1d8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
push str.name
movups xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1c4], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1c0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.name
movups xmmword [ebp - 0x1c0], xmm0
mov dword [ebp - 0x1ac], 0
call fcn.1001d4a0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x3d0]
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1d8]
cmp ecx, eax
je 0x100479a8
cmp dword [ebp - 0x1c4], 0xf
push dword [ebp - 0x1c8]
cmova eax, dword [ebp - 0x1d8]
push eax
call fcn.100210d0
lea ecx, [edi + 0x408]
mov byte [edi + 0x401], 1
lea eax, [ebp - 0x1c0]
cmp ecx, eax
je 0x100479d9
cmp dword [ebp - 0x1ac], 0xf
push dword [ebp - 0x1b0]
cmova eax, dword [ebp - 0x1c0]
push eax
call fcn.100210d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x401], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x43c], eax
add eax, 0x14
mov dword [edi + 0x3a8], eax
mov dword [edi + 0x3ac], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x10047a56
lea ecx, [edi + 0x420]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x424]
push esi
cmp eax, dword [edi + 0x428]
je 0x10047a3f
mov ecx, eax
call fcn.10020e20
add dword [edi + 0x424], 0x18
jmp 0x10047a45
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0x420]
cmp esi, dword [ebp - 0x20]
jne 0x10047a20
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x10047a90
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047a86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047ac0
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0xf
jbe 0x10047ad0
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047ac6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047ac6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0x3b0], 0
lea ecx, [edi + 0x398]
mov dword [edi + 0x39c], 0x14
mov dword [edi + 0x3a4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3b4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10047b34
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047b40
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
mov esi, dword [0x10098a94]
lea ecx, [ebp - 0x208]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1f8], 0
push str.name_color
movups xmmword [ebp - 0x208], xmm0
mov dword [ebp - 0x1f4], 0
call fcn.1001d4a0
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x1f0]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x1e0], 0
push 0x1009a618
movups xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1dc], 0
call fcn.1001d4a0
lea ecx, [edi + 0x4b0]
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x1f0]
cmp ecx, eax
je 0x10047bdb
cmp dword [ebp - 0x1dc], 0xf
push dword [ebp - 0x1e0]
cmova eax, dword [ebp - 0x1f0]
push eax
call fcn.100210d0
lea ecx, [edi + 0x478]
lea eax, [ebp - 0x208]
cmp ecx, eax
je 0x10047c05
cmp dword [ebp - 0x1f4], 0xf
push dword [ebp - 0x1f8]
cmova eax, dword [ebp - 0x208]
push eax
call fcn.100210d0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x1dc]
mov dword [edi + 0x4c8], esi
mov dword [edi + 0x4cc], 0
cmp ecx, 0xf
jbe 0x10047c53
mov edx, dword [ebp - 0x1f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047c49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1f4]
cmp ecx, 0xf
jbe 0x10047c94
mov edx, dword [ebp - 0x208]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047c8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [edi + 0x458], 0
lea esi, [edi + 0x18]
mov dword [edi + 0x444], 0x14
lea ecx, [edi + 0x440]
mov dword [edi + 0x44c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x45c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10047cd7
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047ce3
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x1a
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x238]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push str.health
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x220]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
push str.health
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x20c], 0
call fcn.1001d4a0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x508]
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x238]
cmp ecx, eax
je 0x10047df8
cmp dword [ebp - 0x224], 0xf
push dword [ebp - 0x228]
cmova eax, dword [ebp - 0x238]
push eax
call fcn.100210d0
lea ecx, [edi + 0x540]
mov byte [edi + 0x539], 1
lea eax, [ebp - 0x220]
cmp ecx, eax
je 0x10047e29
cmp dword [ebp - 0x20c], 0xf
push dword [ebp - 0x210]
cmova eax, dword [ebp - 0x220]
push eax
call fcn.100210d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x539], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x574], eax
add eax, 0x14
mov dword [edi + 0x4e0], eax
mov dword [edi + 0x4e4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10047ea6
lea ecx, [edi + 0x558]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x55c]
push esi
cmp eax, dword [edi + 0x560]
je 0x10047e8f
mov ecx, eax
call fcn.10020e20
add dword [edi + 0x55c], 0x18
jmp 0x10047e95
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0x558]
cmp esi, dword [ebp - 0x18]
jne 0x10047e70
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x20c]
cmp ecx, 0xf
jbe 0x10047ee0
mov edx, dword [ebp - 0x220]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047ed6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047f10
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x224]
cmp ecx, 0xf
jbe 0x10047f20
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047f16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047f16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0x4e8], 0
lea ecx, [edi + 0x4d0]
mov dword [edi + 0x4d4], 0x14
mov dword [edi + 0x4dc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x4ec], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10047f84
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10047f90
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push str.money
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x418]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x408], 0
push str.armor
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x404], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x400]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], 0
push str.scoped
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x3e8]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], 0
push str.flashed
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x3d0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.reloading
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x3b8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
push str.bomb
movups xmmword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x3a4], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], 0x24
push ecx
lea eax, [ebp - 0x3a0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x268]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
push str.flags_enemy
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
call fcn.1001d4a0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x26
movups xmmword [ebp - 0x250], xmm0
push 0xb
push 0x1009a664
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
call fcn.1001d4a0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x5b0]
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x268]
cmp ecx, eax
je 0x10048193
cmp dword [ebp - 0x254], 0xf
push dword [ebp - 0x258]
cmova eax, dword [ebp - 0x268]
push eax
call fcn.100210d0
lea ecx, [edi + 0x5e8]
mov byte [edi + 0x5e1], 1
lea eax, [ebp - 0x250]
cmp ecx, eax
je 0x100481c4
cmp dword [ebp - 0x23c], 0xf
push dword [ebp - 0x240]
cmova eax, dword [ebp - 0x250]
push eax
call fcn.100210d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x5e1], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x61c], eax
add eax, 0x14
mov dword [edi + 0x588], eax
mov dword [edi + 0x58c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10048246
lea ecx, [edi + 0x600]
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x604]
push esi
cmp eax, dword [edi + 0x608]
je 0x1004822f
mov ecx, eax
call fcn.10020e20
add dword [edi + 0x604], 0x18
jmp 0x10048235
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0x600]
cmp esi, dword [ebp - 0x18]
jne 0x10048210
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0xf
jbe 0x10048280
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048276
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100482b0
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x100482c0
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100482b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100482b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 6
push 0x18
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
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 0x10048327
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10048333
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x420], 0
push str.money
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x418]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x408], 0
push str.armor
movups xmmword [ebp - 0x418], xmm0
mov dword [ebp - 0x404], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x400]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x3f0], 0
push str.scoped
movups xmmword [ebp - 0x400], xmm0
mov dword [ebp - 0x3ec], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x3e8]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], 0
push str.flashed
movups xmmword [ebp - 0x3e8], xmm0
mov dword [ebp - 0x3d4], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x3d0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3c0], 0
push str.reloading
movups xmmword [ebp - 0x3d0], xmm0
mov dword [ebp - 0x3bc], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x3b8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
push str.bomb
movups xmmword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x3a4], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x430]
mov dword [ebp - 4], 0x2e
push ecx
lea eax, [ebp - 0x3a0]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x298]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x288], 0
push str.flags_friendly
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x284], 0
call fcn.1001d4a0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x30
movups xmmword [ebp - 0x280], xmm0
push 0xe
push 0x1009a67c
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
call fcn.1001d4a0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x658]
mov byte [ebp - 4], 0x32
lea eax, [ebp - 0x298]
cmp ecx, eax
je 0x10048536
cmp dword [ebp - 0x284], 0xf
push dword [ebp - 0x288]
cmova eax, dword [ebp - 0x298]
push eax
call fcn.100210d0
lea ecx, [edi + 0x690]
mov byte [edi + 0x689], 1
lea eax, [ebp - 0x280]
cmp ecx, eax
je 0x10048567
cmp dword [ebp - 0x26c], 0xf
push dword [ebp - 0x270]
cmova eax, dword [ebp - 0x280]
push eax
call fcn.100210d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x689], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x6c4], eax
add eax, 0x14
mov dword [edi + 0x630], eax
mov dword [edi + 0x634], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x100485e6
lea ecx, [edi + 0x6a8]
mov esi, eax
nop word [eax + eax]
mov eax, dword [edi + 0x6ac]
push esi
cmp eax, dword [edi + 0x6b0]
je 0x100485cf
mov ecx, eax
call fcn.10020e20
add dword [edi + 0x6ac], 0x18
jmp 0x100485d5
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0x6a8]
cmp esi, dword [ebp - 0x18]
jne 0x100485b0
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x26c]
cmp ecx, 0xf
jbe 0x10048620
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048616
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048650
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 0x2f
mov ecx, dword [ebp - 0x284]
cmp ecx, 0xf
jbe 0x10048660
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048656
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048656
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 6
push 0x18
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0x638], 0
lea ecx, [edi + 0x620]
mov dword [edi + 0x624], 0x14
mov dword [edi + 0x62c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x63c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x100486c7
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x100486d3
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.enemy
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x33
lea ecx, [ebp - 0x50]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.friendly
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x34
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x2c8]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2b8], 0
push str.weapon
movups xmmword [ebp - 0x2c8], xmm0
mov dword [ebp - 0x2b4], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x2b0]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
push str.weapon
movups xmmword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x29c], 0
call fcn.1001d4a0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [edi + 0x700]
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x2c8]
cmp ecx, eax
je 0x100487e8
cmp dword [ebp - 0x2b4], 0xf
push dword [ebp - 0x2b8]
cmova eax, dword [ebp - 0x2c8]
push eax
call fcn.100210d0
lea ecx, [edi + 0x738]
mov byte [edi + 0x731], 1
lea eax, [ebp - 0x2b0]
cmp ecx, eax
je 0x10048819
cmp dword [ebp - 0x29c], 0xf
push dword [ebp - 0x2a0]
cmova eax, dword [ebp - 0x2b0]
push eax
call fcn.100210d0
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x731], al
cmovne eax, ecx
mov ecx, dword [ebp - 0x90]
mov dword [edi + 0x76c], eax
add eax, 0x14
mov dword [edi + 0x6d8], eax
mov dword [edi + 0x6dc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x10048896
lea ecx, [edi + 0x750]
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x754]
push esi
cmp eax, dword [edi + 0x758]
je 0x1004887f
mov ecx, eax
call fcn.10020e20
add dword [edi + 0x754], 0x18
jmp 0x10048885
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0x750]
cmp esi, dword [ebp - 0x18]
jne 0x10048860
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x29c]
cmp ecx, 0xf
jbe 0x100488d0
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100488c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048900
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x2b4]
cmp ecx, 0xf
jbe 0x10048910
mov edx, dword [ebp - 0x2c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048906
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048906
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0x6e0], 0
lea ecx, [edi + 0x6c8]
mov dword [edi + 0x6cc], 0x14
mov dword [edi + 0x6d4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x6e4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 8]
je 0x10048974
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x10048980
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1001da10
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push str.text
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x39
lea ecx, [ebp - 0x50]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push str.icon
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1001d4a0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x3a
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x2e0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x2d0], 0
push str.weapon_mode
movups xmmword [ebp - 0x2e0], xmm0
mov dword [ebp - 0x2cc], 0
call fcn.1001d4a0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x88]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push 0x100985ce
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.1001d4a0
lea ecx, [edi + 0x7a8]
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0x2e0]
cmp ecx, eax
je 0x10048a7a
cmp dword [ebp - 0x2cc], 0xf
push dword [ebp - 0x2d0]
cmova eax, dword [ebp - 0x2e0]
push eax
call fcn.100210d0
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov byte [edi + 0x7d9], 0
mov dword [edi + 0x80c], 0
mov dword [edi + 0x780], 0x14
mov dword [edi + 0x784], 0x14
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x10048af3
lea ecx, [edi + 0x7f8]
nop dword [eax + eax]
mov eax, dword [edi + 0x7fc]
push esi
cmp eax, dword [edi + 0x800]
je 0x10048adf
mov ecx, eax
call fcn.10020e20
add dword [edi + 0x7fc], 0x18
jmp 0x10048ae5
push eax
call fcn.1003a920
add esi, 0x18
lea ecx, [edi + 0x7f8]
cmp esi, dword [ebp - 0x20]
jne 0x10048ac0
mov ecx, dword [edi + 0x7fc]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x7f8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10048b1c
mov dword [edi + 0x808], 0
mov byte [ebp - 4], 0x3c
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10048b53
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048b49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048b83
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x2cc]
cmp ecx, 0xf
jbe 0x10048b93
mov edx, dword [ebp - 0x2e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048b89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048b89
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0x788], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x774], 0x14
lea edx, [edi + 0x770]
mov dword [edi + 0x77c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x78c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], edx
cmp eax, dword [ecx + 8]
je 0x10048bfa
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x10048c04
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001da10
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x300], 0
push str.ammo
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x2fc], 0
lea esi, [edi + 0x810]
movups xmmword [ebp - 0x310], xmm0
call fcn.1001d4a0
mov dword [ebp - 4], 0x3e
lea ecx, [ebp - 0x2f8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x2e8], 0
push str.ammo
movups xmmword [ebp - 0x2f8], xmm0
mov dword [ebp - 0x2e4], 0
call fcn.1001d4a0
lea ecx, [edi + 0x848]
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x310]
cmp ecx, eax
je 0x10048c9f
cmp dword [ebp - 0x2fc], 0xf
push dword [ebp - 0x300]
cmova eax, dword [ebp - 0x310]
push eax
call fcn.100210d0
lea ecx, [edi + 0x880]
mov byte [edi + 0x879], 1
lea eax, [ebp - 0x2f8]
cmp ecx, eax
je 0x10048cd0
cmp dword [ebp - 0x2e4], 0xf
push dword [ebp - 0x2e8]
cmova eax, dword [ebp - 0x2f8]
push eax
call fcn.100210d0
mov byte [ebp - 4], 0x3e
mov ecx, dword [ebp - 0x2e4]
mov byte [edi + 0x87c], 0
cmp ecx, 0xf
jbe 0x10048d15
mov edx, dword [ebp - 0x2f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048d0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 0xf
jbe 0x10048d56
mov edx, dword [ebp - 0x310]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048d4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [edi + 0x828], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x814], 0x14
mov dword [edi + 0x81c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x82c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], esi
cmp eax, dword [ecx + 8]
je 0x10048d93
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x10048d9d
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001da10
mov esi, dword [0x10098ab4]
lea ecx, [ebp - 0x340]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0x330], 0
push str.ammo_color
movups xmmword [ebp - 0x340], xmm0
mov dword [ebp - 0x32c], 0
call fcn.1001d4a0
mov dword [ebp - 4], 0x40
lea ecx, [ebp - 0x328]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
push str.color
movups xmmword [ebp - 0x328], xmm0
mov dword [ebp - 0x314], 0
call fcn.1001d4a0
lea ecx, [edi + 0x908]
mov byte [ebp - 4], 0x41
lea eax, [ebp - 0x328]
cmp ecx, eax
je 0x10048e38
cmp dword [ebp - 0x314], 0xf
push dword [ebp - 0x318]
cmova eax, dword [ebp - 0x328]
push eax
call fcn.100210d0
lea ecx, [edi + 0x8d0]
lea eax, [ebp - 0x340]
cmp ecx, eax
je 0x10048e62
cmp dword [ebp - 0x32c], 0xf
push dword [ebp - 0x330]
cmova eax, dword [ebp - 0x340]
push eax
call fcn.100210d0
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x314]
mov dword [edi + 0x920], esi
mov dword [edi + 0x924], 0
cmp ecx, 0xf
jbe 0x10048eac
mov edx, dword [ebp - 0x328]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ea2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10048edf
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x32c]
cmp ecx, 0xf
jbe 0x10048eef
mov edx, dword [ebp - 0x340]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10048ee5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10048ee5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008cfe1
add esp, 8
mov dword [edi + 0x8b0], 0
lea ecx, [edi + 0x18]
mov dword [edi + 0x89c], 0x14
lea edx, [edi + 0x898]
mov dword [edi + 0x8a4], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x8b4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], edx
cmp eax, dword [ecx + 8]
je 0x10048f32
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x10048f3c
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001da10
lea ecx, [ebp - 0x88]
lea esi, [edi + 0x928]
call fcn.1001d9a0
push 0xa
push 0x1009a6d4
call fcn.1001d4a0
push str.lby_update
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0x42
call fcn.1001cdd0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x43
push eax
lea ecx, [edi + 0x960]
call fcn.10034410
lea eax, [ebp - 0xa0]
mov byte [edi + 0x991], 1
push eax
lea ecx, [edi + 0x998]
call fcn.10034410
lea ecx, [ebp - 0xa0]
mov byte [edi + 0x994], 0
call fcn.1001cd80
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
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 - 0x20]
push eax
mov dword [ebp - 0x20], esi
call fcn.1002d8b0
mov esi, dword [0x10098aac]
lea ecx, [ebp - 0xa0]
push str.lby_update_color
add edi, 0x9b0
call fcn.1001cdd0
push str.color
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0x44
call fcn.1001cdd0
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x88]
push eax
add ecx, 0xa20
mov byte [ebp - 4], 0x45
call fcn.10034410
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ecx + 0x9e8]
call fcn.10034410
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0xa38], esi
mov dword [eax + 0xa3c], 0
call fcn.1001cd80
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0x14
mov dword [edi + 0xc], 0xaf
mov eax, dword [eax + 0x2c]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
call fcn.1002d8b0
push str.enemy
lea ecx, [ebp - 0x3a0]
call fcn.1001cdd0
push str.friendly
lea ecx, [ebp - 0x388]
mov dword [ebp - 4], 0x46
call fcn.1001cdd0
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x47
push ecx
lea eax, [ebp - 0x370]
push eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.10066b80
push str.skeleton
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x48
call fcn.1001cdd0
push str.skeleton
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x49
call fcn.1001cdd0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x4b
lea ecx, [edi + 0xa78]
call fcn.10034410
lea eax, [ebp - 0x38]
mov byte [edi + 0xaa9], 1
push eax
lea ecx, [edi + 0xab0]
call fcn.10034410
mov esi, dword [ebp - 0x7c]
xor eax, eax
cmp byte [edi + 0xaa9], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xae4], eax
add eax, 0x14
mov dword [edi + 0xa50], eax
mov dword [edi + 0xa54], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x100491b5
lea eax, [edi + 0xac8]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
nop word [eax + eax]
push esi
mov ecx, eax
call fcn.10039eb0
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x100491a0
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x98]
call fcn.1001c350
lea ecx, [ebp - 0x38]
call fcn.1001cd80
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x7c]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x3a0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0xa58], 1
lea eax, [edi + 0xa40]
mov dword [edi + 0xa44], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xa4c], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xa5c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.skeleton_enemy
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xae8]
call fcn.1001cdd0
push str.enemy_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x4c
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x4d
push eax
lea ecx, [edi + 0xb58]
mov dword [ebp - 0x18], 0xffffffff
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xb20]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xb70], eax
mov dword [edi + 0xb74], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.skeleton_friendly
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xb78]
call fcn.1001cdd0
push str.friendly_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x4e
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x4f
push eax
lea ecx, [edi + 0xbe8]
mov dword [ebp - 0x18], 0xffffffff
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xbb0]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xc00], eax
mov dword [edi + 0xc04], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.enemy
lea ecx, [ebp - 0x3a0]
call fcn.1001cdd0
push str.friendly
lea ecx, [ebp - 0x388]
mov dword [ebp - 4], 0x50
call fcn.1001cdd0
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x51
push ecx
lea eax, [ebp - 0x370]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
push str.glow
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x52
call fcn.1001cdd0
push str.glow
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x53
call fcn.1001cdd0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x55
push eax
lea ecx, [edi + 0xc40]
call fcn.10034410
lea eax, [ebp - 0x50]
mov byte [edi + 0xc71], 1
push eax
lea ecx, [edi + 0xc78]
call fcn.10034410
mov esi, dword [ebp - 0x94]
xor eax, eax
cmp byte [edi + 0xc71], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xcac], eax
add eax, 0x14
mov dword [edi + 0xc18], eax
mov dword [edi + 0xc1c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x10049479
lea eax, [edi + 0xc90]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push esi
mov ecx, eax
call fcn.10039eb0
mov eax, dword [ebp - 0x20]
add esi, 0x18
cmp esi, edi
jne 0x10049464
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1001c350
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
call fcn.1001cd80
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x3a0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0xc20], 1
lea eax, [edi + 0xc08]
mov dword [edi + 0xc0c], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xc14], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xc24], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.glow_enemy
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xcb0]
call fcn.1001cdd0
push str.enemy_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x56
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x57
push eax
lea ecx, [edi + 0xd20]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xce8]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xd38], eax
mov dword [edi + 0xd3c], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.glow_friendly
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xd40]
call fcn.1001cdd0
push str.friendly_color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x58
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x59
push eax
lea ecx, [edi + 0xdb0]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xd78]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xdc8], eax
mov dword [edi + 0xdcc], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099ef4
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xdd0]
call fcn.10066fa0
push str.glow_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x5a
call fcn.1001cdd0
push 0x100985ce
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x5b
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x5c
push eax
lea ecx, [edi + 0xe08]
call fcn.10034410
mov byte [edi + 0xe39], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0xe88], 0
lea ecx, [edi + 0xe70]
mov dword [edi + 0xde0], 8
mov dword [edi + 0xde4], 8
mov dword [edi + 0xe44], 0x41200000
mov dword [edi + 0xe48], 0x42c80000
mov dword [edi + 0xe40], 0x42700000
mov dword [edi + 0xe54], 0
push eax
mov dword [edi + 0xe4c], 0x3f800000
call fcn.10066f30
lea ecx, [ebp - 0x88]
call fcn.1001cd80
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a1e0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.visible
lea ecx, [ebp - 0x3a0]
call fcn.1001cdd0
push str.invisible
lea ecx, [ebp - 0x388]
mov dword [ebp - 4], 0x5d
call fcn.1001cdd0
mov dword [ebp - 4], 0x5e
lea ecx, [ebp - 0x3a0]
push ecx
lea eax, [ebp - 0x370]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
push 0x1009a78c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x5f
call fcn.1001cdd0
push str.chams_enemy
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x60
call fcn.1001cdd0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x62
push eax
lea ecx, [edi + 0xec4]
call fcn.10034410
lea eax, [ebp - 0x50]
mov byte [edi + 0xef5], 1
push eax
lea ecx, [edi + 0xefc]
call fcn.10034410
mov esi, dword [ebp - 0x94]
xor eax, eax
cmp byte [edi + 0xef5], al
mov ecx, 0xf
cmovne eax, ecx
mov dword [edi + 0xf30], eax
add eax, 0x14
mov dword [edi + 0xe9c], eax
mov dword [edi + 0xea0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x1004983a
lea eax, [edi + 0xf14]
mov dword [ebp - 0x1c], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.10039eb0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10049827
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1001c350
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
call fcn.1001cd80
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x3a0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0xea4], 1
lea eax, [edi + 0xe8c]
mov dword [edi + 0xe90], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0xe98], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0xea8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.chams_enemy_vis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xf34]
call fcn.1001cdd0
push str.color_visible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x63
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x64
push eax
lea ecx, [edi + 0xfa4]
mov dword [ebp - 0x18], 0xff3cc896
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xf6c]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0xfbc], eax
mov dword [edi + 0xfc0], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_enemy_invis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0xfc4]
call fcn.1001cdd0
push str.color_invisible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x65
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x66
push eax
lea ecx, [edi + 0x1034]
mov dword [ebp - 0x18], 0xffe1b43c
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0xffc]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x104c], eax
mov dword [edi + 0x1050], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099ef4
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1054]
call fcn.10066fa0
push str.chams_enemy_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x67
call fcn.1001cdd0
push 0x100985ce
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x68
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x69
push eax
lea ecx, [edi + 0x108c]
call fcn.10034410
mov byte [edi + 0x10bd], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x110c], 0
lea ecx, [edi + 0x10f4]
mov dword [edi + 0x1064], 8
mov dword [edi + 0x1068], 8
mov dword [edi + 0x10c8], 0x41200000
mov dword [edi + 0x10cc], 0x42c80000
mov dword [edi + 0x10c4], 0x42c80000
mov dword [edi + 0x10d8], 0
push eax
mov dword [edi + 0x10d0], 0x3f800000
call fcn.10066f30
lea ecx, [ebp - 0x88]
call fcn.1001cd80
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a1e0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_history
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1110]
call fcn.1001cdd0
push 0x1009a808
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x6a
call fcn.1001cdd0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x6b
push eax
lea ecx, [edi + 0x1148]
call fcn.10034410
lea eax, [ebp - 0x50]
mov byte [edi + 0x1179], 1
push eax
lea ecx, [edi + 0x1180]
call fcn.10034410
lea ecx, [ebp - 0x50]
mov byte [edi + 0x117c], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_history_col
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1198]
call fcn.1001cdd0
push str.color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x6c
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x6d
push eax
lea ecx, [edi + 0x1208]
mov dword [ebp - 0x18], 0xffc8ffff
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x11d0]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x1220], eax
mov dword [edi + 0x1224], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099ef4
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1228]
call fcn.10066fa0
push str.chams_history_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x6e
call fcn.1001cdd0
push 0x100985ce
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x6f
call fcn.1001cdd0
mov byte [ebp - 4], 0x70
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x1260]
call fcn.10034410
mov byte [edi + 0x1291], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x12e0], 0
lea ecx, [edi + 0x12c8]
mov dword [edi + 0x1238], 8
mov dword [edi + 0x123c], 8
mov dword [edi + 0x129c], 0x41200000
mov dword [edi + 0x12a0], 0x42c80000
mov dword [edi + 0x1298], 0x42c80000
mov dword [edi + 0x12ac], 0
push eax
mov dword [edi + 0x12a4], 0x3f800000
call fcn.10066f30
lea ecx, [ebp - 0x88]
call fcn.1001cd80
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a1e0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.visible
lea ecx, [ebp - 0x3a0]
call fcn.1001cdd0
push str.invisible
lea ecx, [ebp - 0x388]
mov dword [ebp - 4], 0x71
call fcn.1001cdd0
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 0x72
push ecx
lea eax, [ebp - 0x370]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.10066b80
push str.chams_friendly
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x73
call fcn.1001cdd0
push 0x1009a850
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x74
call fcn.1001cdd0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x76
push eax
lea ecx, [edi + 0x131c]
call fcn.10034410
lea eax, [ebp - 0x50]
mov byte [edi + 0x134d], 1
push eax
lea ecx, [edi + 0x1354]
call fcn.10034410
xor eax, eax
mov ecx, 0xf
cmp byte [edi + 0x134d], al
cmovne eax, ecx
mov dword [edi + 0x1388], eax
add eax, 0x14
mov esi, dword [ebp - 0x94]
mov dword [edi + 0x12f4], eax
mov dword [edi + 0x12f8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x10049e37
lea eax, [edi + 0x136c]
mov dword [ebp - 0x1c], eax
mov edi, eax
push esi
mov ecx, edi
call fcn.10039eb0
add esi, 0x18
cmp esi, dword [ebp - 0x20]
jne 0x10049e24
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
call fcn.1001c350
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
call fcn.1001cd80
lea ecx, [ebp - 0x94]
call fcn.1003a2f0
push fcn.1001cd80
push 2
push 0x18
lea eax, [ebp - 0x3a0]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.1008cbb2
mov dword [edi + 0x12fc], 1
lea eax, [edi + 0x12e4]
mov dword [edi + 0x12e8], 0xff
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x12f0], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x1300], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002d8b0
push str.chams_friendly_vis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x138c]
call fcn.1001cdd0
push str.color_visible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x77
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x78
push eax
lea ecx, [edi + 0x13fc]
mov dword [ebp - 0x18], 0xff00c8ff
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x13c4]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x1414], eax
mov dword [edi + 0x1418], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_friendly_invis
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x141c]
call fcn.1001cdd0
push str.color_invisible
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x79
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x7a
push eax
lea ecx, [edi + 0x148c]
mov dword [ebp - 0x18], 0xff0032ff
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x1454]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x14a4], eax
mov dword [edi + 0x14a8], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099ef4
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x14ac]
call fcn.10066fa0
push str.chams_friendly_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x7b
call fcn.1001cdd0
push 0x100985ce
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x7c
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x7d
push eax
lea ecx, [edi + 0x14e4]
call fcn.10034410
mov byte [edi + 0x1515], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x1564], 0
lea ecx, [edi + 0x154c]
mov dword [edi + 0x14bc], 8
mov dword [edi + 0x14c0], 8
mov dword [edi + 0x1520], 0x41200000
mov dword [edi + 0x1524], 0x42c80000
mov dword [edi + 0x151c], 0x42c80000
mov dword [edi + 0x1530], 0
push eax
mov dword [edi + 0x1528], 0x3f800000
call fcn.10066f30
lea ecx, [ebp - 0x88]
call fcn.1001cd80
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a1e0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x1009a89c
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1568]
call fcn.1001cdd0
push str.chams_local
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x7e
call fcn.1001cdd0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x7f
push eax
lea ecx, [edi + 0x15a0]
call fcn.10034410
lea eax, [ebp - 0x50]
mov byte [edi + 0x15d1], 1
push eax
lea ecx, [edi + 0x15d8]
call fcn.10034410
lea ecx, [ebp - 0x50]
mov byte [edi + 0x15d4], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_local_col
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x15f0]
call fcn.1001cdd0
push str.color
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x80
call fcn.1001cdd0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x81
push eax
lea ecx, [edi + 0x1660]
mov dword [ebp - 0x18], 0xffc8ffff
call fcn.10034410
lea eax, [ebp - 0x38]
push eax
lea ecx, [edi + 0x1628]
call fcn.10034410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov dword [edi + 0x1678], eax
mov dword [edi + 0x167c], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push 0x10099ef4
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x1680]
call fcn.10066fa0
push str.chams_local_blend
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x82
call fcn.1001cdd0
push 0x100985ce
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x83
call fcn.1001cdd0
mov byte [ebp - 4], 0x84
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x16b8]
call fcn.10034410
mov byte [edi + 0x16e9], 0
lea eax, [ebp - 0x38]
mov dword [edi + 0x1738], 0
lea ecx, [edi + 0x1720]
mov dword [edi + 0x1690], 8
mov dword [edi + 0x1694], 8
mov dword [edi + 0x16f4], 0x41200000
mov dword [edi + 0x16f8], 0x42c80000
mov dword [edi + 0x16f0], 0x42c80000
mov dword [edi + 0x1704], 0
push eax
mov dword [edi + 0x16fc], 0x3f800000
call fcn.10066f30
lea ecx, [ebp - 0x88]
call fcn.1001cd80
lea ecx, [ebp - 0x50]
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1003a1e0
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
push str.chams_local_scope
lea ecx, [ebp - 0x38]
lea esi, [edi + 0x173c]
call fcn.1001cdd0
push str.blend_when_scoped
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x85
call fcn.1001cdd0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x86
push eax
lea ecx, [edi + 0x1774]
call fcn.10034410
lea eax, [ebp - 0x50]
mov byte [edi + 0x17a5], 1
push eax
lea ecx, [edi + 0x17ac]
call fcn.10034410
lea ecx, [ebp - 0x50]
mov byte [edi + 0x17a8], 0
call fcn.1001cd80
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001cd80
mov dword [esi + 0x18], 1
lea ecx, [edi + 0x18]
mov dword [esi + 4], 0xff
mov dword [esi + 0xc], 0xaf
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1002d8b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008cb66
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret