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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100af00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov dword [edi + 0x408], edx
mov eax, dword [edx + 8]
mov dword [edi + 0x40c], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0x41c], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x420], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x424], eax
mov eax, dword [edx + 0x30]
mov dword [edi + 0x414], eax
mov ecx, dword [0x100f5408]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100f540c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [edi], eax
test eax, eax
je 0x10030565
test dword [edi + 0x414], 0x79a
setne cl
mov byte [edi + 0x3a9], cl
mov ecx, dword [0x100f5660]
add ecx, 0xffffffcb
xor ecx, 0x8d9beb9f
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [edi + 0x3d0], eax
mov eax, dword [0x100f547c]
mov eax, dword [eax + 0x4cb0]
mov dword [edi + 0x3d4], eax
mov ecx, dword [0x100f54d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x100f54dc]
fstp dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
fdivr dword [ebp - 0x18]
mov ecx, dword [0x100f54d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0x1c]
call dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
fstp dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x18]
comiss xmm0, xmm1
ja 0x1003039b
movaps xmm0, xmm1
movss dword [edi + 0x3ec], xmm0
mov ecx, dword [0x100f5474]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
movss xmm0, dword [0x100a53ac]
fstp dword [edi + 0x3f0]
movss xmm1, dword [edi + 0x3f0]
comiss xmm1, xmm0
ja 0x100303df
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100303df
xorps xmm0, xmm0
movss dword [edi + 0x3f0], xmm0
mov eax, dword [0x100f5468]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100a5358]
cvttss2si ecx, xmm0
mov dword [edi + 0x3f4], ecx
mov eax, dword [0x100f547c]
mov eax, dword [eax + 0x16c]
mov dword [edi + 0x3f8], eax
add eax, ecx
mov ecx, dword [edi]
mov dword [edi + 0x3fc], eax
test ecx, ecx
je 0x10030561
mov eax, dword [0x100f565c]
add eax, 0xffffffcc
xor eax, 0x8d9beb9e
cmp dword [eax + ecx], 0
jne 0x10030561
mov byte [edi + 4], 1
mov esi, dword [0x100f547c]
mov ebx, dword [esi + 0x174]
test ebx, ebx
jle 0x10030474
mov edx, dword [esi + 0x4cb0]
mov ecx, dword [0x100f5420]
add edx, dword [esi + 0x4cac]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push ebx
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x100fa9ac], 0
jne 0x10030544
push 0x22
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.100274f0
mov dword [ebp - 4], 0
mov eax, dword [0x100f53d8]
test eax, eax
je 0x100304b7
mov edx, dword [eax + 0x50]
jmp 0x100304b9
xor edx, edx
mov eax, dword [0x100f53d0]
test eax, eax
je 0x100304c7
mov eax, dword [eax + 0x18]
jmp 0x100304c9
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1004b3a0
mov ebx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x20]
inc ebx
cmp edx, 0x10
jb 0x10030513
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10030509
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030509
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10095bbf
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push ebx
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [ebx], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push ebx
call esi
mov byte [0x100fa9ac], 1
mov ecx, dword [0x100f5660]
mov eax, dword [edi]
add ecx, 0xffffffcb
xor ecx, 0x8d9beb9f
mov eax, dword [ecx + eax]
mov dword [edi + 8], eax
mov byte [edi + 0x19], 0
jmp 0x10030565
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10095741
mov esp, ebp
pop ebp
ret 4