Function at 0x10039cab
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push str.HookedRakClientInterface::Send_BitStream_
call fcn.1004f43f
mov esi, dword [esp + 0x94]
lea eax, [esp + 0x17]
pop ecx
xor ebx, ebx
mov ecx, esi
inc ebx
push ebx
push 8
pop ebp
push ebp
push eax
call fcn.100015e1
cmp byte [esp + 0x13], 0xc8
push 0x30
pop edi
jne 0x1003a033
mov ecx, esi
call fcn.100016a1
push ebx
push ebp
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
call fcn.100015e1
push 0x3f
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.10001593
mov eax, dword [0x10114918]
cmp byte [eax + 0x1433], 0
je 0x10039dad
mov ecx, dword [0x101836e8]
xor eax, eax
mov edi, 0x4fb4
cmp dword [edi + ecx - 0x1f40], ebx
jne 0x10039d5c
mov eax, dword [0x10114914]
mov ecx, dword [edi + ecx]
push 0
sub ecx, dword [eax]
mov eax, ecx
mov ecx, 0xa18
cdq
idiv ecx
push eax
call fcn.1002c8c9
push eax
call fcn.1003f3dd
mov ecx, dword [0x101836e8]
add esp, 0xc
add edi, 4
cmp edi, 0x6ef4
jl 0x10039d28
mov ecx, dword [0x101836e4]
mov word [esp + 0x48], ax
push 0x30
pop edi
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0x8a]
movss dword [esp + 0x60], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0x8e]
movss dword [esp + 0x64], xmm0
mov eax, dword [ecx + 0x1e]
movss xmm0, dword [eax + 0x92]
movss dword [esp + 0x68], xmm0
mov byte [esp + 0x7e], 0
mov eax, dword [0x10114918]
cmp dword [eax + 0x534d], 0
je 0x10039e60
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm0
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call fcn.1005e68a
movss xmm3, dword [esp + 0x18]
mulss xmm3, dword [0x10088ef4]
movss xmm2, dword [0x10088f98]
movaps xmm0, xmm2
movd xmm4, eax
subss xmm0, xmm3
mov eax, 0x80
cvtdq2ps xmm4, xmm4
mov word [esp + 0x4c], ax
addss xmm0, dword [esp + 0x6c]
mulss xmm4, dword [0x10088ef8]
addss xmm4, dword [0x10080d4c]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [0x10088ef4]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, xmm4
addss xmm2, dword [esp + 0x70]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x70], xmm2
mov eax, dword [0x10114918]
cmp byte [eax + 0x1439], 0
je 0x10039fa4
cmp dword [eax + 0x144d], 0xffffffff
je 0x10039fa4
push ebx
call fcn.1003de8f
pop ecx
test eax, eax
je 0x10039fa4
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [0x10088fb4]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [0x10088fb8]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [0x10088fbc]
movss dword [esp + 0x74], xmm0
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10088efc]
addss xmm0, dword [0x10088f64]
movss dword [esp + 0x50], xmm0
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10088efc]
addss xmm0, dword [0x10088f64]
movss dword [esp + 0x54], xmm0
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10088efc]
addss xmm0, dword [0x10088f64]
movss dword [esp + 0x58], xmm0
call fcn.1005e68a
movd xmm0, eax
mov eax, dword [0x10114918]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10088efc]
addss xmm0, dword [0x10088f64]
movss dword [esp + 0x5c], xmm0
mov ecx, dword [eax + 0x144d]
mov eax, dword [0x101836e4]
mov eax, dword [eax + ecx*4 + 0x26]
mov ecx, dword [eax + 8]
movzx eax, byte [ecx + 0x1a]
sub eax, 0x11
je 0x10039f89
sub eax, 1
je 0x10039f7c
sub eax, 1
jne 0x10039fa4
lea eax, [esp + 0x60]
push eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x4c]
jmp 0x10039f97
lea eax, [esp + 0x60]
push eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
call fcn.1003e641
pop ecx
pop ecx
mov eax, dword [0x10114918]
cmp byte [eax + 0x1438], 0
je 0x1003a00b
push ebx
call fcn.1003de8f
pop ecx
test eax, eax
je 0x1003a00b
lea eax, [esp + 0x60]
push eax
mov eax, dword [0x10114918]
mov ecx, dword [eax + 0x144d]
mov eax, dword [0x101836e4]
mov eax, dword [eax + ecx*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
call fcn.1003e641
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [0x10080d50]
pop ecx
pop ecx
mov dword [esp + 0x74], 0x3fc00000
movss dword [esp + 0x68], xmm0
mov ecx, esi
call fcn.10001699
push ebx
push ebp
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0xc8
push eax
mov ecx, esi
call fcn.10001724
push 0x3f
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.100016d3
cmp byte [esp + 0x13], 0xce
jne 0x1003a267
push str.ID_BULLET_SYNC
call fcn.1004f43f
pop ecx
push 0x28
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.10001593
mov eax, dword [0x10114918]
cmp byte [eax + 0x143d], 0
je 0x1003a267
cmp byte [esp + 0x48], 1
je 0x1003a267
movzx eax, word [eax + 0x144d]
push eax
call fcn.100037ed
pop ecx
test al, al
je 0x1003a267
mov eax, dword [0x10114918]
mov ecx, dword [eax + 0x144d]
cmp ecx, 0xffffffff
je 0x1003a267
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x101836e4]
mov eax, dword [eax + ecx*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
call fcn.1003e641
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x10114918]
push dword [eax + 0x144d]
call fcn.1003891a
mov ecx, dword [0x101836e4]
mov eax, dword [ecx + 0x1e]
mov eax, dword [eax]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
mov eax, dword [0x10114918]
mov eax, dword [eax + 0x144d]
mov eax, dword [ecx + eax*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
call fcn.1003e651
mov eax, dword [0x10114918]
add esp, 0x1c
movss xmm0, dword [esp + 0x1c]
fstp st(0)
mov ecx, dword [0x10190edc]
mov ax, word [eax + 0x144d]
movss dword [esp + 0x57], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x5b], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x5f], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x63], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x67], xmm0
movss xmm0, dword [esp + 0x30]
mov word [esp + 0x49], ax
mov byte [esp + 0x48], bl
movss dword [esp + 0x6b], xmm0
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x10190edc]
movss xmm0, dword [eax]
movss dword [esp + 0x4b], xmm0
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x10190edc]
movss xmm0, dword [eax + 4]
movss dword [esp + 0x4f], xmm0
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, esi
movss xmm0, dword [eax + 8]
movss dword [esp + 0x53], xmm0
call fcn.10001699
push ebx
push ebp
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0xce
push eax
mov ecx, esi
call fcn.10001724
push 0x28
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.100016d3
mov eax, dword [0x10114918]
cmp byte [eax + 0x1441], 0
je 0x1003a223
call fcn.1005e68a
push 9
cdq
pop ecx
idiv ecx
add edx, ebp
jmp 0x1003a22f
call fcn.1005e68a
push 5
cdq
pop ecx
idiv ecx
inc edx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm0
push eax
mov eax, dword [0x101836e4]
mov eax, dword [eax + 0x1e]
movzx eax, byte [eax + 0x18d]
push eax
call fcn.100387a6
mov eax, dword [0x10114918]
push ecx
fstp dword [esp]
push dword [eax + 0x144d]
call fcn.1003a80a
add esp, 0x10
cmp byte [esp + 0x13], 0xcb
jne 0x1003a3af
mov ecx, esi
call fcn.100016a1
push ebx
push ebp
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
call fcn.100015e1
push 0x1f
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.10001593
mov eax, dword [0x10114918]
cmp byte [eax + 0x1445], 0
je 0x1003a2ec
and dword [esp + 0x29], 0
lea ecx, [esp + 0x35]
and dword [esp + 0x2d], 0
mov byte [esp + 0x28], 0x37
mov dword [esp + 0x31], 0xbc23d70a
push ecx
mov ecx, dword [eax + 0x144d]
mov eax, dword [0x101836e4]
mov eax, dword [eax + ecx*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
call fcn.1003e641
mov eax, dword [0x10114918]
pop ecx
pop ecx
cmp byte [eax + 0x1447], 0
je 0x1003a319
movss xmm0, dword [esp + 0x35]
movss dword [esp + 0x29], xmm0
movss xmm0, dword [esp + 0x39]
movss dword [esp + 0x2d], xmm0
movss xmm0, dword [esp + 0x3d]
movss dword [esp + 0x31], xmm0
cmp byte [eax + 0x1446], 0
je 0x1003a387
cmp dword [eax + 0x144d], 0xffffffff
je 0x1003a387
movzx eax, word [eax + 0x144d]
push eax
call fcn.100037ed
pop ecx
test al, al
je 0x1003a387
lea eax, [esp + 0x35]
push eax
mov eax, dword [0x10114918]
mov ecx, dword [eax + 0x144d]
mov eax, dword [0x101836e4]
mov eax, dword [eax + ecx*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, edi
push eax
call fcn.1003e641
pop ecx
pop ecx
mov dword [esp + 0x29], 0x3e75c28f
mov dword [esp + 0x2d], 0x3e800000
mov dword [esp + 0x31], 0x3e800000
mov ecx, esi
call fcn.10001699
push ebx
push ebp
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0xcb
push eax
mov ecx, esi
call fcn.10001724
push 0x1f
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.100016d3
cmp byte [esp + 0x13], 0xd3
jne 0x1003a3d9
mov ecx, esi
call fcn.100016a1
push ebx
push ebp
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
call fcn.100015e1
push 0x18
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.10001593
cmp byte [esp + 0x13], 0xcf
jne 0x1003a79d
mov ecx, esi
call fcn.100016a1
push ebx
push ebp
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
call fcn.100015e1
push 0x44
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.10001593
mov edx, dword [0x10114918]
cmp byte [edx + 0x143b], 0
je 0x1003a41e
mov dword [esp + 0x56], 0x7f6c3fa3
cmp byte [edx + 0x339], 0
je 0x1003a44b
movss xmm0, dword [0x1007b540]
divss xmm0, dword [0x1007b528]
cvttss2si eax, xmm0
mov word [esp + 0x8a], ax
mov word [esp + 0x88], ax
cmp byte [edx + 0x33b], 0
je 0x1003a4fc
movss xmm0, dword [esp + 0x6e]
addss xmm0, dword [0x10088fc8]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x56], 0xc4610000
movss dword [esp + 0x6e], xmm0
movss xmm0, dword [esp + 0x72]
addss xmm0, dword [0x10088fc8]
movss dword [esp + 0x72], xmm0
movss xmm0, dword [esp + 0x76]
addss xmm0, dword [0x10088fcc]
movss dword [esp + 0x76], xmm0
call edi
sub eax, dword [0x10162694]
je 0x1003a4db
movss xmm0, dword [0x10162690]
addss xmm0, dword [0x1007b540]
comiss xmm0, dword [0x10088fe4]
movss dword [0x10162690], xmm0
jb 0x1003a4d4
and dword [0x10162690], 0
call edi
mov dword [0x10162694], eax
call edi
sub eax, dword [0x10162698]
je 0x1003a4f6
mov eax, 0x80
mov word [esp + 0x4a], ax
call edi
mov dword [0x10162698], eax
mov edx, dword [0x10114918]
cmp byte [edx + 0x1432], 0
je 0x1003a540
mov eax, 0x80
test byte [esp + 0x4c], al
je 0x1003a540
push 9
pop eax
push eax
mov eax, dword [0x101836e4]
mov eax, dword [eax + 0x1e]
movzx eax, byte [eax + 0x18d]
push eax
push ecx
mov dword [esp], 0x41200000
push dword [edx + 0x144d]
call fcn.1003a80a
mov edx, dword [0x10114918]
add esp, 0x10
cmp dword [edx + 0x14], 0
je 0x1003a57d
movss xmm0, dword [esp + 0x62]
subss xmm0, dword [0x10080db8]
mov dword [esp + 0x6e], 0x41180000
mov dword [esp + 0x72], 0x41180000
mov dword [esp + 0x76], 0x41180000
mov dword [esp + 0x88], 0x11040190
movss dword [esp + 0x62], xmm0
cmp byte [edx + 0x143a], 0
je 0x1003a60e
xor eax, eax
mov dword [esp + 0x1c], 0xc2700000
mov dword [esp + 0x20], 0xc2700000
mov word [esp + 0x86], ax
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10088ef0]
addss xmm0, dword [0x1007b540]
movss dword [esp + 0x7a], xmm0
call fcn.1005e68a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10088ef0]
addss xmm0, dword [0x1007b540]
movss dword [esp + 0x7e], xmm0
call fcn.1005e68a
and eax, 0x80000001
jns 0x1003a5f9
dec eax
or eax, 0xfffffffe
inc eax
movss xmm0, dword [esp + eax*4 + 0x1c]
mov edx, dword [0x10114918]
movss dword [esp + 0x82], xmm0
cmp byte [edx + 0x1439], 0
je 0x1003a74d
mov eax, 0x80
test byte [esp + 0x4c], al
je 0x1003a74d
mov ecx, dword [edx + 0x144d]
lea eax, [esp + 0x4e]
push eax
mov eax, dword [0x101836e4]
mov eax, dword [eax + ecx*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
add eax, 0x30
push eax
call fcn.1003e641
mov edx, dword [0x10114918]
movss xmm1, dword [0x10088fdc]
pop ecx
pop ecx
mov eax, dword [edx + 0x144d]
mov ecx, dword [0x101836e4]
mov eax, dword [ecx + eax*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
movss xmm0, dword [eax + 0x44]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x4e]
movss dword [esp + 0x4e], xmm0
mov eax, dword [edx + 0x144d]
mov eax, dword [ecx + eax*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
movss xmm0, dword [eax + 0x48]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x52]
movss dword [esp + 0x52], xmm0
mov eax, dword [edx + 0x144d]
mov eax, dword [ecx + eax*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2a4]
movss xmm0, dword [eax + 0x4c]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x56]
movss dword [esp + 0x56], xmm0
movaps xmm0, xmmword [0x10088ff0]
movups xmmword [esp + 0x5a], xmm0
mov eax, dword [edx + 0x144d]
mov eax, dword [ecx + eax*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
movss xmm0, dword [eax + 0x44]
mulss xmm0, dword [0x10080d94]
movss dword [esp + 0x6e], xmm0
mov eax, dword [edx + 0x144d]
mov eax, dword [ecx + eax*4 + 0x26]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
movss xmm0, dword [eax + 0x48]
mulss xmm0, dword [0x10080d94]
mov dword [esp + 0x76], 0x41000000
movss dword [esp + 0x72], xmm0
cmp byte [edx + 0x1434], 0
je 0x1003a775
test byte [esp + 0x4c], 4
jne 0x1003a775
mov dword [esp + 0x5a], 0xffc00000
mov dword [esp + 0x5e], 0xffc00000
mov dword [esp + 0x62], 0xffc00000
mov ecx, esi
call fcn.10001699
push ebx
push ebp
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], 0xcf
push eax
mov ecx, esi
call fcn.10001724
push 0x44
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.100016d3
test esi, esi
je 0x1003a7c3
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push esi
call fcn.10003a49
add esp, 0x10
test al, al
je 0x1003a7e5
mov eax, dword [0x101836c0]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
mov ecx, dword [eax]
push dword [esp + 0x9c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x10