Function at 0x10082dc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1019f00e], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 8], ebx
jne 0x10082e2e
mov ebx, dword [0x1019f03c]
cmp dword [0x102d3514], ebx
je 0x10082e2c
mov esi, dword [0x102cfef8]
test esi, esi
je 0x10082df2
inc esi
jmp 0x10082df4
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
add ebx, 3
mov dword [ebp - 4], 0
call edi
lea eax, [ebp - 4]
mov dword [esi], ebx
push eax
push dword [ebp - 4]
push 4
push esi
call edi
mov eax, dword [0x1019f03c]
mov ebx, dword [ebp - 8]
mov dword [0x102d3514], eax
jmp 0x10082e2e
mov ebx, ecx
mov eax, dword [0x102cf4dc]
test eax, eax
je 0x10082e42
mov al, byte [eax + 0x20]
test al, al
jne 0x10083044
mov eax, dword [0x102cf684]
test al, 1
jne 0x10082e61
mov ecx, dword [0x102cf660]
or eax, 1
mov dword [0x102cf684], eax
mov dword [0x102cf680], ecx
jmp 0x10082e67
mov ecx, dword [0x102cf680]
mov eax, dword [0x1019f080]
test byte [ecx + eax], 0x40
jne 0x10083044
mov eax, dword [0x102d370c]
cmp byte [eax + 0x2c], 0
je 0x10082e8b
cmp byte [eax + 0x2d], 0
jne 0x10082fc0
mov ecx, dword [0x102d3710]
call fcn.1007cc70
test al, al
jne 0x10082fc0
mov eax, dword [0x102d370c]
cmp byte [eax + 0x18], 0
jne 0x10082eb9
cmp byte [eax + 0x19], 0
je 0x10082eb9
cmp dword [eax + 0x1c], 0
jle 0x10082fc0
cmp byte [0x102c09b0], 0
je 0x10082fc0
mov ecx, ebx
call fcn.10082a70
mov ecx, dword [0x102d0484]
mov edi, eax
movzx esi, byte [0x102c0988]
mov eax, dword [0x102d0164]
test cl, 1
jne 0x10082ef9
or ecx, 1
mov edx, eax
mov dword [0x102d0484], ecx
mov dword [0x102d0480], edx
jmp 0x10082eff
mov edx, dword [0x102d0480]
test cl, 1
jne 0x10082f15
or ecx, 1
mov edx, eax
mov dword [0x102d0484], ecx
mov dword [0x102d0480], edx
mov eax, dword [0x1019f080]
movss xmm0, dword [edx + eax]
movss xmm1, dword [edx + eax + 4]
mov eax, dword [0x102c09b8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [0x10175768]
comiss xmm0, xmm1
seta cl
test al, 1
je 0x10082f4c
test cl, cl
jne 0x10082f7b
test al, 2
je 0x10082f68
test cl, cl
jne 0x10082f68
mov ecx, dword [0x102d36f4]
call fcn.1009fad0
test al, al
jne 0x10082f7b
mov eax, dword [0x102c09b8]
test al, 4
je 0x10082f7d
mov ecx, dword [0x102d36f4]
call fcn.1009fad0
test al, al
jne 0x10082f7d
mov esi, edi
mov ecx, dword [0x102d36f4]
call fcn.1009fad0
test al, al
jne 0x10082fc9
cmp byte [0x102c09b1], al
je 0x10082fc9
mov eax, dword [0x102cf464]
lea ecx, [edi + 1]
mov ebx, dword [eax + 0x1c]
mov eax, dword [0x102d3510]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x10082fbc
mov esi, 1
mov dword [0x102d3510], ebx
jmp 0x10082fc9
mov esi, edi
jmp 0x10082fc9
mov ecx, ebx
call fcn.10082a70
mov esi, eax
mov ecx, dword [0x102d370c]
cmp byte [ecx + 0x2c], 0
je 0x10083027
cmp byte [ecx + 0x2d], 0
je 0x10083027
mov bl, 1
mov al, byte [0x1019f014]
cmp byte [ecx + 0x18], 0
jne 0x10083044
test esi, esi
je 0x10083044
test bl, bl
jne 0x10083003
test al, al
je 0x10083003
mov ecx, dword [0x102d3710]
call fcn.1007cc70
test al, al
je 0x10083044
mov eax, dword [0x1019f090]
mov byte [eax], 0
mov eax, dword [0x102cf4bc]
cmp dword [eax + 0x4d30], esi
jl 0x10083051
mov eax, dword [0x1019f090]
pop edi
pop esi
pop ebx
mov byte [eax], 1
mov esp, ebp
pop ebp
ret
xor bl, bl
cmp byte [0x102c09be], bl
jne 0x10082fdd
mov ecx, dword [0x102d36f4]
call fcn.1009f750
mov ecx, dword [0x102d370c]
jmp 0x10082fe2
mov eax, dword [0x1019f090]
cmp byte [eax], 0
jne 0x10083051
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret