Function at 0x1012dfe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1034
call fcn.1009c230
mov eax, dword [0x1034c74c]
push ebx
push esi
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, eax
call fcn.10007a60
mov edx, dword [0x1034c74c]
mov ebx, eax
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x10]
mov edx, dword [ecx]
mov esi, dword [edi]
call dword [edx + 0x30]
push eax
mov ecx, edi
call dword [esi + 0xc]
mov ecx, eax
call fcn.10022440
mov edx, dword [0x1034c74c]
movss xmm0, dword [0x102fdde4]
mov ecx, dword [edx]
mov edi, dword [edx + 0x10]
divss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [0x102fdd94]
cvttss2si ecx, xmm0
movd xmm2, ecx
mov ecx, dword [edx + 0x1c]
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [eax]
mulss xmm0, dword [eax + 4]
mulss xmm2, dword [eax + 8]
mov eax, dword [edi]
addss xmm1, dword [ebx]
addss xmm0, dword [ebx + 4]
addss xmm2, dword [ebx + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x38], xmm2
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, eax
call fcn.1003aac0
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [esp + 0x38]
addss xmm1, dword [eax]
addss xmm0, dword [eax + 4]
addss xmm2, dword [eax + 8]
mov ecx, dword [esp + 0x44]
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm0
mov ecx, dword [ecx + 0x14]
movss dword [esp + 0x58], xmm2
call fcn.10022960
mov eax, dword [0x1034c74c]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, dword [0x1034dcac]
mov dword [esp + 0x70], eax
mov eax, dword fs:[0x2c]
mov dword [esp + 0x6c], 0x102fca74
mov dword [esp + 0x74], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1035b434]
cmp eax, dword [ecx + 4]
jg 0x1012e93c
mov ebx, dword [0x1034c73c]
mov ecx, dword [0x1035b438]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
add eax, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x68], eax
cmp edx, eax
je 0x1012e935
nop word [eax + eax]
mov eax, dword [ebx + 0xc]
mov ecx, edx
dec eax
shr ecx, 1
and ecx, eax
and edx, 1
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x28], eax
mov esi, dword [eax + edx*8]
cmp byte [esi + 1], 0
je 0x1012e922
cmp byte ds:[esi], 0
jne 0x1012e922
cmp byte [esi + 2], 0
jne 0x1012e922
mov eax, dword [0x1034c74c]
mov byte [esp + 0x1b], 0
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
movsx eax, byte [esi + 0xc]
push eax
call edx
mov ecx, eax
call fcn.10007a60
mov edx, dword [0x1034c74c]
mov ebx, eax
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x10]
mov edx, dword [ecx]
mov esi, dword [edi]
call dword [edx + 0x30]
push eax
mov ecx, edi
call dword [esi + 0xc]
mov ecx, eax
call fcn.10022440
mov ecx, dword [0x1034c74c]
xorps xmm3, xmm3
movss xmm0, dword [0x102fdde4]
sub esp, 8
mov ecx, dword [ecx]
divss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [0x102fdd94]
cvttss2si ecx, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
movaps xmm2, xmm1
mulss xmm2, dword [eax]
mulss xmm0, dword [eax + 4]
addss xmm2, dword [ebx]
mulss xmm1, dword [eax + 8]
addss xmm0, dword [ebx + 4]
addss xmm1, dword [ebx + 8]
addss xmm2, xmm3
addss xmm0, xmm3
addss xmm1, dword [0x102fdf4c]
movss dword [esp + 0x64], xmm2
subss xmm2, dword [esp + 0x58]
movss dword [esp + 0x68], xmm0
subss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x6c], xmm1
subss xmm1, dword [esp + 0x60]
movss dword [esp + 0x80], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x84], xmm0
mulss xmm0, xmm0
movss dword [esp + 0x88], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d7410
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
add esp, 8
comiss xmm0, dword [0x102fdf78]
ja 0x1012e91e
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov eax, dword [esi + edi*8]
mov ecx, dword [ebx + 0xa0]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x48], edx
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
test ecx, ecx
je 0x1012e327
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1012e327
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword ds:[esp + 0x24]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x1012e327
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xac], 0xffffffff
mov dword [ebx + 0xb0], 0x2000
mov dword [ebx + 0xb4], 0xffffffff
mov dword [ebx + 0xb8], 0xffffffff
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc8], 0xffffffff
mov dword [ebx + 0xcc], 0
mov ebx, dword [esp + 0x48]
cmp dword [ebx + 0x1c], 0
je 0x1012e91e
lea ecx, [esp + 0xe8]
call fcn.1011c820
mov eax, dword [0x1034c74c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
push eax
lea ecx, [esp + 0xec]
call fcn.1011c200
xor eax, eax
mov dword [esp + 0x4c], eax
cmp dword [ebx + 0x1c], eax
jbe 0x1012e8fa
mov ecx, dword [ebx + 0x18]
add ecx, eax
mov eax, dword [ebx + 0x14]
dec eax
and ecx, eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x1034c74c]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
push eax
mov ecx, ebx
call fcn.1011c440
mov eax, dword [0x1034c74c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
mov ecx, eax
call fcn.10007a60
mov edx, dword [0x1034c74c]
mov ebx, eax
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x10]
mov edx, dword [ecx]
mov esi, dword [edi]
call dword [edx + 0x30]
push eax
mov ecx, edi
call dword [esi + 0xc]
mov ecx, eax
call fcn.10022440
mov ecx, dword [0x1034c74c]
xorps xmm1, xmm1
movss xmm0, dword [0x102fdde4]
sub esp, 8
mov ecx, dword [ecx]
divss xmm0, dword [ecx + 0x1c]
addss xmm0, dword [0x102fdd94]
cvttss2si ecx, xmm0
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
movaps xmm2, xmm3
mulss xmm0, dword [eax + 4]
mulss xmm2, dword [eax]
addss xmm0, dword [ebx + 4]
mulss xmm3, dword [eax + 8]
addss xmm2, dword [ebx]
addss xmm3, dword [ebx + 8]
addss xmm0, xmm1
addss xmm2, xmm1
addss xmm3, dword [0x102fdf4c]
movss dword [esp + 0x68], xmm0
subss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x64], xmm2
subss xmm2, dword [esp + 0x58]
movss dword [esp + 0x6c], xmm3
subss xmm3, dword [esp + 0x60]
movaps xmm1, xmm0
movss dword [esp + 0x38], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
mulss xmm0, xmm2
movss dword [esp + 0x3c], xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d7410
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
add esp, 8
comiss xmm0, dword [0x102fdf5c]
jbe 0x1012e54e
mov eax, dword ds:[esp + 0x4c]
mov ebx, dword [esp + 0x48]
inc eax
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
cmp eax, dword [ebx + 0x1c]
jb 0x1012e3d8
jmp 0x1012e8fa
movss xmm0, dword ds:[esp + 0x2c]
sub esp, 8
movss xmm1, dword [esp + 0x38]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d7410
fstp dword [esp + 0x24]
movss xmm1, dword [esp + 0x24]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1012e5ca
movss xmm0, dword [esp + 0x2c]
divss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x30]
divss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x34]
divss xmm0, xmm1
jmp 0x1012e5de
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x102fdde4]
mov eax, dword [0x1034c74c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
movss dword [esp + 0x34], xmm0
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
mov ebx, dword [esp + 0x24]
xorps xmm0, xmm0
mov ecx, dword [eax + 0x670]
mov dword [ebx + 0xcd8], ecx
lea ecx, [ebx + 0x378]
mov dword [eax + 0x670], ecx
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0xb4], 0
push eax
push 0x600400b
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x60]
push eax
movups xmmword [esp + 0xa4], xmm0
movups xmmword [esp + 0xb4], xmm0
call fcn.10115260
mov eax, dword [0x1035af2c]
test eax, eax
jne 0x1012e67f
push str.81_EC_____________8B_84_24_____________8B_48_2C
push str.client.dll
call fcn.101a9f80
mov dword [0x1035af2c], eax
test eax, eax
je 0x1012e6a0
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x70]
push ecx
push 0x600400b
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x60]
push ecx
call eax
add esp, 0x14
mov eax, dword [0x1034c74c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
movss xmm0, dword ds:[esp + 0x2c]
sub esp, 8
movss xmm1, dword [esp + 0x38]
mov ecx, dword [ebx + 0xcd8]
mulss xmm0, xmm0
mov dword [eax + 0x670], ecx
mulss xmm1, xmm1
mov dword [ebx + 0xcd8], 0
addss xmm0, xmm1
movss xmm1, dword [esp + 0x3c]
mulss xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7410
movss xmm0, dword [0x102fdf38]
add esp, 8
fstp dword [esp + 0x1c]
comiss xmm0, dword [esp + 0x1c]
jbe 0x1012e7ec
mov eax, dword [0x1034c74c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
mov ecx, eax
call fcn.10007840
mov esi, eax
lea eax, [esp + 0x84]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.101a7da0
movss xmm1, dword [esi + 4]
sub esp, 0x10
movss xmm0, dword [0x102fe038]
cvtps2pd xmm0, xmm0
subss xmm1, dword [eax + 4]
movsd qword [esp + 8], xmm0
addss xmm1, dword [0x102fdfe4]
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d72c0
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
add esp, 8
subss xmm0, dword [0x102fdfe4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d7177
mov esi, dword [esp + 0x30]
add esp, 8
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x102fdff8]
jbe 0x1012e7ec
movss xmm1, dword [0x102fde5c]
mov ecx, dword [esp + 0x3c]
mulss xmm1, dword [0x102fdf74]
mov byte [esp + 0x1b], 1
mov eax, dword [ecx + 0x24]
movss dword [esp + 0x20], xmm1
or eax, 0x800
jmp 0x1012e826
mov eax, dword [esi + edi*8]
mov ecx, dword [esp + 0x3c]
movss xmm1, dword [0x102fdf74]
movss dword [esp + 0x20], xmm1
movd xmm0, dword [eax + 8]
mov eax, dword [ecx + 0x24]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x1012e823
movss dword [esp + 0x20], xmm1
or eax, 0x800
mov byte [esp + 0x1b], 1
jmp 0x1012e826
or eax, 1
mov dword [ecx + 0x24], eax
mov eax, dword [esi + edi*8 + 4]
test eax, eax
je 0x1012e835
lock inc dword [eax + 4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esi + edi*8 + 4]
mov eax, dword [esi + edi*8]
mov edx, dword [ebx + 0xa0]
mov dword [ebx + 0x9c], eax
mov dword [esp + 0x1c], edx
mov dword [ebx + 0xa0], ecx
test edx, edx
je 0x1012e87d
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x1012e87d
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x1012e87d
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0x1b], 0
mov dword [ebx + 0xb8], 9
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
mov dword [ebx + 0xac], eax
je 0x1012e8a3
movss xmm0, dword [esp + 0x20]
jmp 0x1012e8ab
movss xmm0, dword [0x102fdf2c]
mov edx, dword [esp + 0x48]
cvttss2si eax, xmm0
mov dword [ebx + 0xc8], eax
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x14]
add ecx, dword [esp + 0x4c]
dec eax
and ecx, eax
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0xa4], eax
mov eax, dword [0x1034c74c]
movss xmm0, dword [ecx + 0x50]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x102fdd94]
cvttss2si eax, xmm0
mov dword [ecx + 8], eax
mov eax, dword [0x1034c74c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + edi*8]
movsx eax, byte [eax + 0xc]
push eax
call edx
push eax
lea ecx, [esp + 0xec]
call fcn.1011c440
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x40], edx
cmp edx, dword [esp + 0x68]
jne 0x1012e170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1035b434
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b434], 0xffffffff
jne 0x1012e13e
push 0x1035b434
mov dword [0x1035b438], 0
call fcn.1009aeba
add esp, 4
jmp 0x1012e13e