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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eecd5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x1011dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x1011db5c
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x1011db5c
call fcn.100a848f
add esp, 4
test eax, eax
jne 0x1007d543
cmp dword [0x1011db88], 0x7fffffff
je 0x1007d54a
mov eax, dword [0x10c99188]
mov byte [ebp - 4], 1
test eax, eax
jne 0x1007d385
push 8
call fcn.100ccd14
add esp, 4
test eax, eax
jne 0x1007d373
mov dword [0x10c99188], eax
jmp 0x1007d508
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [0x10c99188], eax
xor edx, edx
xor esi, esi
test eax, eax
je 0x1007d3b3
mov eax, dword [eax]
test eax, eax
je 0x1007d3b3
mov ecx, edi
sub ecx, dword [eax + 8]
cmp ecx, edx
ja 0x1007d3a4
mov esi, eax
test edx, edx
je 0x1007d3ab
mov edx, ecx
mov eax, dword [eax + 4]
test eax, eax
jne 0x1007d393
test esi, esi
jne 0x1007d508
push 0x1007d6f0
push 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov ebx, eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1007d3e5
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
call dword [eax]
mov dword [ebp - 0x10], eax
push 0x50
mov byte [ebp - 4], 3
call fcn.100bf758
mov esi, eax
add esp, 4
test esi, esi
je 0x1007d4e9
lea eax, [ebp - 0x34]
mov dword [esi + 0x34], 0
push eax
lea ecx, [esi + 0x10]
mov dword [esi], 0
mov dword [esi + 8], edi
call fcn.1007d180
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x48], 0x40
mov dword [esi + 4], 0
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1007d44f
mov edx, dword [ecx]
lea eax, [ebp - 0x34]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x10], 0
push 0x1c
lea eax, [ebp - 0x5c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [ebp - 0x5c]
lea ebx, [esi + 0x48]
push ebx
push 0x40
push 4
push edi
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1007d4a1
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x10]
test ecx, ecx
je 0x1007d494
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push 0x50
push esi
call fcn.100bf788
add esp, 8
jmp 0x1007d508
movzx eax, byte [edi]
mov byte [esi + 0x44], al
movzx eax, byte [0x1011db58]
mov byte [edi], al
lea eax, [ebp - 0x40]
push eax
push dword [ebx]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x10c99188]
test ecx, ecx
je 0x1007d4e5
cmp dword [ecx], 0
jne 0x1007d4d7
mov dword [ecx], esi
mov bl, 1
mov dword [ecx + 4], esi
jmp 0x1007d50a
mov eax, dword [ecx + 4]
mov dword [eax + 4], esi
mov eax, dword [ecx + 4]
mov dword [esi], eax
mov dword [ecx + 4], esi
mov bl, 1
jmp 0x1007d50a
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1007d508
mov edx, dword [ecx]
lea eax, [ebp - 0x34]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x10], 0
xor bl, bl
push 0x1011db5c
call fcn.100a84a0
mov ecx, dword [ebp + 0x30]
add esp, 4
test ecx, ecx
je 0x1007d52f
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.100a87c5
push 6
mov dword [0x1011db88], 0x7ffffffe
call fcn.100a87c5
int3