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

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 0x100bdeed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x100db364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebx + 8]
mov dword [edi + 0x1fd8], edx
mov eax, dword [edx + 8]
mov dword [edi + 0x1fdc], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0x1fec], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x1ff0], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x1ff4], eax
mov eax, dword [edx + 0x30]
mov dword [edi + 0x1fe4], eax
mov ecx, dword [0x102e4bc8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x102e4bcc]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [edi + 8], eax
test eax, eax
je 0x10039ec0
mov ecx, dword [0x102e4e20]
add ecx, 0xffffffc7
xor ecx, 0xb66caf43
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [edi + 0x1fa4], eax
mov eax, dword [0x102e4c38]
mov eax, dword [eax + 0x4cb0]
mov dword [edi + 0x1fa8], eax
call fcn.10039a20
mov ecx, dword [0x102e4c30]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
lea edx, [edi + 0x1fc0]
comiss xmm0, dword [0x100d0718]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x3f800000
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movss dword [edx], xmm0
xorps xmm1, xmm1
cmovbe ecx, edx
movss xmm0, dword [ecx]
comiss xmm0, xmm1
cmova eax, ecx
movss xmm0, dword [eax]
movss dword [edx], xmm0
mov eax, dword [0x102e4c24]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100d06d8]
cvttss2si ecx, xmm0
mov dword [edi + 0x1fc4], ecx
mov eax, dword [0x102e4c38]
mov eax, dword [eax + 0x16c]
mov dword [edi + 0x1fc8], eax
add eax, ecx
test dword [edi + 0x1fe4], 0x79a
mov ecx, dword [edi + 8]
mov dword [edi + 0x1fcc], eax
setne al
mov byte [edi], al
test ecx, ecx
je 0x10039ebc
mov eax, dword [0x102e4e1c]
add eax, 0xffffffc8
xor eax, 0xb66caf42
cmp dword [eax + ecx], 0
jne 0x10039ebc
mov byte [edi + 0xc], 1
mov esi, dword [0x102e4c38]
cmp dword [esi + 0x174], 0
setg byte [ebp - 0x1c]
cmp dword [0x102cd5f8], 4
jne 0x10039dc5
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x102e4be0]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x1c]
push dword [esi + 0x174]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x102eaed8], 0
jne 0x10039e9e
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
call fcn.1002ef20
mov dword [ebp - 4], 0
mov eax, dword [0x102e4b98]
test eax, eax
je 0x10039e0b
mov edx, dword [eax + 0x50]
jmp 0x10039e0d
xor edx, edx
mov eax, dword [0x102e4b90]
test eax, eax
je 0x10039e1b
mov eax, dword [eax + 0x18]
jmp 0x10039e1d
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10052a60
mov esi, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x1c], esi
cmp ecx, 0x10
jb 0x10039e6a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039e60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039e60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100babc1
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x40
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
mov dword [eax], 0x3e
push dword [ebp - 0x18]
push 4
push eax
call esi
mov byte [0x102eaed8], 1
mov ecx, dword [0x102e4e20]
mov eax, dword [edi + 8]
add ecx, 0xffffffc7
xor ecx, 0xb66caf43
mov eax, dword [ecx + eax]
mov dword [edi + 0x10], eax
mov byte [edi + 0x2d], 0
jmp 0x10039ec0
mov byte [edi + 0xc], 0
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.100ba746
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4