Function at 0x100b1160
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov dword [ebp - 8], ebx
mov eax, dword [edi]
call dword [eax + 4]
mov edx, str.player_hurt
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100b11a0
test cl, cl
je 0x100b119c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100b11a0
add eax, 2
add edx, 2
test cl, cl
jne 0x100b1180
xor eax, eax
jmp 0x100b11a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100b1656
cmp dword [0x101eabd0], eax
je 0x100b1656
mov eax, dword [edi]
mov ecx, edi
push 0
push str.attacker
call dword [eax + 0x18]
mov ecx, dword [0x101f0d58]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x101eabd0]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
call dword [edx + 0x28]
cmp eax, esi
jne 0x100b1656
mov eax, dword [edi]
mov ecx, edi
push 0
push str.userid
call dword [eax + 0x18]
mov ecx, dword [0x101f0d58]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x101f0ce4]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100b1656
cmp esi, dword [0x101eabd0]
je 0x100b1656
mov ecx, dword fs:[0x2c]
mov edx, dword [0x101f04c8]
mov eax, dword [ecx + edx*4]
mov ecx, dword [0x101f85ac]
mov dword [ebp - 0x10], eax
cmp ecx, dword [eax + 4]
jle 0x100b1284
push 0x101f85ac
call fcn.100bf2a3
mov ecx, dword [0x101f85ac]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100b1284
mov eax, dword [0x101f8484]
push 0x101f85ac
mov dword [0x101f859c], eax
call fcn.100bf252
mov ecx, dword [0x101f85ac]
add esp, 4
mov eax, dword [0x101f859c]
mov edi, dword [0x101eabd0]
mov esi, dword [eax + esi]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 4]
jle 0x100b12ca
push 0x101f85ac
call fcn.100bf2a3
add esp, 4
cmp dword [0x101f85ac], 0xffffffff
jne 0x100b12ca
mov eax, dword [0x101f8484]
push 0x101f85ac
mov dword [0x101f859c], eax
call fcn.100bf252
add esp, 4
mov eax, dword [0x101f859c]
cmp esi, dword [edi + eax]
je 0x100b1656
mov eax, dword [0x101f5350]
test eax, eax
je 0x100b13d2
sub eax, 1
je 0x100b13bf
sub eax, 1
jne 0x100b13d2
mov eax, dword [0x101fa124]
test eax, eax
jne 0x100b13b2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x1c], ecx
cmp ecx, ebx
je 0x100b1388
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x100b1388
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, ebx
mov dword [ebp - 0x18], ecx
dec edx
mov edi, 0xaaae61d6
mov dword [ebp - 0xc], edx
mov bl, byte [esi]
inc esi
test bl, bl
je 0x100b1381
movsx edx, bl
lea esi, [esi + 1]
sub bl, 0x41
mov ecx, edx
or ecx, 0x20
cmp bl, 0x19
mov bl, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test bl, bl
jne 0x100b1350
cmp edi, 0x8af15032
je 0x100b138c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x100b1335
mov eax, dword [eax]
jmp 0x100b1310
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x101fa124], eax
push 5
push 0
push str.RIFFZK
call eax
jmp 0x100b13d2
mov ecx, dword [0x101f0d5c]
push str.buttons_arena_switch_press_02.wav
mov eax, dword [ecx]
call dword [eax + 0x148]
cmp dword [0x101f5340], 0
jne 0x100b1405
cmp byte [0x101f5348], 0
jne 0x100b1405
mov eax, dword [ebx + 0x31c]
cmp eax, dword [ebx + 0x320]
je 0x100b1656
mov dword [ebx + 0x320], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x2c], xmm0
movss xmm0, dword [0x101763e8]
mov dword [ebp - 0x24], eax
movss dword [ebp - 0xc], xmm0
call fcn.1012a831
xor ebx, ebx
movd xmm2, eax
mov eax, dword [ebp - 8]
cvtdq2ps xmm2, xmm2
mov ecx, dword [eax + 0x314]
mov esi, dword [eax + 0x310]
sub ecx, esi
mov eax, 0x2e8ba2e9
mulss xmm2, dword [0x101760b4]
imul ecx
movss dword [ebp - 0x20], xmm2
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b1656
xor edi, edi
movss xmm0, dword [edi + esi + 0x14]
lea edx, [edi + esi]
addss xmm0, dword [0x10176228]
comiss xmm2, xmm0
jbe 0x100b14c6
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x314]
lea ecx, [edx + 0x2c]
sub eax, ecx
push eax
push ecx
push edx
call fcn.1011d900
mov eax, dword [ebp - 8]
add esp, 0xc
movss xmm1, dword [ebp - 0xc]
add dword [eax + 0x314], 0xffffffd4
jmp 0x100b1547
movss xmm0, dword [ebp - 0x28]
subss xmm0, dword [edx + 0x1c]
cvtps2pd xmm2, xmm0
movss xmm0, dword [ebp - 0x2c]
subss xmm0, dword [edx + 0x18]
mulsd xmm2, xmm2
cvtps2pd xmm1, xmm0
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [edx + 0x20]
mulsd xmm1, xmm1
cvtps2pd xmm0, xmm0
addsd xmm1, xmm2
mulsd xmm0, xmm0
addsd xmm1, xmm0
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
movss xmm1, dword [ebp - 0xc]
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x100b1523
ucomiss xmm1, dword [0x101763e8]
lahf
test ah, 0x44
jp 0x100b1544
movaps xmm1, xmm0
movups xmm0, xmmword [edx]
movss dword [ebp - 0xc], xmm1
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [edx + 0x20]
movq qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x314]
inc ebx
mov esi, dword [eax + 0x310]
add edi, 0x2c
movss xmm2, dword [ebp - 0x20]
sub ecx, esi
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x100b1483
ucomiss xmm1, dword [0x101763e8]
lahf
test ah, 0x44
jnp 0x100b1656
mov ecx, dword [ebp - 8]
add ecx, 0x31c
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x100b15a9
call fcn.100b3510
mov esi, dword [ecx + 4]
lea eax, [esi + 0x2c]
mov dword [ecx + 4], eax
jmp 0x100b15b1
push edx
call fcn.100b3120
mov esi, eax
mov ecx, dword [ebp + 8]
push 0
push str.dmg_health
mov edx, dword [ecx]
call dword [edx + 0x18]
mov dword [esi], eax
call fcn.1012a831
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101760b4]
movss dword [esi + 8], xmm0
call fcn.1012a831
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x10], 0
movd xmm0, eax
mov eax, dword [ebp - 0x38]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x101760b4]
movss dword [esi + 0xc], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [esi + 0x18], xmm0
mov dword [esi + 0x20], eax
mov eax, dword [0x101f8284]
cmp eax, dword [ecx + 4]
jle 0x100b1648
push 0x101f8284
call fcn.100bf2a3
add esp, 4
cmp dword [0x101f8284], 0xffffffff
jne 0x100b1648
mov eax, dword [0x101f8280]
push 0x101f8284
mov dword [0x101f8270], eax
call fcn.100bf252
add esp, 4
mov eax, dword [0x101f8270]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx]
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4