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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100d4364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [edi + 0x1f10], esi
mov eax, dword [esi + 8]
mov dword [edi + 0x1f14], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1f20], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1f24], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x1f28], eax
mov eax, dword [esi + 0x30]
test eax, 0x61a
mov dword [edi + 0x1f18], eax
setne al
mov byte [edi + 0x1ea8], al
mov ecx, dword [0x101b2fd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101b2fdc]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [edi], eax
test eax, eax
je 0x1003a293
mov byte [edi + 0x1ec1], 0
mov dword [edi + 0x1ed4], 0xf
mov eax, dword [0x101b3048]
mov eax, dword [eax + 0x4cb0]
mov dword [edi + 0x1ed8], eax
call fcn.10039c40
mov ecx, dword [0x101b3040]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
movss xmm0, dword [0x100c80c4]
fstp dword [edi + 0x1ef4]
movss xmm1, dword [edi + 0x1ef4]
comiss xmm1, xmm0
ja 0x1003a0b9
movaps xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003a0b9
xorps xmm0, xmm0
movss dword [edi + 0x1ef4], xmm0
mov ecx, dword [0x101b3040]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
movss xmm0, dword [edi + 0x1ef4]
fstp dword [edi + 0x1ef8]
mov eax, dword [0x101b3034]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100c8080]
cvttss2si ecx, xmm0
mov dword [edi + 0x1efc], ecx
mov eax, dword [0x101b3048]
mov eax, dword [eax + 0x16c]
mov dword [edi + 0x1f00], eax
add eax, ecx
mov ecx, dword [edi]
mov dword [edi + 0x1f04], eax
mov byte [edi + 0x1ec1], 0
test ecx, ecx
je 0x1003a13b
mov eax, dword [0x101b3238]
add eax, 0xffffffcb
xor eax, 0xd6c29e52
cmp dword [eax + ecx], 0
jne 0x1003a13b
mov al, 1
jmp 0x1003a13d
xor al, al
mov byte [edi + 4], al
test al, al
je 0x1003a293
push esi
call fcn.1003b790
mov esi, dword [0x101b3048]
mov ebx, dword [esi + 0x174]
test ebx, ebx
jle 0x1003a181
mov edx, dword [esi + 0x4cb0]
mov ecx, dword [0x101b2ff0]
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 [0x101ba1ac], 0
jne 0x1003a251
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.1002c200
mov dword [ebp - 4], 0
mov eax, dword [0x101b2fa8]
test eax, eax
je 0x1003a1c4
mov edx, dword [eax + 0x50]
jmp 0x1003a1c6
xor edx, edx
mov eax, dword [0x101b2fa0]
test eax, eax
je 0x1003a1d4
mov eax, dword [eax + 0x18]
jmp 0x1003a1d6
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1004b580
mov ebx, dword [ebp - 0x1c]
add esp, 8
mov edx, dword [ebp - 0x20]
inc ebx
cmp edx, 0x10
jb 0x1003a220
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a216
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003a216
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100b3b02
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push ebx
mov dword [ebp - 0x18], 0
call esi
lea eax, [ebp - 0x18]
mov dword [ebx], 0x3e
push eax
push dword [ebp - 0x18]
push 4
push ebx
call esi
mov byte [0x101ba1ac], 1
mov ecx, dword [0x101b323c]
mov eax, dword [edi]
add ecx, 0xffffffca
xor ecx, 0xd6c29e53
mov eax, dword [ecx + eax]
mov dword [edi + 8], eax
test al, 1
jne 0x1003a273
mov byte [edi + 0x1ea8], 1
mov eax, dword [0x101b3034]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 0x10]
setne al
mov byte [edi + 0xc], al
mov eax, dword [0x101b3034]
mov eax, dword [eax + 4]
mov dword [edi + 0x10], eax
mov byte [edi + 0x25], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b366f
mov esp, ebp
pop ebp
ret 4