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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x10], 0
jne 0x1000344c
xor eax, eax
jmp 0x10003616
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000346c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10003479
xor eax, eax
jmp 0x10003616
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10003497
xor eax, eax
jmp 0x10003616
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10003140
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jge 0x100034bf
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
push edx
call fcn.10003140
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 8], ecx
jmp 0x100034a3
cmp dword [ebp - 8], 0x10
jle 0x100034cc
xor eax, eax
jmp 0x10003616
call fcn.10036070
sub eax, section..text1
mov dword [ebp - 0x18], eax
push 4
push 0x1000
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
mov ecx, 8
mov eax, 0x90909090
mov edi, section..text1
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov esi, section..text1
mov edi, dword [ebp - 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
mov edx, dword [section..text1]
mov dword [ecx], edx
mov eax, dword [0x10036004]
mov dword [ecx + 4], eax
mov edx, dword [0x10036008]
mov dword [ecx + 8], edx
mov eax, dword [0x1003600c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x10], 0xe9
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x15
sub edx, eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x11], edx
lea edx, [ebp - 0x1c]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000359d
xor eax, eax
jmp 0x10003616
mov edx, dword [ebp - 4]
sub edx, section..text1
mov dword [ebp - 0x14], edx
mov eax, 0x10036030
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 5
sub eax, ecx
mov dword [0x10041541], eax
lea edx, [ebp - 0x20]
push edx
push 5
push 0x10041540
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100035f8
xor eax, eax
jmp 0x10003616
mov edx, 0x10036030
add edx, dword [ebp - 0x14]
add edx, 0x1b
mov eax, dword [ebp + 0x10]
sub eax, edx
mov ecx, 0x10036030
add ecx, dword [ebp - 0x14]
mov dword [ecx + 0x17], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc