Function at 0x10039284
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa0
push esi
push edi
push str.HookedRakClientInterface::Send_BitStream_
call fcn.100489d7
mov esi, dword [esp + 0xb0]
lea eax, [esp + 0xab]
pop ecx
push 1
push 8
pop edi
push edi
push eax
mov ecx, esi
call fcn.10001811
mov eax, dword [0x10154014]
cmp dword [eax + 0x6a], 0
mov al, byte [esp + 0xa7]
je 0x100392dd
cmp al, 0xc8
je 0x1003985e
cmp al, 0xce
je 0x1003985e
cmp al, 0xcf
je 0x1003985e
cmp al, 0xc8
jne 0x1003933e
mov ecx, esi
call fcn.100018d1
push 1
push edi
lea eax, [esp + 0xaf]
mov ecx, esi
push eax
call fcn.10001811
push 0x3f
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.100017c3
mov ecx, esi
call fcn.100018c9
push 1
push edi
lea eax, [esp + 0xa8]
mov byte [esp + 0xa8], 0xc8
push eax
mov ecx, esi
call fcn.10001930
push 0x3f
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.100018df
mov al, byte [esp + 0xa7]
cmp al, 0xce
jne 0x10039362
push str.ID_BULLET_SYNC
call fcn.100489d7
pop ecx
push 0x28
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call fcn.100017c3
mov al, byte [esp + 0xa7]
cmp al, 0xcb
jne 0x10039928
mov ecx, esi
call fcn.100018d1
push 1
push edi
lea eax, [esp + 0xaf]
mov ecx, esi
push eax
call fcn.10001811
push 0x1f
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.100017c3
mov eax, dword [0x10154014]
push 0x37
pop esi
cmp dword [eax + 0x52], 0
je 0x10039457
push 0
push 0xffffffffffffffff
call fcn.1002966b
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ecx + 0x530]
cmp eax, 0x36
je 0x100399c0
cmp eax, esi
je 0x100399c0
movzx eax, byte [ecx + 0x718]
imul edx, eax, 0x1c
mov eax, dword [edx + ecx + 0x5a8]
test eax, eax
jle 0x100393e4
inc eax
mov dword [edx + ecx + 0x5a8], eax
mov eax, dword [0x10175720]
mov ecx, dword [0x101898b4]
mov eax, dword [eax + 0x1e]
mov eax, dword [eax]
mov esi, dword [eax + 0x2a4]
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov edi, eax
mov ecx, edi
mov dword [esp + 0x98], edi
mov eax, dword [edi]
call dword [eax]
mov ecx, edi
movzx eax, byte [eax + 0x718]
imul esi, eax, 0x1c
mov eax, dword [edi]
call dword [eax]
mov ecx, dword [esp + 0x98]
lea edi, [eax + esi]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x98]
movzx eax, byte [eax + 0x718]
imul esi, eax, 0x1c
mov eax, dword [ecx]
call dword [eax]
lea ecx, [eax + esi]
mov eax, dword [edi + 0x5ac]
mov dword [ecx + 0x5a8], eax
mov eax, dword [0x10154014]
cmp dword [eax + 0x46], 1
jne 0x10039825
mov ecx, dword [0x1011a05c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov esi, eax
mov ecx, esi
mov edi, dword [esi]
call dword [edi + 0x28]
movzx eax, al
mov ecx, esi
push eax
call dword [edi + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov eax, dword [0x10154014]
push dword [eax + 0x4a]
call fcn.1003e298
mov edi, eax
mov dword [esp + 0x94], edi
pop ecx
test edi, edi
je 0x1003985e
mov ecx, dword [0x101898b4]
mov eax, dword [ecx]
call dword [eax]
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov esi, eax
test esi, esi
je 0x1003985e
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x70], 0
mov byte [esp + 0xa0], 3
mov byte [esp + 0x9a], 0
call fcn.10058af9
mov edx, dword [esi]
lea eax, [esp + 0x68]
push eax
movzx eax, byte [esp + 0xa4]
mov ecx, esi
push eax
call dword [edx + 0x78]
mov ecx, dword [esp + 0x84]
lea eax, [ecx + 0x19c]
movss xmm0, dword [eax]
subss xmm0, dword [esp + 0x68]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x70]
movzx eax, word [ecx + 0xc]
movss dword [esp + 0x88], xmm0
cmp ax, 0x35
je 0x10039583
push 0x37
pop edx
cmp ax, dx
je 0x10039583
movss xmm0, dword [0x100776ec]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x9c], xmm0
jmp 0x10039646
movss xmm0, dword [ecx + 0xb4]
mulss xmm0, dword [0x1007768c]
call fcn.10059127
movss xmm2, dword [0x10071e9c]
mov eax, 0xb6ec10
movaps xmm3, xmm0
movss xmm1, dword [0x10077720]
movaps xmm0, xmm1
subss xmm2, dword [eax]
addss xmm2, dword [0x10071e9c]
subss xmm2, dword [eax]
mov eax, 0xc3efa4
divss xmm2, dword [eax]
mulss xmm2, xmm3
movss dword [esp + 0x9c], xmm2
fld dword [esp + 0x9c]
fld1
fld st(0)
fxch st(1)
fxch st(2)
fpatan
fstp dword [esp + 0x9c]
subss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [0xb6ec14]
addss xmm0, xmm0
subss xmm0, dword [0x10071e74]
mulss xmm0, xmm3
movss dword [esp + 0x9c], xmm0
fld dword [esp + 0x9c]
fpatan
fstp dword [esp + 0x9c]
subss xmm1, dword [esp + 0x9c]
movss dword [esp + 0x9c], xmm1
movss xmm0, dword [esp + 0x98]
xorps xmm0, xmmword [0x10071ee0]
fld dword [esp + 0x94]
movss dword [esp + 0x64], xmm0
fld dword [esp + 0x64]
fpatan
mov ecx, dword [0x101898b4]
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
mov eax, dword [ecx]
fstp dword [esp + 0x94]
movss xmm0, dword [esp + 0x94]
subss xmm0, dword [0x100776ec]
movss dword [esp + 0x94], xmm0
call dword [eax]
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
lea ecx, [esp + 0x74]
push ecx
push 8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
sub esp, 0xc
lea esi, [esp + 0x80]
mov edi, esp
lea eax, [esp + 0x64]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10028f70
pop ecx
mov edi, esp
lea esi, [esp + 0x80]
lea eax, [esp + 0x64]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10028f70
pop ecx
mov edi, esp
lea esi, [esp + 0x80]
lea eax, [esp + 0x64]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10028f70
mov esi, dword [esp + 0x94]
lea edi, [esp + 0x18]
mov ecx, dword [0x1011a05c]
add esp, 0x10
lea esi, [esi + 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x38]
xor ecx, ecx
push ecx
push ecx
mov edx, dword [eax]
push 1
push 1
push ecx
push ecx
push 1
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [edx + 0x24]
push 0
mov byte [esp + 0xa4], al
push 0xffffffffffffffff
call fcn.1002966b
cmp byte [esp + 0xa8], 0
pop ecx
pop ecx
je 0x10039825
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
call fcn.1003d7ba
mov eax, dword [0x10175720]
fstp dword [esp + 0x98]
pop ecx
pop ecx
mov eax, dword [eax + 0x1e]
movzx eax, byte [eax + 0x18d]
movss xmm0, dword [eax*4 + 0x1009d010]
comiss xmm0, dword [esp + 0x90]
jb 0x10039825
movss xmm0, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x98]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm0, xmm0
movss dword [esp + 0x8c], xmm0
fld dword [esp + 0x8c]
fld dword [esp + 0x88]
fpatan
fstp dword [esp + 0x88]
movss xmm0, dword [esp + 0x88]
subss xmm0, dword [esp + 0x80]
movss dword [esp + 0x39], xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, dword [esp + 0x94]
movss dword [esp + 0x3d], xmm0
movss dword [esp + 0x45], xmm0
movss dword [esp + 0x49], xmm0
mov eax, dword [0x10154014]
cmp dword [eax + 0x20], 1
jne 0x10039865
movss xmm0, dword [0x1007fae8]
movss xmm1, dword [0x10077730]
movaps xmm4, xmm0
movss xmm5, dword [0x1007bff8]
movaps xmm2, xmm1
movss xmm6, dword [0x10077710]
movaps xmm3, xmm1
movaps xmm7, xmm0
jmp 0x100398a0
mov al, 1
jmp 0x100399e6
movss xmm2, dword [0x1007fab8]
movss xmm0, dword [0x10076fb0]
movaps xmm7, xmm2
movss xmm1, dword [0x1007fac8]
movss xmm3, dword [0x1007facc]
movss xmm4, dword [0x1007faa8]
movss xmm5, dword [0x100776e8]
movss xmm6, dword [0x100776e4]
movss dword [0xc8c450], xmm3
movss dword [0xc8c8b0], xmm7
movss dword [0xc8c5a0], xmm6
movss dword [0xc8c4c0], xmm5
movss dword [0xc8c840], xmm4
movss dword [0xc8c530], xmm3
movss dword [0xc8c6f0], xmm2
movss dword [0xc8c760], xmm1
movss dword [0xc8c7d0], xmm0
mov esi, dword [esp + 0xac]
mov ecx, esi
call fcn.100018c9
push 1
push 8
pop edi
push edi
lea eax, [esp + 0xb4]
mov byte [esp + 0xb4], 0xcb
push eax
mov ecx, esi
call fcn.10001930
push 0x1f
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.100018df
mov al, byte [esp + 0xa7]
cmp al, 0xcf
jne 0x1003999a
mov ecx, esi
call fcn.100018d1
push 1
push edi
lea eax, [esp + 0xaf]
mov ecx, esi
push eax
call fcn.10001811
push 0x44
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.100017c3
mov eax, dword [0x10154014]
cmp dword [eax + 0x87], 0
je 0x1003996b
mov eax, 0xffff
mov word [esp + 0x52], ax
mov ecx, esi
call fcn.100018c9
push 1
push edi
lea eax, [esp + 0xb4]
mov byte [esp + 0xb4], 0xcf
push eax
mov ecx, esi
call fcn.10001930
push 0x44
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.100018df
test esi, esi
je 0x100399c4
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push esi
call fcn.10003aa0
add esp, 0x10
test al, al
jne 0x100399c4
xor al, al
jmp 0x100399e6
mov eax, dword [0x10175700]
push dword [esp + 0xb8]
push dword [esp + 0xb8]
mov ecx, dword [eax]
push dword [esp + 0xb8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
add esp, 0xa0
ret 0x10