Function at 0x10038e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7d77
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x104cdec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [esi + 0x3174], ecx
mov eax, dword [ecx + 8]
mov dword [esi + 0x3178], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x3188], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x318c], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x3190], eax
mov eax, dword [ecx + 0x30]
test eax, 0x79a
mov dword [esi + 0x3180], eax
setne al
cmp byte [esi + 0x3cc], 0
mov byte [esi + 0x31b8], al
je 0x10038eb1
mov eax, dword [esi + 0x3108]
test eax, eax
jle 0x10038eb1
cmp byte [esi + 0x30ed], 0
jne 0x10038eb1
add eax, 0xffffffff
mov dword [esi + 0x3108], eax
jne 0x10038ea1
mov byte [esi + 0x30ed], 1
mov dword [ecx + 8], 0x7fffffff
mov eax, dword [esi + 0x3140]
mov byte [eax], 1
mov ecx, dword [0x105d9fe0]
xorps xmm0, xmm0
mov eax, dword [esi + 0x3c8]
add ecx, 0xffffffcd
xor ecx, 0x58f652e1
push 0xd
push str.fakelag_limit
test byte [ecx + eax], 1
je 0x10038f1d
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
call fcn.10018360
mov eax, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, 0x105daf40
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100191c0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x20]
jmp 0x10038f6a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.10018360
mov eax, 2
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov ecx, 0x105daf40
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100191c0
mov eax, dword [eax]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [0x101bc1dc]
cvttss2si eax, xmm0
mov dword [ebp - 4], 0
mov dword [esi + 0x3134], eax
mov eax, dword [ebp - 0x14]
test al, 2
je 0x10038fcd
mov ecx, dword [ebp - 0x18]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x10038fbb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10038fae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038ffe
push ecx
push edx
call fcn.101a3a33
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x1003900e
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1003900e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039004
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039004
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101a3a33
add esp, 8
mov eax, dword [0x105d9d58]
mov eax, dword [eax + 0x4cb0]
mov dword [esi + 0x3138], eax
mov ecx, dword [0x105d9dd0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
mov ecx, dword [0x105d9dd4]
fstp dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
fdivr dword [ebp - 0x14]
mov ecx, dword [0x105d9dcc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
fstp dword [ebp - 0x14]
call dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x14]
fstp dword [ebp - 0x10]
maxss xmm0, dword [ebp - 0x10]
push 0
movss dword [esi + 0x3150], xmm0
mov ecx, dword [0x105d9d50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
lea ecx, [esi + 0x3154]
comiss xmm0, dword [0x101bc1dc]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x3f800000
movss dword [ecx], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
maxss xmm0, dword [0x101bc190]
movss dword [ecx], xmm0
mov eax, dword [0x105d9d44]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x101bc1c4]
cvttss2si ecx, xmm0
mov dword [esi + 0x3158], ecx
mov eax, dword [0x105d9d58]
mov eax, dword [eax + 0x16c]
mov dword [esi + 0x315c], eax
add eax, ecx
mov dword [esi + 0x3160], eax
mov ecx, dword [0x105da00c]
mov eax, dword [esi + 0x3c8]
add ecx, 0xffffffc2
xor ecx, 0x58f652ec
mov eax, dword [ecx + eax]
mov dword [esi + 0x31bc], eax
mov ecx, dword [0x105d9ce8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x105d9cec]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [esi + 0x3c8], eax
test eax, eax
je 0x10039190
mov ecx, dword [0x105d9fdc]
add ecx, 0xffffffce
xor ecx, 0x58f652e0
cmp dword [ecx + eax], 0
jne 0x10039190
mov byte [esi + 0x3cc], 1
mov ecx, 0x104cd760
push dword [0x102f54f4]
call fcn.1012cdd0
mov ecx, dword [0x105d9fe0]
mov eax, dword [esi + 0x3c8]
add ecx, 0xffffffcd
xor ecx, 0x58f652e1
mov eax, dword [ecx + eax]
mov dword [esi + 0x3d4], eax
mov byte [esi + 0x3e5], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x3cc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4