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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088720
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100de0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [0x1010d070], 0
mov dword [0x1010d06c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx + eax + 0x28]
add eax, 0x400000
cmp eax, 0x8245bc
ja 0x1005cd12
je 0x1005ccb7
cmp eax, 0x667bf0
ja 0x1005cbea
je 0x1005cbc5
cmp eax, 0x5c6fd0
ja 0x1005cbab
je 0x1005cd93
cmp eax, 0x5c1e70
je 0x1005cb86
cmp eax, 0x5c2130
jne 0x1005ce52
mov dword [0x1010d06c], 0x1010033
mov al, 1
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1010d06c], 0x10033
mov al, 1
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x666ba0
jne 0x1005ce52
mov dword [0x1010d06c], 0x1010056
jmp 0x1005ce70
mov dword [0x1010d06c], 0x10056
mov al, 1
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x82457c
ja 0x1005ccac
je 0x1005cc0d
cmp eax, 0x667c40
je 0x1005cc87
cmp eax, 0x824570
jne 0x1005ce52
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
mov esi, 0x406a20
mov dword [0x1010d06c], 0x15553
push 1
push esi
mov byte [0x1010d073], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], esi
call edi
test eax, eax
setne byte [ebp - 0x14]
mov bl, byte [esi]
mov dword [ebp - 4], 0
test eax, eax
je 0x1005cc64
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
call edi
cmp bl, 0xe9
setne al
dec al
and al, 0x48
mov byte [0x1010d072], al
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1010d06c], 0x1010056
mov al, 1
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x8245b0
jne 0x1005ce52
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x28]
push eax
push 0x40
mov esi, 0x406a20
mov dword [0x1010d06c], 0x14553
push 1
push esi
mov byte [0x1010d073], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne byte [ebp - 0x24]
mov bl, byte [esi]
mov dword [ebp - 4], 1
test eax, eax
je 0x1005cc64
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
jmp 0x1005cc5f
cmp eax, 0xa402ed
ja 0x1005cda2
je 0x1005cbb6
cmp eax, 0x85ec4a
ja 0x1005cd88
je 0x1005ce66
sub eax, 0x8252fc
je 0x1005cd63
sub eax, 0x40
jne 0x1005ce52
mov byte [0x1010d073], al
mov al, 1
mov dword [0x1010d06c], 0x1014553
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1010d06c], 0x1015553
mov al, 1
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x9912ed
jne 0x1005ce52
mov dword [0x1010d06c], 0x1010033
jmp 0x1005ce70
cmp eax, 0xd0d011
ja 0x1005ce4b
je 0x1005ce1d
cmp eax, 0xc965ad
je 0x1005cdef
cmp eax, 0xd0af06
jne 0x1005ce52
mov dword [0x1010d06c], 0x1015545
mov al, 1
mov word [0x1010d070], 2
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1010d06c], 0x15549
mov al, 1
mov word [0x1010d070], 0x400
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1010d06c], 0x15549
mov al, 1
mov word [0x1010d070], 0x700
mov byte [0x1010d073], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd3c3db
je 0x1005ce66
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x1010d06c], 0x30053
mov byte [0x1010d073], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret