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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e150
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x438660]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, dword [ebx + 0x124]
cmp byte [esi + 0x38], 0
je 0x414a00
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add eax, 0xad773c
mov dword [ebp - 0x5c], eax
lea eax, [esi + 0x58]
push eax
mov dword [ebp - 0x60], eax
call edi
mov ecx, dword [ebp - 0x5c]
mov edx, dword [esi + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [ebp - 0x68]
push eax
push ecx
push edx
call esi
test eax, eax
mov eax, dword [ebp - 0x60]
push eax
setne byte [ebp - 0x55]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x55], 0
jne 0x4143f9
mov ecx, dword [ebp - 0x5c]
push 0x436394
lea eax, [ebp - 0x7c]
lea edx, [ecx + str.Error_Reading_Memory_At:]
push eax
mov dword [ebp - 0x7c], edx
call fcn.0041ba81
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
add eax, 0x58
add ecx, 0x27f8
push eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x6c], eax
call edi
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
push 0
push 4
lea edx, [ebp - 0x60]
push edx
mov edx, dword [ecx + 0x3c]
push eax
push edx
call esi
test eax, eax
mov eax, dword [ebp - 0x6c]
push eax
setne byte [ebp - 0x55]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x55], 0
jne 0x41445c
mov ecx, dword [ebp - 0x5c]
push 0x436394
lea eax, [ebp - 0x80]
lea edx, [ecx + str.Error_Reading_Memory_At:]
push eax
mov dword [ebp - 0x80], edx
call fcn.0041ba81
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
add eax, 0x58
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], eax
call edi
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x6c]
push 0
push 4
lea edx, [ebp - 0x5c]
push edx
mov edx, dword [ecx + 0x3c]
push eax
push edx
call esi
test eax, eax
mov eax, dword [ebp - 0x64]
push eax
setne byte [ebp - 0x55]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x55], 0
jne 0x4144b9
mov ecx, dword [ebp - 0x68]
push 0x436394
lea eax, [ebp - 0x70]
lea edx, [ecx + str.Error_Reading_Memory_At:]
push eax
mov dword [ebp - 0x70], edx
call fcn.0041ba81
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
add eax, 0x58
add ecx, 0xa8
push eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
call edi
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x3c]
push 0
push 4
lea edx, [ebp - 0x78]
push edx
push edi
push ecx
call esi
mov edx, dword [ebp - 0x68]
test eax, eax
push edx
setne byte [ebp - 0x55]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x55], 0
jne 0x41451f
push 0x436394
lea ecx, [ebp - 0x74]
lea eax, [edi + str.Error_Reading_Memory_At:]
push ecx
mov dword [ebp - 0x74], eax
call fcn.0041ba81
mov eax, 0x414a00
ret
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x14], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x414a00
mov edi, dword [ebx + 0x124]
push eax
call fcn.004134d0
cmp al, 0xe9
jne 0x41454b
mov ecx, ebx
call fcn.00414190
mov eax, dword [ebx + 0x124]
mov edx, dword [eax + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x1000
push 0x1000
xor edi, edi
push edi
push edx
call esi
mov dword [ebx + 0xc], eax
cmp eax, edi
je 0x414a00
mov eax, dword [ebx + 0x124]
cmp dword [eax + 0x24], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x10], edi
jb 0x41458b
mov ecx, dword [ecx]
push 0x40
mov byte [ecx], 0
push 0x1000
mov dword [eax + 0x34], edi
mov eax, dword [ebx + 0x124]
mov eax, dword [eax + 0x3c]
push 4
push edi
push eax
call esi
mov esi, dword [ebx + 0x124]
mov dword [ebx + 0x10], eax
call fcn.00413590
mov esi, dword [ebx + 0x124]
push 6
mov eax, str.pushad
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 6
mov eax, str.pushfd
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov ecx, dword [ebx + 0x10]
push ecx
lea edx, [ebp - 0x54]
push str.mov_eax__0x_08X_
push edx
call fcn.0041ad90
mov esi, dword [ebx + 0x124]
lea eax, [ebp - 0x54]
add esp, 0xc
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414620
sub eax, edi
push eax
lea eax, [ebp - 0x54]
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 0xc
mov eax, str.test_eax_eax
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 7
mov eax, str.je__out
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
lea eax, [ebp - 0x54]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414698
sub eax, edi
push eax
lea eax, [ebp - 0x54]
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 8
mov eax, str.call_eax
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov eax, dword [ebx + 0x10]
push eax
lea ecx, [ebp - 0x54]
push str.mov_edx_0x_08X
push ecx
call fcn.0041ad90
mov esi, dword [ebx + 0x124]
lea eax, [ebp - 0x54]
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414701
sub eax, edi
push eax
lea eax, [ebp - 0x54]
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 9
mov eax, str.mov_ecx_0
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 0xd
mov eax, str.mov__edx__ecx
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 5
mov eax, str._out:
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 5
mov eax, str.popfd
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov esi, dword [ebx + 0x124]
push 5
mov eax, str.popad
lea ecx, [esi + 0x10]
call fcn.00416910
push 1
mov eax, 0x432104
lea ecx, [esi + 0x10]
call fcn.00416910
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x124]
push edx
add edi, 0xc
call fcn.00413200
test al, al
je 0x4149c6
mov esi, dword [ebx + 0x124]
mov edi, dword [esi + 0x34]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
mov eax, edi
mov dword [ebp - 0x60], edi
call fcn.00413530
test al, al
jne 0x414845
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x124]
call fcn.004135f0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x124]
xor esi, esi
mov dword [ebx + 0xc], esi
call fcn.004135f0
mov dword [ebx + 0x10], esi
jmp 0x414a00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0x124]
add eax, 0xc
call fcn.004133e0
mov edx, dword [ebx + 0x124]
add edx, 0xc
push edx
mov eax, str.mov_edi_edi
call fcn.004133a0
mov eax, dword [ebx + 0x124]
add eax, 0xc
push eax
mov eax, str.push_ebp
call fcn.004133a0
mov ecx, dword [ebx + 0x124]
add ecx, 0xc
push ecx
mov eax, str.mov_ebp_esp
call fcn.004133a0
mov edx, dword [ebx + 0xc]
add edx, edi
mov edi, dword [ebx + 0x124]
push edx
add edi, 0xc
call fcn.00413200
mov esi, dword [ebx + 0x124]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebp - 0x60]
push eax
add ecx, edi
push ecx
mov eax, 5
call fcn.00413530
test al, al
je 0x41481c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0x124]
add eax, 0xc
call fcn.004133e0
mov edx, dword [ebx + 0x14]
add edx, 5
push edx
lea eax, [ebp - 0x54]
push str.jmp_0x_08X
push eax
call fcn.0041ad90
mov ecx, dword [ebx + 0x124]
add esp, 0xc
add ecx, 0xc
push ecx
lea eax, [ebp - 0x54]
call fcn.004133a0
mov edx, dword [ebx + 0xc]
lea eax, [edx + edi + 5]
mov edi, dword [ebx + 0x124]
push eax
add edi, 0xc
call fcn.00413200
mov esi, dword [ebx + 0x124]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x60]
lea ecx, [edx + eax + 5]
push ecx
mov eax, 5
call fcn.00413530
test al, al
je 0x41481c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0x124]
add eax, 0xc
call fcn.004133e0
mov edx, dword [ebx + 0xc]
push edx
lea eax, [ebp - 0x54]
push str.jmp_0x_08X
push eax
call fcn.0041ad90
mov ecx, dword [ebx + 0x124]
add esp, 0xc
add ecx, 0xc
push ecx
lea eax, [ebp - 0x54]
call fcn.004133a0
mov edx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x124]
push edx
add edi, 0xc
call fcn.00413200
mov esi, dword [ebx + 0x124]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 0x14]
push eax
push ecx
mov eax, 5
call fcn.00413530
test al, al
je 0x41481c
mov al, 1
jmp 0x414a02
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x124]
mov ecx, dword [eax + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
xor edi, edi
push edi
push edx
push ecx
call esi
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x124]
push 0x8000
push edi
mov dword [ebx + 0xc], edi
mov ecx, dword [eax + 0x3c]
push edx
push ecx
call esi
mov dword [ebx + 0x10], edi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041ad81
mov esp, ebp
pop ebp
ret