Function at 0x100db360
Capabilities:
Get number of processors

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 0x101b23e1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x10249010]
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 - 0x278], edi
mov esi, dword [ebx + 8]
mov ecx, esi
push 0
push str.attacker
mov dword [ebp - 0x284], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1039eb00]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [esi]
push 0
push str.userid
mov dword [ebp - 0x270], eax
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
mov ecx, dword [0x1039eb00]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x1039eb00]
mov dword [ebp - 0x288], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov esi, eax
mov eax, dword [ebp - 0x284]
push 0
push str.hitgroup
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x270], esi
jne 0x100dd55c
cmp dword [ebp - 0x288], esi
je 0x100ddb02
cmp dword [edi + 0x38], 0
je 0x100dbdb1
mov eax, dword [edi + 0x34]
mov esi, dword [edi + 0x38]
mov edx, dword [edi + 0x28]
add esi, eax
mov dword [ebp - 0x270], eax
lea edi, [esi - 1]
nop dword [eax + eax]
cmp esi, eax
je 0x100dbdb1
test edx, edx
je 0x100db470
mov eax, dword [edx]
jmp 0x100db472
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x8551], 0
je 0x100db4a6
test edx, edx
je 0x100db48f
mov eax, dword [edx]
jmp 0x100db491
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x8552], 0
je 0x100db4b0
mov eax, dword [ebp - 0x270]
dec esi
dec edi
jmp 0x100db460
dec esi
test edx, edx
je 0x100db4b9
mov eax, dword [edx]
jmp 0x100db4bb
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x27c], esi
test esi, esi
je 0x100dbdb1
mov edi, dword [ebp - 0x284]
mov ecx, edi
push 0
push str.userid
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1039eb00]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov dword [ebp - 0x270], eax
cmp eax, dword [esi + 0x34]
je 0x100db613
mov edi, dword [ebp - 0x278]
mov eax, dword [edi + 0x34]
mov esi, dword [edi + 0x38]
mov edi, dword [edi + 0x28]
add esi, eax
mov dword [ebp - 0x278], eax
nop
cmp esi, eax
je 0x100db5f8
test edi, edi
je 0x100db530
mov edx, dword [edi]
jmp 0x100db532
xor edx, edx
mov ecx, dword [edx + 8]
lea eax, [esi - 1]
dec ecx
dec esi
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x270]
cmp ecx, dword [eax + 0x34]
je 0x100db555
mov eax, dword [ebp - 0x278]
jmp 0x100db520
mov edx, dword [ebp - 0x27c]
test edi, edi
je 0x100db563
mov eax, dword [edi]
jmp 0x100db565
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
mov cl, byte [edx + 0x8551]
mov byte [eax + 0x8551], cl
test edi, edi
je 0x100db585
mov eax, dword [edi]
jmp 0x100db587
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
mov cl, byte [edx + 0x8552]
mov byte [eax + 0x8552], cl
test edi, edi
je 0x100db5a7
mov eax, dword [edi]
jmp 0x100db5a9
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
push edx
mov ecx, dword [eax + ecx*4]
call fcn.100deee0
mov eax, dword [ebp - 0x27c]
mov byte [eax + 0x8551], 0
test edi, edi
je 0x100db5e2
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x27c], esi
jmp 0x100db5fe
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x27c], esi
jmp 0x100db5fe
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x270]
mov edi, dword [ebp - 0x284]
cmp eax, dword [esi + 0x34]
jne 0x100dbda7
mov dword [esi + 0x8554], eax
mov ecx, edi
mov eax, dword [edi]
push 0
push str.dmg_health
mov eax, dword [eax + 0x18]
call eax
mov dword [esi + 0x8558], eax
mov ecx, edi
mov eax, dword [edi]
push 0
push str.health
mov eax, dword [eax + 0x18]
call eax
mov dword [esi + 0x855c], eax
mov ecx, edi
mov eax, dword [edi]
push 0
push str.hitgroup
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1039eafc]
mov edi, dword [esi + 0x30]
push dword [ebp - 0x288]
mov dword [esi + 0x8560], eax
mov eax, dword [ecx]
mov dword [ebp - 0x270], edi
mov eax, dword [eax + 0xc]
call eax
cmp dword [ebp - 0x28c], 0
je 0x100dbdb1
test eax, eax
je 0x100dbdb1
lea ecx, [eax + 8]
xor edx, edx
test ecx, ecx
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
xor edx, edx
lea eax, [edi + 8]
test eax, eax
mov dword [ebp - 0x34], eax
mov ecx, eax
cmove ecx, edx
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x28]
mov ecx, eax
call edx
cmp eax, esi
jne 0x100dbdb1
mov esi, dword [ebp - 0x27c]
mov eax, dword [esi + 0x8540]
cmp eax, 0x12
ja case.default.0x100db6d9
movzx eax, byte [eax + 0x100ddb44]
jmp dword [eax*4 + 0x100ddb24]
mov ecx, 1
jmp 0x100db734
mov ecx, 8
jmp 0x100db734
mov ecx, 3
jmp 0x100db734
mov ecx, 2
jmp 0x100db734
mov ecx, 6
jmp 0x100db734
mov ecx, 7
jmp 0x100db734
mov eax, dword [0x1039ea98]
mov ecx, 2
test byte [eax + 0x1c], 1
mov eax, 5
cmovne ecx, eax
jmp 0x100db734
mov eax, dword [0x1039ea98]
mov eax, dword [eax + 0x1c]
and eax, 1
lea ecx, [eax*2 + 2]
mov dword [ebp - 0x290], ecx
cmp ecx, dword [ebp - 0x28c]
je 0x100dbdb1
jmp 0x100db752
mov dword [ebp - 0x290], 0
mov eax, dword [0x1039f500]
cmp dword [eax + 0x14], 0
je 0x100dbdb1
mov eax, dword [0x1039f52c]
lea ecx, [edi + 8]
mov dword [ebp - 0x280], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [ebp - 0x280]
movss xmm0, dword [edi + 0x138]
movss xmm1, dword [edi + 0x13c]
movss xmm2, dword [edi + 0x140]
mov ecx, dword fs:[0x2c]
imul eax, eax, 0x183c
mov dword [ebp - 0x278], eax
movss dword [edx + eax + 0x1a00], xmm0
movss dword [edx + eax + 0x1a04], xmm1
movss dword [edx + eax + 0x1a08], xmm2
mov eax, dword [0x1039ea44]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1039eb78]
cmp eax, dword [ecx + 4]
jle 0x100db829
push 0x1039eb78
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eb78], 0xffffffff
jne 0x100db823
push ecx
push 0x2fb428ac
mov dword [ebp - 4], 0
mov ecx, dword [0x1039f394]
push 0x22558ba9
call fcn.100bc2f0
push 0x1039eb78
mov dword [0x1039eb6c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x280]
mov ecx, dword [0x1039eb6c]
mov esi, dword [ebp - 0x278]
mov eax, dword [ecx + edi]
mov dword [edx + esi + 0x1a24], eax
mov eax, dword [ecx + edi + 4]
mov dword [edx + esi + 0x1a28], eax
mov eax, dword [ecx + edi + 8]
mov ecx, esi
mov edi, dword fs:[0x2c]
mov esi, dword [0x1039ea44]
mov dword [edx + ecx + 0x1a2c], eax
mov eax, dword [0x1039ef10]
mov ecx, dword [edi + esi*4]
mov edi, dword [ebp - 0x270]
cmp eax, dword [ecx + 4]
jle 0x100db8cc
push 0x1039ef10
call fcn.10151b0d
add esp, 4
cmp dword [0x1039ef10], 0xffffffff
jne 0x100db8c6
push ecx
push 0x5843edce
mov dword [ebp - 4], 1
mov ecx, dword [0x1039f394]
push 0xaf3beedc
call fcn.100bc2f0
push 0x1039ef10
mov dword [0x1039ef24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x280]
mov ecx, dword [0x1039ef24]
mov esi, dword [ebp - 0x278]
mov eax, dword [ecx + edi]
mov dword [edx + esi + 0x1a0c], eax
mov eax, dword [ecx + edi + 4]
mov dword [edx + esi + 0x1a10], eax
mov eax, dword [ecx + edi + 8]
mov ecx, esi
mov edi, dword fs:[0x2c]
mov esi, dword [0x1039ea44]
mov dword [edx + ecx + 0x1a14], eax
mov eax, dword [0x1039eb70]
mov ecx, dword [edi + esi*4]
mov edi, dword [ebp - 0x270]
cmp eax, dword [ecx + 4]
jle 0x100db96f
push 0x1039eb70
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eb70], 0xffffffff
jne 0x100db969
push ecx
push 0xfb2b8c0
mov dword [ebp - 4], 2
mov ecx, dword [0x1039f394]
push 0xaf3beedc
call fcn.100bc2f0
push 0x1039eb70
mov dword [0x1039eb74], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x280]
mov ecx, dword [0x1039eb74]
mov esi, dword [ebp - 0x278]
mov eax, dword [ecx + edi]
mov dword [edx + esi + 0x1a18], eax
mov eax, dword [ecx + edi + 4]
mov dword [edx + esi + 0x1a1c], eax
mov eax, dword [ecx + edi + 8]
mov ecx, esi
mov esi, dword [ebp - 0x27c]
mov dword [edx + ecx + 0x1a20], eax
mov eax, dword [edi + 0x104]
mov dword [edx + ecx + 0x3230], eax
mov eax, dword [edi + 0x9920]
mov dword [edx + ecx + 0x3234], eax
mov eax, dword [edi + 0x9924]
mov dword [edx + ecx + 0x3238], eax
add ecx, 0x1a30
mov eax, dword [edi + 0x2920]
add ecx, edx
mov edx, dword [edi + 0x2914]
lea eax, [eax + eax*2]
shl eax, 4
shr eax, 4
test eax, eax
je 0x100dba01
sub edx, ecx
nop dword [eax]
lea ecx, [ecx + 0x10]
movups xmm0, xmmword [edx + ecx - 0x10]
movups xmmword [ecx - 0x10], xmm0
sub eax, 1
jne 0x100db9f0
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.100decd0
cmp byte [ebp - 0x18], 0
je 0x100dbac3
push dword [esi + 0x84a4]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.100a2d30
mov eax, dword [0x1039f594]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x278], eax
mov eax, dword [0x1039f500]
mov esi, dword [eax + 0x14]
call fcn.10048510
mov ecx, dword [ebp - 0x278]
push 0
push 0
push edi
push esi
push eax
mov eax, dword [ebp - 0x27c]
add eax, 0x18
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.10043630
cmp byte [ebp - 0xec], 0
je 0x100dba94
mov eax, dword [ebp - 0x290]
cmp dword [ebp - 0x184], eax
jne 0x100dba94
push str._2Damage_mismatch_due_to__4animation_desync_n
lea ecx, [ebp - 0xa8]
call fcn.10018070
mov dword [ebp - 4], 3
jmp 0x100dbaab
push str._2Damage_mismatch_due_to__3spread_n
lea ecx, [ebp - 0xa8]
call fcn.10018070
mov dword [ebp - 4], 4
push eax
call fcn.1004f4e0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.10018020
mov ecx, dword [ebp - 0x34]
mov esi, dword [0x1039f52c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edi, dword fs:[0x2c]
mov edx, dword [0x1039ea44]
imul eax, eax, 0x183c
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x270]
mov dword [ebp - 0x280], eax
movss xmm0, dword [esi + eax + 0x1a00]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [esi + eax + 0x1a04]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [esi + eax + 0x1a08]
mov eax, dword [0x1039edbc]
movss dword [ebp - 0x38], xmm0
cmp eax, dword [ecx + 4]
jle 0x100dbb59
push 0x1039edbc
call fcn.10151b0d
add esp, 4
cmp dword [0x1039edbc], 0xffffffff
jne 0x100dbb59
mov eax, dword [0x1039f448]
push 0x1039edbc
mov dword [0x1039edc0], eax
call fcn.10151ac3
add esp, 4
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call dword [0x1039edc0]
mov edi, dword fs:[0x2c]
mov edx, dword [0x1039ea44]
mov eax, dword [0x1039eb78]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x270]
cmp eax, dword [ecx + 4]
jle 0x100dbbd4
push 0x1039eb78
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eb78], 0xffffffff
jne 0x100dbbd4
push ecx
push 0x2fb428ac
mov dword [ebp - 4], 5
mov ecx, dword [0x1039f394]
push 0x22558ba9
call fcn.100bc2f0
push 0x1039eb78
mov dword [0x1039eb6c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x280]
mov ecx, dword [0x1039eb6c]
mov eax, dword [esi + edx + 0x1a24]
mov dword [ecx + edi], eax
mov eax, dword [esi + edx + 0x1a28]
mov dword [ecx + edi + 4], eax
mov eax, dword [esi + edx + 0x1a2c]
mov dword [ecx + edi + 8], eax
mov eax, dword [esi + edx + 0x3230]
mov edx, dword fs:[0x2c]
mov dword [edi + 0x104], eax
mov edi, dword [0x1039ea44]
mov eax, dword [0x1039ef10]
mov ecx, dword [edx + edi*4]
mov edi, dword [ebp - 0x270]
mov edx, dword [ebp - 0x280]
cmp eax, dword [ecx + 4]
jle 0x100dbc88
push 0x1039ef10
call fcn.10151b0d
add esp, 4
cmp dword [0x1039ef10], 0xffffffff
jne 0x100dbc82
push ecx
push 0x5843edce
mov dword [ebp - 4], 6
mov ecx, dword [0x1039f394]
push 0xaf3beedc
call fcn.100bc2f0
push 0x1039ef10
mov dword [0x1039ef24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x280]
mov ecx, dword [0x1039ef24]
mov eax, dword [esi + edx + 0x1a0c]
mov dword [ecx + edi], eax
mov eax, dword [esi + edx + 0x1a10]
mov dword [ecx + edi + 4], eax
mov eax, dword [esi + edx + 0x1a14]
mov edx, dword fs:[0x2c]
mov dword [ecx + edi + 8], eax
mov edi, dword [0x1039ea44]
mov eax, dword [0x1039eb70]
mov ecx, dword [edx + edi*4]
mov edi, dword [ebp - 0x270]
mov edx, dword [ebp - 0x280]
cmp eax, dword [ecx + 4]
jle 0x100dbd29
push 0x1039eb70
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eb70], 0xffffffff
jne 0x100dbd23
push ecx
push 0xfb2b8c0
mov dword [ebp - 4], 7
mov ecx, dword [0x1039f394]
push 0xaf3beedc
call fcn.100bc2f0
push 0x1039eb70
mov dword [0x1039eb74], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x280]
mov ecx, dword [0x1039eb74]
mov eax, dword [esi + edx + 0x1a18]
mov dword [ecx + edi], eax
mov eax, dword [esi + edx + 0x1a1c]
mov dword [ecx + edi + 4], eax
mov eax, dword [esi + edx + 0x1a20]
mov dword [ecx + edi + 8], eax
movss xmm0, dword [esi + edx + 0x3234]
movss dword [edi + 0x9920], xmm0
movss xmm0, dword [esi + edx + 0x3238]
add edx, 0x1a30
movss dword [edi + 0x9924], xmm0
add edx, esi
mov eax, dword [edi + 0x2920]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2914]
shl ecx, 4
shr ecx, 4
test ecx, ecx
je 0x100dbdb1
sub edx, eax
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x100dbd94
jmp 0x100dbdb1
mov dword [esi + 0x8554], 0xffffffff
mov eax, dword [0x1039f244]
cmp byte [eax + 0x187b], 0
je case.default.0x100dbe34
mov dword [ebp - 0x270], 0x3f800000
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x280]
movd xmm0, dword [eax + 0x1880]
lea eax, [ebp - 0x270]
cvtdq2ps xmm0, xmm0
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
mulss xmm0, dword [0x10232cbc]
push eax
movss dword [ebp - 0x280], xmm0
call fcn.10018920
add esp, 8
movss xmm0, dword [eax]
mov eax, dword [0x1039f244]
movss dword [ebp - 0x27c], xmm0
mov eax, dword [eax + 0x187c]
cmp eax, 6
ja case.default.0x100dbe34
jmp dword [eax*4 + 0x100ddb58]
mov eax, dword [0x1039f084]
mov ecx, eax
and ecx, 3
inc eax
mov dword [0x1039f084], eax
jmp dword [ecx*4 + 0x100ddb74]
mov esi, dword [0x1039f22c]
mov dword [ebp - 0x270], 0x102c5598
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 4]
jne case.default.0x100dbe34
mov eax, dword [0x1039ea44]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x103a2664]
cmp eax, dword [ecx + 4]
jle 0x100dc54e
push 0x103a2664
call fcn.10151b0d
add esp, 4
cmp dword [0x103a2664], 0xffffffff
jne 0x100dc54e
mov ecx, 0x103a2668
mov dword [ebp - 4], 0xc
call fcn.100e8c50
push 0x101c2480
call fcn.1015198f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x103a2664
call fcn.10151ac3
add esp, 4
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8de0
test eax, eax
jne 0x100dc587
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
lea ecx, [ebp - 0x271]
push ecx
push 0x11ffe
mov ecx, eax
call fcn.100e8fe0
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
mov esi, eax
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [ebp - 0x27c]
mov edi, dword [esi]
mov dword [ebp - 0x278], edi
lahf
test ah, 0x44
jnp 0x100dc65b
push 0x11ffe
push dword [ebp - 0x270]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x27c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0xc], xmm1
xor ecx, ecx
nop
cmp byte [eax - 2], 0x64
jne 0x100dc5f7
cmp byte [eax - 1], 0x61
jne 0x100dc5f7
cmp byte [eax], 0x74
jne 0x100dc5f7
cmp byte [eax + 1], 0x61
je 0x100dc611
inc ecx
inc eax
cmp ecx, 0x8fff
jl 0x100dc5e0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
test ecx, ecx
je 0x100dc65b
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x100dc65b
lea eax, [edi + 0x11ffd]
mov dword [ebp - 0x34], eax
mov edi, eax
movzx eax, word [ecx]
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x100dc655
inc edx
cmp edx, esi
jb 0x100dc633
mov edi, dword [ebp - 0x278]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
mov esi, dword [0x1039f22c]
mov dword [ebp - 0x270], str.RIFFFG
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 4]
jne case.default.0x100dbe34
mov eax, dword [0x1039ea44]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x103a2664]
cmp eax, dword [ecx + 4]
jle 0x100dc6ee
push 0x103a2664
call fcn.10151b0d
add esp, 4
cmp dword [0x103a2664], 0xffffffff
jne 0x100dc6ee
mov ecx, 0x103a2668
mov dword [ebp - 4], 0xd
call fcn.100e8c50
push 0x101c2480
call fcn.1015198f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x103a2664
call fcn.10151ac3
add esp, 4
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8de0
test eax, eax
jne 0x100dc727
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
lea ecx, [ebp - 0x271]
push ecx
push 0x474e
mov ecx, eax
call fcn.100e8fe0
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
mov esi, eax
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [ebp - 0x27c]
mov edi, dword [esi]
mov dword [ebp - 0x278], edi
lahf
test ah, 0x44
jnp 0x100dc7fb
push 0x474e
push dword [ebp - 0x270]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x27c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0xc], xmm1
xor ecx, ecx
nop
cmp byte [eax - 2], 0x64
jne 0x100dc797
cmp byte [eax - 1], 0x61
jne 0x100dc797
cmp byte [eax], 0x74
jne 0x100dc797
cmp byte [eax + 1], 0x61
je 0x100dc7b1
inc ecx
inc eax
cmp ecx, 0x23a7
jl 0x100dc780
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
test ecx, ecx
je 0x100dc7fb
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x100dc7fb
lea eax, [edi + 0x474d]
mov dword [ebp - 0x34], eax
mov edi, eax
movzx eax, word [ecx]
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x100dc7f5
inc edx
cmp edx, esi
jb 0x100dc7d3
mov edi, dword [ebp - 0x278]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
mov esi, dword [0x1039f22c]
mov dword [ebp - 0x270], str.RIFF_R
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 4]
jne case.default.0x100dbe34
mov eax, dword [0x1039ea44]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x103a2664]
cmp eax, dword [ecx + 4]
jle 0x100dc88e
push 0x103a2664
call fcn.10151b0d
add esp, 4
cmp dword [0x103a2664], 0xffffffff
jne 0x100dc88e
mov ecx, 0x103a2668
mov dword [ebp - 4], 0xe
call fcn.100e8c50
push 0x101c2480
call fcn.1015198f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x103a2664
call fcn.10151ac3
add esp, 4
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8de0
test eax, eax
jne 0x100dc8c7
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
lea ecx, [ebp - 0x271]
push ecx
push 0x25268
mov ecx, eax
call fcn.100e8fe0
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
mov esi, eax
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [ebp - 0x27c]
mov edi, dword [esi]
mov dword [ebp - 0x278], edi
lahf
test ah, 0x44
jnp 0x100dc99b
push 0x25268
push dword [ebp - 0x270]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x27c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0xc], xmm1
xor ecx, ecx
nop
cmp byte [eax - 2], 0x64
jne 0x100dc937
cmp byte [eax - 1], 0x61
jne 0x100dc937
cmp byte [eax], 0x74
jne 0x100dc937
cmp byte [eax + 1], 0x61
je 0x100dc951
inc ecx
inc eax
cmp ecx, 0x12934
jl 0x100dc920
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
test ecx, ecx
je 0x100dc99b
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x100dc99b
lea eax, [edi + 0x25267]
mov dword [ebp - 0x34], eax
mov edi, eax
movzx eax, word [ecx]
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x100dc995
inc edx
cmp edx, esi
jb 0x100dc973
mov edi, dword [ebp - 0x278]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
mov esi, dword [0x1039f22c]
mov dword [ebp - 0x270], 0x1033aff0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 4]
jne case.default.0x100dbe34
mov eax, dword [0x1039ea44]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x103a2664]
cmp eax, dword [ecx + 4]
jle 0x100dca2e
push 0x103a2664
call fcn.10151b0d
add esp, 4
cmp dword [0x103a2664], 0xffffffff
jne 0x100dca2e
mov ecx, 0x103a2668
mov dword [ebp - 4], 0xf
call fcn.100e8c50
push 0x101c2480
call fcn.1015198f
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x103a2664
call fcn.10151ac3
add esp, 4
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8de0
test eax, eax
jne 0x100dca67
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
lea ecx, [ebp - 0x271]
push ecx
push 0x2051a
mov ecx, eax
call fcn.100e8fe0
lea eax, [ebp - 0x270]
mov ecx, 0x103a2668
push eax
call fcn.100e8c30
mov esi, eax
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [ebp - 0x27c]
mov edi, dword [esi]
mov dword [ebp - 0x278], edi
lahf
test ah, 0x44
jnp 0x100dcb3b
push 0x2051a
push dword [ebp - 0x270]
push edi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [ebp - 0x27c]
lea eax, [edi + 2]
add esp, 0xc
movss dword [esi + 0xc], xmm1
xor ecx, ecx
nop
cmp byte [eax - 2], 0x64
jne 0x100dcad7
cmp byte [eax - 1], 0x61
jne 0x100dcad7
cmp byte [eax], 0x74
jne 0x100dcad7
cmp byte [eax + 1], 0x61
je 0x100dcaf1
inc ecx
inc eax
cmp ecx, 0x1028d
jl 0x100dcac0
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
test ecx, ecx
je 0x100dcb3b
mov esi, dword [ecx + edi + 4]
lea ecx, [ecx + 8]
shr esi, 1
lea ecx, [ecx + edi]
mov edx, 0
je 0x100dcb3b
lea eax, [edi + 0x20519]
mov dword [ebp - 0x34], eax
mov edi, eax
movzx eax, word [ecx]
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov word [ecx], ax
add ecx, 2
cmp ecx, edi
jae 0x100dcb35
inc edx
cmp edx, esi
jb 0x100dcb13
mov edi, dword [ebp - 0x278]
push 5
push 0
push edi
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x100dbe34
mov ecx, dword [0x1039eb00]
mov dword [ebp - 0x34], ecx
push 0
mov dword [ebp - 4], 0x10
push str.play_buttons_arena_switch_press_02.wav
jmp 0x100dcb78
mov ecx, dword [0x1039eb00]
mov dword [ebp - 0x34], ecx
push 0
mov dword [ebp - 4], 0x11
push str.play_resource_warning.wav
xor edx, edx
mov eax, ecx
test ecx, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x1c8]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1039f244]
mov eax, dword [eax + 0x1884]
shr eax, 2
test al, 1
je 0x100ddb02
mov esi, dword [ebp - 0x284]
mov ecx, esi
push 0
push str.health
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [esi]
mov ecx, esi
push 0
push str.dmg_health
mov dword [ebp - 0x34], eax
mov edx, dword [edx + 0x18]
call edx
push 0x158
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x1039eb00]
lea edx, [ebp - 0x240]
add esp, 0xc
mov eax, dword [ecx]
push edx
push dword [ebp - 0x288]
mov eax, dword [eax + 0x20]
call eax
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x29c], 0
movups xmmword [ebp - 0x2b0], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dcc30
sub ecx, edx
lea eax, [ebp - 0x230]
push ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.100185d0
cmp dword [ebp - 0x29c], 0x10
lea ecx, [ebp - 0x2b0]
mov eax, dword [ebp - 0x2b0]
lea edi, [ebp - 0x2b0]
lea esi, [ebp - 0x2b0]
cmovae ecx, eax
cmovae edi, eax
cmovae esi, eax
add ecx, dword [ebp - 0x2a0]
cmp esi, ecx
je 0x100dcc98
sub edi, esi
mov al, byte [esi]
cmp al, 0xa
je 0x100dcc8e
cmp al, 0xd
je 0x100dcc8e
cmp al, 9
jne 0x100dcc90
mov al, 0x20
mov byte [esi + edi], al
inc esi
cmp esi, ecx
jne 0x100dcc80
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x284], eax
mov dword [ebp - 4], 0x12
xorps xmm0, xmm0
push 0x40
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
call fcn.1015165a
movups xmm0, xmmword [str._2Hit__3__2for__3hp__2in__3__2_hp_left__n]
mov dword [ebp - 0x60], eax
add esp, 4
mov dword [ebp - 0x50], 0x30
mov dword [ebp - 0x4c], 0x3f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x10211d1c]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x10211d2c]
movups xmmword [eax + 0x20], xmm0
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 0x28c]
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x4c], 0x10
mov edi, dword [ebp - 0x50]
cmovae esi, dword [ebp - 0x60]
cmp eax, 0xa
ja case.0x100dcd29.9
jmp dword [eax*4 + 0x100ddb84]
mov eax, dword [str.generic]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov ax, word [0x10211ccc]
mov word [ebp - 0x28], ax
mov al, byte [0x10211cce]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
jmp 0x100dcfc3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x64616568
mov byte [ebp - 0x28], 0
jmp 0x100dcfc3
mov eax, dword [str.chest]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov al, byte [0x10211b60]
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
jmp 0x100dcfc3
mov eax, dword [str.stomach]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov ax, word [0x10211b4c]
mov word [ebp - 0x28], ax
mov al, byte [0x10211b4e]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
jmp 0x100dcfc3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 8
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x7466656c
mov dword [ebp - 0x28], 0x6d726120
mov byte [ebp - 0x24], 0
jmp 0x100dcfc3
mov al, byte [0x10211d88]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 9
movq xmm0, qword [str.right_arm]
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
jmp 0x100dcfc3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 8
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x7466656c
mov dword [ebp - 0x28], 0x67656c20
mov byte [ebp - 0x24], 0
jmp 0x100dcfc3
mov al, byte [0x10211d08]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 9
movq xmm0, qword [str.right_leg]
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
jmp 0x100dcfc3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x6b63656e
mov byte [ebp - 0x28], 0
jmp 0x100dcfc3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x72616567
mov byte [ebp - 0x28], 0
jmp 0x100dcfc3
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.10036bf0
mov al, byte [0x10211d48]
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 9
movq xmm0, qword [str.hitgroup_]
mov dword [ebp - 0x34], 0xf
movq qword [ebp - 0x48], xmm0
mov byte [ebp - 0x40], al
mov byte [ebp - 0x3f], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.1004c4e0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x100dcf88
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dcf7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd0cc
push ecx
push edx
call fcn.101519a9
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x100dcfc3
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dcfb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd0cc
push ecx
push edx
call fcn.101519a9
add esp, 8
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0xe8]
call fcn.100df0d0
add esp, 4
mov ecx, esp
push edi
mov dword [ecx], 4
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x78]
push esi
call fcn.100202f0
add esp, 0x10
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x17
push eax
call fcn.1004f4e0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100dd04a
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd040
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd0cc
push ecx
push edx
call fcn.101519a9
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp ecx, 0x10
jb 0x100dd090
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd086
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd0cc
push ecx
push edx
call fcn.101519a9
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x100dd0dc
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd0d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100dd0d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101519a9
add esp, 8
mov edi, dword [0x1039f32c]
xorps xmm0, xmm0
push 0x30
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
call fcn.1015165a
movups xmm0, xmmword [str.Hit__for_hp_in___hp_left_]
mov dword [ebp - 0x60], eax
add esp, 4
mov dword [ebp - 0x50], 0x21
mov dword [ebp - 0x4c], 0x2f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x10211e24]
movups xmmword [eax + 0x10], xmm0
mov cl, byte [0x10211e34]
mov byte [eax + 0x20], cl
mov byte [eax + 0x21], 0
mov byte [ebp - 4], 0x18
lea esi, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x50]
cmovae esi, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28c]
cmp eax, 0xa
ja case.0x100dd158.9
jmp dword [eax*4 + 0x100ddbb0]
mov eax, dword [str.generic]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov ax, word [0x10211ccc]
mov word [ebp - 0x28], ax
mov al, byte [0x10211cce]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
jmp 0x100dd3f5
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x64616568
mov byte [ebp - 0x28], 0
jmp 0x100dd3f5
mov eax, dword [str.chest]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov al, byte [0x10211b60]
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
jmp 0x100dd3f5
mov eax, dword [str.stomach]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov ax, word [0x10211b4c]
mov word [ebp - 0x28], ax
mov al, byte [0x10211b4e]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
jmp 0x100dd3f5
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 8
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x7466656c
mov dword [ebp - 0x28], 0x6d726120
mov byte [ebp - 0x24], 0
jmp 0x100dd3f5
mov al, byte [0x10211d88]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 9
movq xmm0, qword [str.right_arm]
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
jmp 0x100dd3f5
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 8
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x7466656c
mov dword [ebp - 0x28], 0x67656c20
mov byte [ebp - 0x24], 0
jmp 0x100dd3f5
mov al, byte [0x10211d08]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 9
movq xmm0, qword [str.right_leg]
mov dword [ebp - 0x18], 0xf
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
jmp 0x100dd3f5
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x6b63656e
mov byte [ebp - 0x28], 0
jmp 0x100dd3f5
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x72616567
mov byte [ebp - 0x28], 0
jmp 0x100dd3f5
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.10036bf0
mov al, byte [0x10211d48]
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 9
movq xmm0, qword [str.hitgroup_]
mov dword [ebp - 0x64], 0xf
movq qword [ebp - 0x78], xmm0
mov byte [ebp - 0x70], al
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.1004c4e0
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100dd3b7
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd3ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd507
push ecx
push edx
call fcn.101519a9
add esp, 8
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x100dd3f5
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd3eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd507
push ecx
push edx
call fcn.101519a9
add esp, 8
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0xe8]
call fcn.100df0d0
add esp, 4
mov ecx, esp
push dword [ebp - 0x34]
mov dword [ecx], 4
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x90]
push esi
call fcn.100202f0
add esp, 0x10
push 0xe9a709cc
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, edi
call fcn.1004fb60
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x100dd48a
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd480
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd507
push ecx
push edx
call fcn.101519a9
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0x10
jb 0x100dd4cf
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd4c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd507
push ecx
push edx
call fcn.101519a9
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x100dd517
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd50d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100dd50d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101519a9
add esp, 8
mov ecx, dword [ebp - 0x29c]
cmp ecx, 0x10
jb 0x100ddb02
mov edx, dword [ebp - 0x2b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd54d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100dd54d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101519a9
add esp, 8
jmp 0x100ddb02
cmp dword [ebp - 0x288], esi
jne 0x100ddb02
mov eax, dword [0x1039f244]
mov eax, dword [eax + 0x1884]
shr eax, 1
test al, 1
je 0x100ddb02
mov esi, dword [ebp - 0x284]
mov ecx, esi
push 0
push str.health
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi]
mov edi, eax
push 0
push str.dmg_health
mov edx, dword [ecx + 0x18]
mov ecx, esi
call edx
push 0x158
mov esi, eax
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x1039eb00]
lea edx, [ebp - 0x240]
add esp, 0xc
mov eax, dword [ecx]
push edx
push dword [ebp - 0x270]
mov eax, dword [eax + 0x20]
call eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x90]
call fcn.10018070
lea eax, [ebp - 0x288]
mov byte [ebp - 0x34], 0
push eax
lea ecx, [ebp - 0x90]
call fcn.1001ece0
push dword [ebp - 0x34]
push dword [ebp - 0x34]
push dword [eax]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100df170
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x284], esi
mov dword [ebp - 4], 0x1d
xorps xmm0, xmm0
push 0x40
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
call fcn.1015165a
movups xmm0, xmmword [str._2Hurt_from__3__2for__3hp__2in__3__2_hp_left__n]
mov ecx, eax
mov dword [ebp - 0x50], 0x36
mov dword [ebp - 0x60], ecx
add esp, 4
mov dword [ebp - 0x4c], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x10211dec]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x10211dfc]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x10211e0c]
mov dword [ecx + 0x30], eax
mov ax, word [0x10211e10]
mov word [ecx + 0x34], ax
mov byte [ecx + 0x36], 0
mov eax, dword [ebp - 0x28c]
lea esi, [ebp - 0x60]
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x4c], 0x10
mov edi, dword [ebp - 0x50]
cmovae esi, dword [ebp - 0x60]
cmp eax, 0xa
ja case.0x100dd6b3.9
jmp dword [eax*4 + 0x100ddbdc]
mov eax, dword [str.generic]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov ax, word [0x10211ccc]
mov word [ebp - 0x28], ax
mov al, byte [0x10211cce]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
jmp 0x100dd8c9
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 4
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x64616568
mov byte [ebp - 0x28], 0
jmp 0x100dd8c9
mov eax, dword [str.chest]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov al, byte [0x10211b60]
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
jmp 0x100dd8c9
mov eax, dword [str.stomach]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov ax, word [0x10211b4c]
mov word [ebp - 0x28], ax
mov al, byte [0x10211b4e]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
jmp 0x100dd8c9
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.left_arm
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.100185d0
jmp 0x100dd8c9
push str.right_arm
lea ecx, [ebp - 0x2c]
call fcn.10018070
jmp 0x100dd8c9
push str.left_leg
lea ecx, [ebp - 0x2c]
call fcn.10018070
jmp 0x100dd8c9
push str.right_leg
lea ecx, [ebp - 0x2c]
call fcn.10018070
jmp 0x100dd8c9
push str.neck
lea ecx, [ebp - 0x2c]
call fcn.10018070
jmp 0x100dd8c9
push str.gear
lea ecx, [ebp - 0x2c]
call fcn.10018070
jmp 0x100dd8c9
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.10036bf0
mov al, byte [0x10211d48]
xorps xmm0, xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 9
movq xmm0, qword [str.hitgroup_]
mov dword [ebp - 0x64], 0xf
movq qword [ebp - 0x78], xmm0
mov byte [ebp - 0x70], al
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.1004c4e0
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x100dd889
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd87f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dd8b9
push ecx
push edx
call fcn.101519a9
add esp, 8
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x100dd8c9
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100dd8bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100dd8bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101519a9
add esp, 8
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0xe8]
call fcn.100df0d0
add esp, 4
mov ecx, esp
push edi
mov dword [ecx], 4
mov dword [ecx + 4], eax
lea ecx, [ebp - 0xc0]
push esi
call fcn.100202f0
add esp, 0x10
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x22
push eax
call fcn.1004f4e0
lea ecx, [ebp - 0xc0]
call fcn.10018020
lea ecx, [ebp - 0x2c]
call fcn.10018020
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1d
call fcn.10018020
mov edi, dword [0x1039f32c]
lea ecx, [ebp - 0xd8]
push str.Hurt_from__for_hp_in___hp_left_
call fcn.10018070
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x23
push ecx
mov ecx, eax
call fcn.1001ecc0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x270], ecx
cmp eax, 0xa
ja case.0x100dd982.9
jmp dword [eax*4 + 0x100ddc08]
push str.generic
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push 0x1020f568
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.chest
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.stomach
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.left_arm
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.right_arm
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.left_leg
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.right_leg
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.neck
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
push str.gear
lea ecx, [ebp - 0x60]
call fcn.10018070
jmp 0x100dda76
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.100352c0
mov esi, eax
push str.hitgroup_
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x24
call fcn.10018070
push esi
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x60]
call fcn.1004c3f0
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.10018020
lea ecx, [ebp - 0x78]
call fcn.10018020
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x268]
call fcn.100df0d0
add esp, 4
mov ecx, esp
push dword [ebp - 0x34]
mov dword [ecx], 4
push dword [ebp - 0x270]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0xc0]
call fcn.100202f0
add esp, 0x10
push 0x8a816e7f
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x27
push eax
mov ecx, edi
call fcn.1004fb60
lea ecx, [ebp - 0xc0]
call fcn.10018020
lea ecx, [ebp - 0x60]
call fcn.10018020
lea ecx, [ebp - 0xd8]
call fcn.10018020
lea ecx, [ebp - 0x90]
call fcn.10018020
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.1015164c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4