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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push edi
push eax
push 0x40
push 5
push 0x5b993a
call esi
mov eax, 0x5b993a
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x5b993a
call esi
push 0x100404e0
push 0x5edda9
push 0xe8
call fcn.100bfb10
push 0x10041410
push 0x4d7eb1
push 0xe8
call fcn.100bfb10
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
cmp dword [0x10242070], 4
jne 0x10041cb7
mov ebx, dword [0x10242074]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d75f0
dec ebx
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10041c08
mov eax, 0x4d75f0
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 4
push 0x4d75f0
call esi
test eax, eax
jne 0x10041c0a
call edi
push 0x100401b0
push 0x4d76fb
push 0xe8
call fcn.100bfb10
push 0x100401b0
push 0x4d79c3
push 0xe8
call fcn.100bfb10
add esp, 0x18
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d7a0e
call esi
test eax, eax
je 0x10041c75
mov eax, 0x4d7a0e
mov dword [eax], 0x1e0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 4
push 0x4d7a0e
call esi
test eax, eax
jne 0x10041c77
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x4d7a18
xor bl, bl
call esi
test eax, eax
je 0x10041cb5
mov eax, 0x4d7a18
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x4d7a18
call esi
test eax, eax
jne 0x10041cb7
call edi
cmp dword [0x10242078], 4
jne 0x10041e83
mov ebx, dword [0x1024207c]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d6c2c
dec ebx
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10041d07
mov eax, 0x4d6c2c
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 4
push 0x4d6c2c
call esi
test eax, eax
jne 0x10041d09
call edi
push 0x100401b0
push 0x4d712a
push 0xe8
call fcn.100bfb10
push 0x100415e0
push 0x57f020
push 0xe9
call fcn.100bfb10
push 0x100418b0
push 0x48e504
push 0xe8
call fcn.100bfb10
push 0x100418b0
push 0x503986
push 0xe8
call fcn.100bfb10
add esp, 0x30
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4d7179
call esi
test eax, eax
je 0x10041d9c
mov eax, 0x4d7179
mov dword [eax], 0x1e0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 4
push 0x4d7179
call esi
test eax, eax
jne 0x10041d9e
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x4d7183
xor bl, bl
call esi
test eax, eax
je 0x10041ddc
mov eax, 0x4d7183
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x4d7183
call esi
test eax, eax
jne 0x10041dde
call edi
push 0xe9
mov edx, 0x10041350
mov ecx, 0x4d87c8
call fcn.100bf280
push 0xe9
mov edx, 0x10041370
mov ecx, 0x4d87fc
call fcn.100bf280
push 0xe9
mov edx, 0x10041390
mov ecx, 0x5db52b
call fcn.100bf280
push 5
call fcn.100e3b3e
push 5
mov edx, eax
mov ecx, 0x63d1ce
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call fcn.100bf160
push 0xe9
mov edx, 0x100413b0
mov ecx, 0x63d1ce
call fcn.100bf280
push 5
call fcn.100e3b3e
push 5
mov edx, eax
mov ecx, 0x63d40f
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call fcn.100bf160
push 0xe9
mov edx, 0x100413e0
mov ecx, 0x63d40f
call fcn.100bf280
add esp, 0x24
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret