Function at 0x100043a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042f29
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x1006f368]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10070a98]
mov edi, dword [ebx + 8]
mov dword [0x1006f3b4], edi
mov dword [ebp - 0x20], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10070aac]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
lea edx, [edi + 0xc]
mov dword [0x1006f3b8], esi
movq xmm3, qword [edx]
mov eax, dword [edx + 8]
movq qword [ebp - 0x40], xmm3
movq qword [ebp - 0x58], xmm3
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x50], eax
test esi, esi
je 0x1000488f
mov eax, dword [0x10070b80]
mov ecx, dword [0x10070b7c]
movq xmm0, qword [esi + eax]
mov eax, dword [esi + eax + 8]
movq qword [ebp - 0x4c], xmm0
movq xmm0, qword [esi + ecx]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + ecx + 8]
movq qword [ebp - 0x34], xmm0
movss xmm2, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x30]
addss xmm2, dword [ebp - 0x4c]
addss xmm1, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [ebp - 0x44]
unpcklps xmm2, xmm1
movq qword [0x1006f3c0], xmm2
movss dword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x2c]
mov dword [0x1006f3c8], eax
mov eax, dword [0x10070d30]
cmp byte [eax + 0x24], 0
je 0x100044bc
lea eax, [ebp - 0x54]
push eax
call fcn.1001a050
movq xmm0, qword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
mov esi, dword [0x1006f3b8]
mov dword [ebp - 0x28], eax
movq qword [ebp - 0x40], xmm0
mov eax, dword [0x10070b9c]
mov eax, dword [eax + esi]
cmp eax, 8
je 0x10004536
cmp eax, 9
je 0x10004536
cmp eax, 0xa
je 0x10004536
mov eax, dword [0x1006f3b4]
mov ecx, dword [0x10070aac]
mov eax, dword [eax + 0x24]
mov edx, dword [ecx]
shr eax, 1
and eax, 0xffffff01
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10070be4]
mov edx, dword [edx + 0x10]
push dword [eax + esi]
call edx
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x1000450e
test cl, cl
je 0x1000450e
mov byte [0x10070b54], 1
jmp 0x10004530
cmp byte [0x10070b54], 0
je 0x1000452a
test eax, eax
jne 0x1000452a
test cl, cl
je 0x1000452a
mov eax, dword [0x1006f3b4]
and dword [eax + 0x24], 0xfffffffd
jmp 0x10004530
mov byte [0x10070b54], cl
mov esi, dword [0x1006f3b8]
mov ecx, dword [0x10070aa0]
test ecx, ecx
jne 0x10004548
test esi, esi
jne 0x1000474a
mov eax, dword [ecx]
push esi
call dword [eax]
push dword [0x1006f3b4]
mov ecx, dword [0x1006f3b8]
call fcn.10016800
mov eax, dword [0x10070abc]
mov ecx, dword [0x10070a68]
movss xmm0, dword [eax + 0xc]
movss dword [0x1006fc28], xmm0
movss xmm0, dword [eax + 0x10]
movss dword [0x1006fc2c], xmm0
mov eax, dword [eax + 0x18]
mov dword [0x1006fc30], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10071d90]
cmp eax, dword [ecx + 4]
jle 0x10004615
push 0x10071d90
call fcn.10041299
add esp, 4
cmp dword [0x10071d90], 0xffffffff
jne 0x10004615
push str.client.dll
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
call fcn.10019330
push str.55_8B_EC_8B_81_________8B_D0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.10019a50
lea ecx, [ebp - 0x6c]
mov eax, dword [eax]
mov dword [0x10071d94], eax
call fcn.10004cc0
mov eax, dword [ebp - 0x6c]
push 8
push eax
mov dword [ebp - 0x6c], 0
call fcn.1004136f
push 0x10071d90
mov dword [ebp - 4], 0xffffffff
call fcn.1004124f
add esp, 0xc
mov eax, dword [0x1006f3b4]
mov ecx, dword [0x1006f3b8]
push dword [eax + 0x24]
call dword [0x10071d94]
mov eax, dword [0x10070a9c]
mov cl, byte [eax + 9]
mov al, byte [eax + 8]
mov byte [ebp - 0x15], al
mov eax, dword [0x1006f3b8]
mov byte [ebp - 0x16], cl
mov ecx, dword [0x10070c04]
movd xmm0, dword [ecx + eax]
mov eax, dword [0x10070abc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x10070c04]
mov ecx, dword [0x1006f3b8]
mov ecx, dword [eax + ecx]
mov eax, dword [0x10070abc]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x10070abc]
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [0x10070a9c]
mov byte [eax + 9], 1
mov eax, dword [0x10070a9c]
mov byte [eax + 8], 1
mov ecx, dword [0x10070a9c]
mov eax, dword [0x1006f3b4]
add eax, 0xc
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ecx, dword [0x10070aa4]
push dword [0x1006f3b8]
mov eax, dword [ecx]
call dword [eax + 8]
push 0xa4
push 0
push 0x1006fc34
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x10070a9c]
add esp, 0xc
mov eax, dword [ecx]
push 0x1006fc34
push dword [0x10070aa0]
push dword [0x1006f3b4]
push dword [0x1006f3b8]
call dword [eax + 0x48]
mov ecx, dword [0x10070aa4]
push 0x1006fc34
push dword [0x1006f3b8]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x10070a9c]
push 0x1006fc34
push dword [0x1006f3b4]
mov eax, dword [ecx]
push dword [0x1006f3b8]
call dword [eax + 0x4c]
mov ecx, dword [0x10070aa4]
push dword [0x1006f3b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [0x10070a9c]
mov cl, byte [ebp - 0x15]
mov byte [eax + 8], cl
mov eax, dword [0x10070a9c]
mov cl, byte [ebp - 0x16]
mov byte [eax + 9], cl
mov esi, dword [0x1006f3b8]
mov ecx, dword [0x10070aac]
mov eax, dword [0x10070bf8]
mov edx, dword [ecx]
push dword [eax + esi]
mov edx, dword [edx + 0x10]
call edx
mov dword [0x1006f3bc], eax
test eax, eax
je 0x10004838
push edi
push dword [0x1006f3b8]
call fcn.10002420
call fcn.10026610
mov ecx, dword [0x1006f3bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x528]
call eax
cmp eax, 2
jne 0x10004838
mov ecx, dword [0x10070a98]
lea edi, [eax - 1]
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
cmp eax, edi
jle 0x10004835
nop
mov ecx, dword [0x10070aac]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [0x1006f3bc]
mov esi, eax
mov ecx, dword [0x10070bb8]
movzx eax, word [ecx + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1006f3b8]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x1000481f
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x20]
call eax
test al, al
jne 0x1000481f
mov eax, dword [0x10070be0]
cmp byte [eax + esi], 0
jne 0x1000481f
mov eax, 0x1bf
cmp word [ebp - 0x1c], ax
je 0x10004815
mov ecx, dword [0x10070b84]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + esi]
cmp eax, dword [edx + ecx]
je 0x1000481f
push esi
call fcn.1002cb30
test al, al
jne 0x10004835
mov ecx, dword [0x10070a98]
inc edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
call eax
cmp edi, eax
jl 0x100047b0
mov edi, dword [ebp - 0x20]
mov ecx, dword [0x10070aa0]
test ecx, ecx
je 0x10004887
mov eax, dword [ecx]
push 0
call dword [eax]
mov eax, dword [0x10070abc]
movss xmm0, dword [0x1006fc28]
push 0
movss dword [eax + 0xc], xmm0
mov eax, dword [0x10070abc]
movss xmm0, dword [0x1006fc2c]
movss dword [eax + 0x10], xmm0
mov ecx, dword [0x10070abc]
mov eax, dword [0x1006fc30]
mov dword [ecx + 0x18], eax
mov ecx, dword [0x1006f3b8]
call fcn.10016800
movq xmm3, qword [ebp - 0x40]
lea edx, [edi + 0xc]
movss xmm0, dword [edi + 0x10]
movss xmm2, dword [0x10069618]
comiss xmm0, xmm2
movss xmm1, dword [0x10069634]
jbe 0x100048be
nop dword [eax]
subss xmm0, xmm1
comiss xmm0, xmm2
movss dword [edi + 0x10], xmm0
ja 0x100048b0
movss xmm2, dword [0x1006969c]
comiss xmm2, xmm0
jbe 0x100048de
nop dword [eax + eax]
addss xmm0, xmm1
comiss xmm2, xmm0
movss dword [edi + 0x10], xmm0
ja 0x100048d0
movss xmm1, dword [edx]
lea ecx, [ebp - 0x24]
movss xmm0, dword [0x10069698]
lea eax, [ebp - 0x20]
comiss xmm0, xmm1
mov dword [ebp - 0x20], 0x42b3cccd
mov dword [ebp - 0x24], 0xc2b3cccd
cmovbe ecx, edx
comiss xmm1, dword [0x100695fc]
cmovbe eax, ecx
mov ecx, dword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [eax]
mov dword [edx], eax
mov eax, esp
movq qword [eax], xmm3
mov dword [eax + 8], ecx
call fcn.1001a4b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10040c92
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4