Function at 0x100d6440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
mov edx, str.bullet_impact
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100d6480
test cl, cl
je 0x100d647c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100d6480
add eax, 2
add edx, 2
test cl, cl
jne 0x100d6460
xor eax, eax
jmp 0x100d6485
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100d67dc
cmp dword [0x10173080], eax
je 0x100d67dc
mov eax, dword [esi]
mov ecx, esi
push edi
push 0
push str.userid
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x1030a060]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x1030a064]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x100d67db
mov eax, dword [esi]
push ecx
mov dword [esp], 0
mov ecx, esi
push 0x10150030
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
call dword [ebp + 8]
mov eax, dword [esi]
push ecx
mov dword [esp], 0
mov ecx, esi
fstp dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
push 0x10150040
call dword [ebp + 8]
mov eax, dword [esi]
push ecx
mov dword [esp], 0
mov ecx, esi
fstp dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
push 0x10150070
call dword [ebp + 8]
movss xmm2, dword [ebp - 0x10]
mov edx, dword [0x10173080]
movss xmm3, dword [ebp - 0xc]
movss dword [ebp - 8], xmm2
movss dword [ebp - 0xc], xmm3
fstp dword [ebp + 8]
movss xmm4, dword [ebp + 8]
movss dword [ebp - 0x10], xmm4
cmp edi, edx
jne 0x100d669d
cmp byte [0x10304e6c], 0
je 0x100d664d
movss xmm1, dword [0x101466e0]
movss xmm0, dword [0x10304e7c]
mulss xmm0, xmm1
mov edi, dword [0x1030a068]
cvttss2si eax, xmm0
movss xmm0, dword [0x10304e78]
mulss xmm0, xmm1
mov dword [ebp + 8], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10304e74]
mulss xmm0, xmm1
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov dword [ebp - 0x24], 0
cvttss2si edx, xmm0
mov dword [ebp - 0x20], 0
mov esi, dword [eax + 4]
mov eax, dword [ebp + 8]
movzx eax, al
mov dword [ebp - 0x1c], 0
movss xmm0, dword [0x10304e70]
mulss xmm0, xmm1
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x50], xmm3
cvttss2si ecx, xmm0
movd xmm0, dword [0x10304e90]
push ecx
mov dword [esp], 0x40800000
push eax
mov eax, dword [ebp - 0x14]
movzx eax, al
push eax
movzx eax, dl
push eax
movzx eax, cl
mov ecx, edi
push eax
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
movss dword [ebp - 0x4c], xmm4
mulss xmm0, dword [0x10146648]
push eax
lea eax, [ebp - 0x54]
push eax
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm0
xorps xmm0, xmmword [0x101467b0]
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm0
movss dword [ebp - 0x40], xmm0
call esi
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add ecx, 0x310
call fcn.100d5000
movss xmm0, dword [ebp - 8]
mov esi, eax
movss dword [esi + 0x18], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x20], xmm0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1014663c]
movss dword [esi + 0x14], xmm0
mov edx, dword [0x10173080]
cmp edi, edx
sete byte [ebp + 0xb]
je 0x100d66f6
mov eax, dword [0x1030a408]
mov esi, dword [0x1030a400]
test al, 1
jne 0x100d66c4
or eax, 1
mov ecx, esi
mov dword [0x1030a408], eax
mov dword [0x1030a404], ecx
jmp 0x100d66ca
mov ecx, dword [0x1030a404]
mov edx, dword [ecx + edi]
mov dword [ebp - 0x18], edx
mov edx, dword [0x10173080]
test al, 1
jne 0x100d66ea
or eax, 1
mov ecx, esi
mov dword [0x1030a408], eax
mov dword [0x1030a404], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ecx + edx]
je 0x100d66f6
mov al, 1
jmp 0x100d66f8
xor al, al
mov ecx, dword [0x10304e94]
test cl, 1
je 0x100d6707
test al, al
jne 0x100d672d
test cl, 2
je 0x100d6719
test al, al
mov al, byte [ebp + 0xb]
jne 0x100d671c
test al, al
je 0x100d672d
jmp 0x100d671c
mov al, byte [ebp + 0xb]
test cl, 4
je 0x100d67db
test al, al
je 0x100d67db
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [ebp - 4]
add edx, 4
lea esi, [eax + eax*2]
lea edx, [edx + esi*4]
mov dword [ebp + 8], edx
cmp edi, dword [0x10173080]
jne 0x100d6769
mov eax, dword [0x101730e0]
movq xmm0, qword [0x101730d8]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
movq qword [ebp - 0x54], xmm0
jmp 0x100d6777
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.1005b160
mov edx, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x3c], xmm0
mov eax, dword [eax + 8]
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x28], xmm0
mov ecx, dword [eax + esi*4 + 8]
cmp ecx, dword [eax + esi*4 + 0xc]
je 0x100d67cf
movups xmm0, xmmword [ebp - 0x3c]
pop edi
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [ecx + 0x10], xmm0
add dword [eax + esi*4 + 8], 0x18
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, edx
call fcn.100d4a40
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4