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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa340
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10104040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [0x1010ae34], 0
mov dword [0x1010ae30], 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 0x1007dfe2
je 0x1007df87
cmp eax, 0x667bf0
ja 0x1007deba
je 0x1007de95
cmp eax, 0x5c6fd0
ja 0x1007de7b
je 0x1007e063
cmp eax, 0x5c1e70
je 0x1007de56
cmp eax, 0x5c2130
jne 0x1007e122
mov dword [0x1010ae30], 0x1010033
mov al, 1
mov byte [0x1010ae37], 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 [0x1010ae30], 0x10033
mov al, 1
mov byte [0x1010ae37], 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 0x1007e122
mov dword [0x1010ae30], 0x1010056
jmp 0x1007e140
mov dword [0x1010ae30], 0x10056
mov al, 1
mov byte [0x1010ae37], 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 0x1007df7c
je 0x1007dedd
cmp eax, 0x667c40
je 0x1007df57
cmp eax, 0x824570
jne 0x1007e122
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
mov esi, 0x406a20
mov dword [0x1010ae30], 0x15553
push 1
push esi
mov byte [0x1010ae37], 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 0x1007df34
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 [0x1010ae36], 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 [0x1010ae30], 0x1010056
mov al, 1
mov byte [0x1010ae37], 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 0x1007e122
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x28]
push eax
push 0x40
mov esi, 0x406a20
mov dword [0x1010ae30], 0x14553
push 1
push esi
mov byte [0x1010ae37], 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 0x1007df34
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
jmp 0x1007df2f
cmp eax, 0xa402ed
ja 0x1007e072
je 0x1007de86
cmp eax, 0x85ec4a
ja 0x1007e058
je 0x1007e136
sub eax, 0x8252fc
je 0x1007e033
sub eax, 0x40
jne 0x1007e122
mov byte [0x1010ae37], al
mov al, 1
mov dword [0x1010ae30], 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 [0x1010ae30], 0x1015553
mov al, 1
mov byte [0x1010ae37], 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 0x1007e122
mov dword [0x1010ae30], 0x1010033
jmp 0x1007e140
cmp eax, 0xd0d011
ja 0x1007e11b
je 0x1007e0ed
cmp eax, 0xc965ad
je 0x1007e0bf
cmp eax, 0xd0af06
jne 0x1007e122
mov dword [0x1010ae30], 0x1015545
mov al, 1
mov word [0x1010ae34], 2
mov byte [0x1010ae37], 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 [0x1010ae30], 0x15549
mov al, 1
mov word [0x1010ae34], 0x400
mov byte [0x1010ae37], 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 [0x1010ae30], 0x15549
mov al, 1
mov word [0x1010ae34], 0x700
mov byte [0x1010ae37], 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 0x1007e136
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 [0x1010ae30], 0x30053
mov byte [0x1010ae37], 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