Function at 0x100a9c40
Capabilities:
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
sub esp, 0x34
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0xe609e8], 5
push esi
jne 0x100aa325
push 0x79
mov esi, 0x791050
call esi
add esp, 4
test al, al
je 0x100a9c9e
cmp dword [0x105a8378], 0
je 0x100a9c9e
mov dword [0x105a8398], 0xffffffff
mov dword [0x105a839c], 0xffffffff
push 0x7a
call esi
add esp, 4
test al, al
je 0x100a9cae
call fcn.100a96e0
cmp dword [0x105a8378], 0
je 0x100aa325
movss xmm0, dword [0x87933d8]
movss xmm1, dword [0xd27bfc]
mov eax, dword [0x879337c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0xd27b88]
movss dword [ebp - 0x24], xmm0
movsd xmm0, qword [0xd255a0]
movss dword [ebp - 0x1c], xmm1
movsd qword [ebp - 0x30], xmm0
test eax, eax
je 0x100a9d48
movss xmm1, dword [0x105a8384]
xorps xmm0, xmm0
jle 0x100a9d0c
comiss xmm0, xmm1
ja 0x100a9d13
test eax, eax
jns 0x100a9d16
comiss xmm1, xmm0
jbe 0x100a9d16
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
mulsd xmm0, qword [0x10195b80]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x105a8384], xmm0
mov dword [0x879337c], 0
jmp 0x100a9dcf
mov eax, dword [0x7bc4f04]
xor dl, dl
xor dh, dh
movzx ecx, word [eax + 0x31a]
mov al, byte [eax + 0xe]
mov byte [ebp - 0xd], al
cmp ecx, 0xe9
je 0x100a9d76
cmp ecx, 0xed
je 0x100a9d76
cmp ecx, 0xef
jne 0x100a9d78
mov dl, 1
mov eax, dword [0x105a839c]
cmp eax, 0xe9
je 0x100a9d92
cmp eax, 0xed
je 0x100a9d92
cmp eax, 0xef
jne 0x100a9d94
mov dh, 1
cmp ecx, eax
je 0x100a9dcf
mov dword [0x105a839c], ecx
test dl, dl
je 0x100a9e44
movss xmm2, dword [0x101961e0]
comiss xmm1, xmm2
jbe 0x100a9dcf
movaps xmm0, xmm1
subss xmm0, xmm2
call fcn.1001f750
mulss xmm0, dword [0x101967b0]
movss dword [0x105a8384], xmm0
push 4
mov eax, 0x791090
call eax
add esp, 4
test al, al
je 0x100a9eb0
cmp byte [0x105a8390], 0
je 0x100a9e8f
movsx ecx, word [0x105a8392]
mov eax, dword [0x879340c]
cmp eax, ecx
je 0x100a9e19
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x105a8388]
movss dword [0x105a8388], xmm0
movsx ecx, word [0x105a8394]
mov eax, dword [0x8793410]
cmp eax, ecx
je 0x100a9e96
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x105a838c]
movss dword [0x105a838c], xmm0
jmp 0x100a9e96
test dh, dh
je 0x100a9dcf
cmp byte [ebp - 0xd], 0
jne 0x100a9e6d
movss xmm0, dword [0x10196264]
comiss xmm0, xmm1
jbe 0x100a9dcf
subss xmm0, xmm1
call fcn.1001f750
jmp 0x100a9dc7
movss xmm2, dword [0x10196244]
comiss xmm2, xmm1
jbe 0x100a9dae
subss xmm2, xmm1
movaps xmm0, xmm2
call fcn.1001f750
jmp 0x100a9dc7
mov byte [0x105a8390], 1
movzx eax, word [0x879340c]
mov word [0x105a8392], ax
movzx eax, word [0x8793410]
mov word [0x105a8394], ax
push 4
call esi
movzx ecx, byte [0x105a8390]
xor edx, edx
movss xmm0, dword [0x101967ec]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test al, al
cmovne ecx, edx
comiss xmm0, dword [ebp - 0x20]
mov byte [0x105a8390], cl
jbe 0x100a9f08
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push 0x87933d8
call esi
lea eax, [ebp - 0xc]
mov dword [0x87933d8], 0xc2340000
push eax
push dword [ebp - 0xc]
push 4
push 0x87933d8
call esi
movss xmm2, dword [ebp - 0x24]
xorps xmm1, xmm1
comiss xmm2, dword [0x101967d4]
jbe 0x100a9f26
movss xmm0, dword [0x105a838c]
comiss xmm0, xmm1
ja 0x100a9f3c
movss xmm0, dword [0x101967dc]
comiss xmm0, xmm2
jbe 0x100a9f46
comiss xmm1, dword [0x105a838c]
jbe 0x100a9f46
mov dword [0x105a838c], 0
movss xmm0, dword [ebp - 0x1c]
comiss xmm0, dword [0x10196264]
movss xmm3, dword [0x101961c4]
movss xmm6, dword [0x105a8384]
jb 0x100a9f69
comiss xmm6, xmm1
ja 0x100a9f73
comiss xmm3, xmm0
jb 0x100a9f7e
comiss xmm1, xmm6
jbe 0x100a9f7e
xorps xmm6, xmm6
movss dword [0x105a8384], xmm6
movss xmm5, dword [0x5ef5a18]
movaps xmm0, xmm6
divss xmm5, dword [0x10196218]
movsd xmm1, qword [0x101958f0]
cvtps2pd xmm2, xmm5
mulss xmm5, xmm3
divsd xmm1, xmm2
divss xmm0, xmm5
movsd xmm4, qword [0x10196d00]
cvtps2pd xmm0, xmm0
movsd xmm3, qword [0x10195990]
andps xmm0, xmm4
cvtpd2ps xmm0, xmm0
divsd xmm3, xmm2
cvtps2pd xmm0, xmm0
maxsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [0x105a8388]
divss xmm0, xmm5
cvtps2pd xmm0, xmm0
andps xmm0, xmm4
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
maxsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x105a838c]
divss xmm0, xmm5
cvtps2pd xmm0, xmm0
andps xmm0, xmm4
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
maxsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [ebp - 0xc], xmm0
xorps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x100aa086
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0xd27bfc
call esi
movss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 8]
addss xmm0, dword [ebp - 0x1c]
push eax
movss dword [0xd27bfc], xmm0
push dword [ebp - 8]
push 4
push 0xd27bfc
call esi
movss xmm0, dword [0x105a8384]
subss xmm0, dword [ebp - 0x14]
movss dword [0x105a8384], xmm0
call fcn.100a91a0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [0x105a8384]
jmp 0x100aa0e2
comiss xmm0, xmm6
jbe 0x100aa0f1
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0xd27bfc
call esi
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 8]
subss xmm0, dword [ebp - 0x14]
push eax
movss dword [0xd27bfc], xmm0
push dword [ebp - 8]
push 4
push 0xd27bfc
call esi
movss xmm0, dword [0x105a8384]
addss xmm0, dword [ebp - 0x14]
movss dword [0x105a8384], xmm0
call fcn.100a91a0
movss xmm0, dword [0x105a8384]
comiss xmm0, dword [ebp - 0x14]
xorps xmm0, xmm0
jbe 0x100aa0f1
mov dword [0x105a8384], 0
movss xmm1, dword [0x105a8388]
comiss xmm1, xmm0
jbe 0x100aa15f
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x87933d8
call esi
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 8]
addss xmm0, dword [ebp - 0x20]
push eax
movss dword [0x87933d8], xmm0
push dword [ebp - 8]
push 4
push 0x87933d8
call esi
movss xmm1, dword [ebp - 0x18]
movss xmm0, dword [0x105a8388]
addss xmm1, xmm1
subss xmm0, xmm1
movss dword [0x105a8388], xmm0
call fcn.100a91a0
movss xmm1, dword [ebp - 0x18]
comiss xmm1, dword [0x105a8388]
jmp 0x100aa1bf
comiss xmm0, xmm1
jbe 0x100aa1ce
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x87933d8
call esi
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 8]
subss xmm0, dword [ebp - 0x18]
push eax
movss dword [0x87933d8], xmm0
push dword [ebp - 8]
push 4
push 0x87933d8
call esi
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm0
addss xmm0, dword [0x105a8388]
movss dword [0x105a8388], xmm0
call fcn.100a91a0
movss xmm0, dword [0x105a8388]
comiss xmm0, dword [ebp - 0x18]
xorps xmm0, xmm0
jbe 0x100aa1ce
mov dword [0x105a8388], 0
movss xmm1, dword [0x105a838c]
comiss xmm1, xmm0
jbe 0x100aa285
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0xd27b88
call esi
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 8]
cvtps2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x10195988]
cvtpd2ps xmm0, xmm0
movss dword [0xd27b88], xmm0
push dword [ebp - 8]
push 4
push 0xd27b88
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 8
push 0xd255a0
call esi
movsd xmm0, qword [ebp - 0x30]
lea eax, [ebp - 8]
subsd xmm0, qword [0x10195b70]
push eax
movsd qword [0xd255a0], xmm0
push dword [ebp - 8]
push 8
push 0xd255a0
call esi
movss xmm1, dword [ebp - 0xc]
mulss xmm1, dword [0x10195c70]
movss xmm0, dword [0x105a838c]
subss xmm0, xmm1
movss dword [0x105a838c], xmm0
call fcn.100a91a0
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [0x105a838c]
jmp 0x100aa319
comiss xmm0, xmm1
jbe 0x100aa325
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0xd27b88
call esi
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 8]
cvtps2pd xmm0, xmm0
push eax
subsd xmm0, qword [0x10195988]
cvtpd2ps xmm0, xmm0
movss dword [0xd27b88], xmm0
push dword [ebp - 8]
push 4
push 0xd27b88
call esi
movsd xmm0, qword [ebp - 0x30]
sub esp, 8
addsd xmm0, qword [0x10195b70]
movsd qword [esp], xmm0
push 0xd255a0
call fcn.100c9ad0
movss xmm0, dword [ebp - 0xc]
add esp, 0xc
mulss xmm0, dword [0x10195c70]
addss xmm0, dword [0x105a838c]
movss dword [0x105a838c], xmm0
call fcn.100a91a0
movss xmm0, dword [0x105a838c]
comiss xmm0, dword [ebp - 0xc]
jbe 0x100aa325
mov dword [0x105a838c], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100ed713
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret