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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c77ad
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e7380]
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 esi, dword [ebp + 8]
mov dword [edi + 0x6cc], esi
mov eax, dword [esi + 8]
mov dword [edi + 0x6d0], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x6e0], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x6e4], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x6e8], eax
mov eax, dword [esi + 0x30]
test eax, 0x79a
mov dword [edi + 0x6d8], eax
setne al
mov byte [edi + 0x704], al
mov ecx, dword [0x101a5c50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101a5c54]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [edi], eax
test eax, eax
je 0x1003e874
mov ecx, dword [0x101a5ea0]
add ecx, 0xffffffcb
xor ecx, 0x23f81eac
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [edi + 0x698], eax
mov eax, dword [0x101a5cc4]
mov eax, dword [eax + 0x4cb0]
mov dword [edi + 0x69c], eax
mov ecx, dword [0x101a5d18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
mov ecx, dword [0x101a5d1c]
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 [0x101a5d14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0x1c]
call dword [ebp - 0x18]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
maxss xmm0, dword [ebp - 0x1c]
push 0
movss dword [edi + 0x6b0], xmm0
mov ecx, dword [0x101a5cbc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
lea edx, [edi + 0x6b4]
comiss xmm0, dword [0x100dae48]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x3f800000
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 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 [0x101a5cb0]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100dae00]
cvttss2si ecx, xmm0
mov dword [edi + 0x6b8], ecx
mov eax, dword [0x101a5cc4]
mov eax, dword [eax + 0x16c]
mov dword [edi + 0x6bc], eax
add eax, ecx
mov ecx, dword [edi]
mov dword [edi + 0x6c0], eax
test ecx, ecx
je 0x1003e870
mov eax, dword [0x101a5e9c]
add eax, 0xffffffcc
xor eax, 0x23f81eab
cmp dword [eax + ecx], 0
jne 0x1003e870
push esi
mov byte [edi + 4], 1
call fcn.1003ff80
cmp byte [0x1014fbc4], 0
je 0x1003e737
mov eax, dword [0x101a5cb0]
movss xmm0, dword [edi + 0x6b0]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100dae00]
cvttss2si ecx, xmm0
add dword [esi + 8], ecx
mov esi, dword [0x101a5cc4]
cmp dword [esi + 0x174], 0
setg byte [ebp - 0x18]
cmp dword [0x1014f894], 4
jne 0x1003e77a
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x101a5c68]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x18]
push dword [esi + 0x174]
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101ab3d4], 0
jne 0x1003e853
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.100304b0
mov dword [ebp - 4], 0
mov eax, dword [0x101a5c20]
test eax, eax
je 0x1003e7c0
mov edx, dword [eax + 0x50]
jmp 0x1003e7c2
xor edx, edx
mov eax, dword [0x101a5c18]
test eax, eax
je 0x1003e7d0
mov eax, dword [eax + 0x18]
jmp 0x1003e7d2
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10058910
mov esi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x18], esi
cmp ecx, 0xf
jbe 0x1003e81f
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e815
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003e815
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c418a
add esp, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x40
push 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
mov dword [eax], 0x3e
push dword [ebp - 0x14]
push 4
push eax
call esi
mov byte [0x101ab3d4], 1
mov ecx, dword [0x101a5ea0]
mov eax, dword [edi]
add ecx, 0xffffffcb
xor ecx, 0x23f81eac
mov eax, dword [ecx + eax]
mov dword [edi + 8], eax
mov byte [edi + 0x19], 0
jmp 0x1003e874
mov byte [edi + 4], 0
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.100c3c5c
mov esp, ebp
pop ebp
ret 4