Function at 0x1001af00
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011405a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10150380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov edx, dword [ebp + 8]
mov dword [edi + 0xac], edx
mov eax, dword [edx + 8]
mov dword [edi + 0xb0], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc0], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0xc4], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0xc8], eax
mov eax, dword [edx + 0x30]
mov dword [edi + 0xb8], eax
mov eax, dword [0x10176f98]
mov byte [eax], 1
mov ecx, dword [0x1017c2a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1017c2a8]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [edi], eax
test eax, eax
je 0x1001b5e5
mov ecx, dword [0x1017c2a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
cmp dword [0x1017c30c], eax
je 0x1001b1e5
mov ecx, dword [0x1017c2a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
xor esi, esi
mov eax, dword [0x1017d794]
mov dword [0x1017c30c], edi
mov dword [0x1017d794], esi
test eax, eax
je 0x1001b012
mov dword [ebp - 4], esi
lea esi, [eax - 4]
push fcn.10003e20
push dword [esi]
push 4
push eax
call fcn.1010ff27
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1010fe3b
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x1017c30c]
mov esi, dword [0x1017d794]
mov ecx, dword [0x1017d78c]
test ecx, ecx
je 0x1001b02f
mov eax, dword [0x1017d790]
mov dword [ecx], eax
mov edi, dword [0x1017c30c]
mov esi, dword [0x1017d794]
mov dword [0x1017d790], 0
mov dword [0x1017d798], 0
mov byte [0x1017d79c], 0
mov dword [0x1017d78c], edi
mov eax, dword [edi]
mov dword [0x1017d790], eax
test eax, eax
je 0x1001b17c
xor esi, esi
mov eax, dword [0x1017d790]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1001b090
mov eax, dword [0x1017bff4]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1001b090
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1001b090
test eax, 0x100
jne 0x1001b090
inc esi
jmp 0x1001b061
mov dword [ebp - 0x30], esi
mov dword [0x1017d798], esi
test esi, esi
je 0x1001b176
inc esi
mov ecx, 4
mov eax, esi
mov dword [ebp - 0x34], esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
add eax, 4
cmovb eax, ecx
push eax
call fcn.10110412
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
mov dword [eax], esi
lea esi, [eax + 4]
mov eax, dword [ebp - 0x30]
push fcn.10003e20
push 0x10003e10
inc eax
push eax
push 4
push esi
call fcn.1011039e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1017d794]
mov dword [0x1017d794], esi
test eax, eax
je 0x1001b13a
push fcn.10003e20
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push dword [esi]
push 4
push eax
call fcn.1010ff27
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.1010fe3b
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov esi, dword [0x1017d794]
test esi, esi
je 0x1001b17c
mov eax, dword [0x1017d798]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x1017d790]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 0x2a
add esi, 4
mov dword [edi], esi
mov esi, dword [0x1017d794]
mov byte [0x1017d79c], 1
jmp 0x1001b191
mov esi, dword [0x1017d794]
cmp byte [0x1017d79c], 0
je 0x1001b18c
mov eax, 0x2a
jmp 0x1001b191
mov eax, 0x29
cmp dword [0x1017d790], 0
je 0x1001b1b3
test esi, esi
je 0x1001b1b3
cmp eax, dword [0x1017d798]
ja 0x1001b1b3
mov dword [esi + eax*4], 0x1009e730
mov esi, dword [0x1017d794]
xor eax, eax
cmp byte [0x1017d79c], al
setne al
add eax, 0x30
cmp dword [0x1017d790], 0
je 0x1001b1e2
test esi, esi
je 0x1001b1e2
mov edi, dword [ebp - 0x38]
cmp eax, dword [0x1017d798]
ja 0x1001b1e5
mov dword [esi + eax*4], 0x1009e6a0
jmp 0x1001b1e5
mov edi, dword [ebp - 0x38]
mov dword [edi + 0x58], 0xf
mov eax, dword [0x1017c318]
mov eax, dword [eax + 0x4cb0]
mov dword [edi + 0x5c], eax
mov ecx, dword [0x1017c378]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov ecx, dword [0x1017c488]
fstp dword [ebp - 0x48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov ecx, dword [0x1017c48c]
fstp dword [ebp - 0x44]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov ecx, dword [0x1017c490]
fstp dword [ebp - 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov ecx, dword [0x1017c494]
fstp dword [ebp - 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov ecx, dword [0x1017c370]
fstp dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov ecx, dword [0x1017c374]
fstp dword [ebp - 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
fstp dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x30]
comiss xmm0, xmm1
ja 0x1001b29d
movaps xmm0, xmm1
minss xmm0, dword [ebp - 0x40]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001b2b1
movss xmm0, dword [0x10145040]
movss xmm1, dword [ebp - 0x44]
movss xmm2, dword [ebp - 0x48]
comiss xmm1, xmm2
ja 0x1001b2c9
movss xmm1, dword [ebp - 0x3c]
minss xmm1, xmm2
divss xmm0, xmm1
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
fstp dword [edi + 0x74]
mov ecx, dword [0x1017c2a4]
add esp, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1001b39e
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x34], ecx
mov ecx, eax
call dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
lea esi, [edi + 0x78]
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
movss dword [esi], xmm0
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x34], eax
call dword [ebp - 0x34]
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
lea eax, [ebp - 0x34]
movss dword [edi + 0x7c], xmm0
xorps xmm1, xmm1
movss xmm0, dword [esi]
comiss xmm0, dword [0x10145040]
mov dword [ebp - 0x34], 0x3f800000
cmovbe eax, esi
movss xmm0, dword [eax]
maxss xmm0, xmm1
movss dword [esi], xmm0
mov eax, dword [0x1017c300]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10144fec]
cvttss2si ecx, xmm0
mov dword [edi + 0x80], ecx
mov eax, dword [0x1017c318]
mov eax, dword [eax + 0x16c]
mov dword [edi + 0x84], eax
add eax, ecx
mov dword [edi + 0x88], eax
cmp dword [0x10176f30], 0
je 0x1001b501
cmp byte [0x10176f38], 0
je 0x1001b501
mov esi, dword [0x1017c318]
cmp dword [esi + 0x174], 0
jle 0x1001b3ef
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x1017c2bc]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push dword [esi + 0x174]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101801d8], 0
jne 0x1001b501
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x30
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.1010fe49
movups xmm0, xmmword [str.B8_________3B_F0_0F_4F_F0_89_5D_FC]
mov ecx, eax
mov dword [ebp - 0x18], 0x22
add esp, 4
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x10144a5c]
movups xmmword [ecx + 0x10], xmm0
mov ax, word [0x10144a6c]
mov word [ecx + 0x20], ax
mov byte [ecx + 0x22], 0
mov dword [ebp - 4], 4
mov edx, dword [0x1017c268]
test edx, edx
je 0x1001b467
mov edx, dword [edx + 0x50]
jmp 0x1001b469
xor edx, edx
mov eax, dword [0x1017c260]
test eax, eax
je 0x1001b477
mov eax, dword [eax + 0x18]
jmp 0x1001b479
xor eax, eax
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10077110
mov esi, dword [ebp - 0x34]
add esp, 8
inc esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], esi
cmp ecx, 0xf
jbe 0x1001b4cd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b4c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001b4c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1011035b
add esp, 8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push 0x40
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
push ecx
mov dword [eax], 0x3e
push dword [ebp - 0x38]
push 4
push eax
call esi
mov byte [0x101801d8], 1
mov ecx, dword [edi]
test ecx, ecx
je 0x1001b5ce
mov eax, dword [0x1017d4ec]
cmp dword [ecx + eax], 0
jne 0x1001b5ce
mov al, 1
mov byte [edi + 8], al
mov eax, dword [0x1017d4f8]
cmp dword [ecx + eax], 0
jle 0x1001b5d3
mov eax, dword [0x1017d4f0]
test byte [ecx + eax], 0x40
je 0x1001b54b
mov eax, dword [0x10176f98]
mov dword [0x10176e1c], 0
mov byte [eax], 1
cmp byte [0x10176f82], 0
je 0x1001b5a8
mov eax, dword [0x1017c300]
mov ecx, dword [0x1017c2a4]
mov byte [0x1017e5c8], 1
movss xmm0, dword [eax]
movss dword [0x1017e5cc], xmm0
mov byte [0x10176f82], 0
test ecx, ecx
je 0x1001b5a8
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001b5a8
mov ecx, dword [0x1017c2a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001b5a8
mov eax, dword [0x1017c318]
mov dword [eax + 0x174], 0xffffffff
test dword [edi + 0xb8], 0x79a
mov ecx, dword [edi]
setne al
mov byte [edi + 0x1a8], al
mov eax, dword [0x1017d4f0]
mov eax, dword [eax + ecx]
mov dword [edi + 0xc], eax
mov byte [edi + 0x29], 0
jmp 0x1001b5e5
xor al, al
mov byte [edi + 8], al
mov eax, dword [0x10176f98]
mov dword [0x10176e1c], 0
mov byte [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010fe2d
mov esp, ebp
pop ebp
ret 4