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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10084040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov al, byte [0x1008a081]
test al, al
je 0x10050235
mov ecx, edi
sete byte [0x1008a081]
mov dword [0x1008a0a8], ecx
jmp 0x1005023b
mov ecx, dword [0x1008a0a8]
cmp byte [0x1008a082], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
je 0x10050399
mov eax, edi
sub eax, ecx
cmp eax, 0xc8
jb 0x10050399
mov eax, dword [0x1008a190]
cmp dword [eax], 0
je 0x100504e4
mov eax, dword [0x1008a124]
mov eax, dword [eax + 0x138a78]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 8]
push eax
push 0x40
push 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call ebx
movq xmm0, qword [esi + 0x1d0]
movq qword [ebp - 0x14], xmm0
mov eax, dword [esi + 0x1d8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push 0xc
push eax
call ebx
movss xmm1, dword [0x10089fc4]
subss xmm1, dword [ebp - 0x10]
movss xmm0, dword [0x1007d1fc]
comiss xmm0, xmm1
jbe 0x10050328
comiss xmm1, dword [0x1007d354]
jbe 0x10050328
cmp byte [0x1008a082], 0
lea eax, [ebp - 8]
mov esi, dword [0x1008a160]
push eax
push 0x40
push 2
push esi
sete byte [0x1008a082]
call ebx
mov eax, 0x974
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 2
push esi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006c1ab
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1008a124]
mov eax, dword [eax + 0x138a78]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 8]
push eax
push 0x40
push 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call ebx
movq xmm0, qword [esi + 0x1d0]
movq qword [ebp - 0x14], xmm0
mov eax, dword [esi + 0x1d8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x14]
push 0xc
push eax
call ebx
movq xmm0, qword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movq qword [0x10089fc0], xmm0
mov dword [0x10089fc8], eax
mov dword [0x1008a0a8], edi
mov cl, byte [0x1008a080]
test cl, cl
je 0x100503f8
mov eax, edi
sub eax, dword [0x1008a0a4]
cmp eax, 0x1388
jb 0x100503ef
mov esi, dword [0x1008a174]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
sub esi, 0xffffff80
push esi
call ebx
lea eax, [ebp - 8]
mov dword [esi], 0x10001
push eax
push dword [ebp - 8]
push 4
push esi
call ebx
mov eax, dword [0x1008a174]
call dword [0x1008a154]
mov cl, byte [0x1008a080]
mov dword [0x1008a0a4], edi
test cl, cl
sete byte [0x1008a080]
cmp byte [0x1008a07f], 0
mov esi, dword [0x1008a0d4]
je 0x1005046f
cmp dword [esi + 0xb0], 0
jne 0x1005046f
mov edi, dword [esi + 0x20c]
lea eax, [ebp - 8]
push eax
push 0x40
add esi, 0x20c
push 1
push esi
call ebx
lea eax, [ebp - 8]
mov byte [esi], 0
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
test edi, edi
je 0x1005045b
sub esp, 0x18
mov ecx, esp
push str.TESTED
call fcn.10059530
movss xmm0, dword [0x1007d24c]
xor cl, cl
call fcn.1005d160
add esp, 0x18
cmp byte [0x1008a07f], 0
mov esi, dword [0x1008a0d4]
sete byte [0x1008a07f]
cmp byte [0x1008a07e], 0
je 0x100504e4
cmp dword [esi + 0xb0], 0
jne 0x100504e4
mov edi, dword [esi + 0x20c]
lea eax, [ebp - 8]
push eax
push 0x40
add esi, 0x20c
push 1
push esi
call ebx
lea eax, [ebp - 8]
mov byte [esi], 0
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
test edi, edi
je 0x100504d6
cmp byte [0x1008a07a], 0
sete al
mov byte [0x1008a07a], al
mov byte [ebp - 8], al
mov eax, dword [0x10089f68]
add eax, 0x764c90
mov dword [ebp - 0x18], eax
mov ecx, dword [0x1008a164]
push dword [ebp - 8]
call dword [ebp - 0x18]
cmp byte [0x1008a07e], 0
sete byte [0x1008a07e]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006c1ab
mov esp, ebp
pop ebp
ret