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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x180], eax
mov edi, edx
mov eax, dword [ebp + 0x10]
mov esi, ecx
push 0x40
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x16c]
push 0
push eax
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x1a8], 0
call fcn.0041c100
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x174]
add esp, 0xc
push eax
push 0x40
lea eax, [ebp - 0x16c]
push eax
push edi
push esi
call ebx
test eax, eax
je 0x415944
cmp dword [ebp - 0x174], 0x40
jb 0x415944
push 0xf8
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.0041c100
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push 0xf8
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
add eax, edi
push eax
push esi
call ebx
test eax, eax
je 0x415944
cmp dword [ebp - 0x174], 0xf8
jb 0x415944
mov eax, 0x10b
cmp word [ebp - 0x114], ax
je 0x4154be
push 9
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x1a8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041a53c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x130]
xor esi, esi
movzx ecx, word [ebp - 0x118]
add eax, 0x18
add eax, ecx
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x58], 0
cmp cx, word [ebp - 0x126]
jae 0x415565
add edi, eax
lea ecx, [ecx]
lea eax, [ebp - 0x174]
xorps xmm0, xmm0
push eax
push 0x28
lea eax, [ebp - 0x30]
movq qword [ebp - 0x10], xmm0
push eax
push edi
push dword [ebp - 0x198]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call ebx
test eax, eax
je 0x415944
cmp dword [ebp - 0x174], 0x28
jb 0x415944
cmp dword [ebp - 0x54], 0
jne 0x415556
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x24]
cmp edx, ecx
jb 0x415556
mov ebx, dword [ebp - 0x20]
lea eax, [ebx + ecx]
cmp edx, eax
jae 0x415550
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movzx eax, word [ebp - 0x126]
inc esi
add edi, 0x28
cmp esi, eax
jb 0x4154f0
mov ecx, dword [ebp - 0x17c]
mov eax, 0xcccccccd
mul dword [ebp - 0xa8]
mov edi, edx
xor edx, edx
shr edi, 4
mov dword [ebp - 0x18c], edi
lea eax, [ecx + edi]
shl ecx, 4
lea eax, [eax + eax*4]
lea eax, [eax*4 + 7]
and eax, 0xfffffff8
add ecx, eax
mov dword [ebp - 0x194], eax
mov esi, ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x170], esi
cmp dword [ebp - 0x17c], edx
jbe 0x4155f8
mov ebx, dword [ebp - 0x180]
mov edi, ecx
lea esp, [esp]
mov ecx, dword [ebx + edx*4]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4155c6
sub ecx, esi
inc edx
lea eax, [ecx + 4]
and eax, 0xfffffffc
add edi, eax
cmp edx, dword [ebp - 0x17c]
jb 0x4155c0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0x170], edi
mov edi, dword [ebp - 0x18c]
mov esi, dword [ebp - 0x170]
push esi
call fcn.0041bdb2
add esp, 4
mov dword [ebp - 0x184], eax
test eax, eax
je 0x415944
push esi
push 0
push eax
call fcn.0041c100
mov ecx, dword [ebp - 0x178]
mov edx, ecx
mov eax, dword [ebp - 0x108]
add eax, ecx
add eax, dword [ebp - 0x10c]
add eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x100]
cmp ecx, eax
mov ecx, dword [ebp - 0x198]
push esi
cmovb edx, eax
call fcn.004151b0
add esp, 0x10
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x415936
mov edx, dword [ebp - 0x178]
sub eax, edx
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1a0], 0
test ecx, ecx
je 0x4156c7
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x17c]
lea esi, [edi + edi*4]
mov edi, dword [ebp - 0x184]
shl esi, 2
push esi
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
push eax
lea eax, [ecx + edx]
push eax
push dword [ebp - 0x198]
call ebx
test eax, eax
je 0x415936
cmp dword [ebp - 0x174], esi
jb 0x415936
mov esi, dword [ebp - 0x170]
jmp 0x4156cd
mov edi, dword [ebp - 0x184]
cmp dword [ebp - 0x17c], 0
mov dword [ebp - 0x1a4], 0
jbe 0x415881
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x184]
add ecx, eax
add eax, 4
mov dword [ebp - 0x19c], ecx
mov ecx, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x180]
lea ebx, [edx + 4]
sub ecx, eax
mov dword [ebp - 0x194], ecx
mov ecx, dword [ebp - 0x188]
push dword [eax]
mov edi, esi
lea esi, [ecx + edx]
sub edi, ecx
mov ecx, esi
mov edx, edi
call fcn.00414fa0
test eax, eax
js 0x415936
test edi, edi
je 0x415769
test esi, esi
je 0x415769
cmp edi, 2
jb 0x415769
lea ebx, [ebx]
cmp byte [esi], 0x3f
jne 0x41575b
cmp byte [esi + 1], 0x3f
je 0x415764
dec edi
inc esi
cmp edi, 2
jae 0x415750
jmp 0x415769
mov word [esi], 0x3233
cmp dword [ebp + 0xc], 0
mov eax, 1
mov ecx, dword [ebp - 0x19c]
mov edi, dword [ebp - 0x180]
mov edx, dword [ebp - 0x194]
mov dword [ebx - 4], ecx
je 0x41578c
mov eax, dword [edi + edx]
mov esi, dword [ebp - 0x18c]
add eax, 0x80000000
cmp dword [ebp + 0xc], 0
mov dword [esi - 4], eax
lea eax, [ecx + 8]
mov dword [esi], 0
mov dword [ebx + 0xc], eax
mov eax, 1
je 0x4157b4
mov eax, dword [edi + edx]
add eax, 0x80000000
mov dword [esi + 8], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x190]
add eax, dword [ebp - 0x188]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], eax
mov ecx, dword [edi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4157e4
add dword [ebp - 0x19c], 0x10
sub ecx, edx
mov edx, dword [ebp - 0x184]
add esi, 0x10
add edi, 4
mov dword [ebp - 0x18c], esi
mov esi, dword [ebp - 0x170]
add ebx, 0x14
lea eax, [ecx + 4]
mov dword [ebp - 0x180], edi
mov ecx, dword [ebp - 0x188]
and eax, 0xfffffffc
add ecx, eax
mov eax, dword [ebp - 0x1a4]
inc eax
mov dword [ebp - 0x188], ecx
cmp eax, dword [ebp - 0x17c]
mov dword [ebp - 0x1a4], eax
mov eax, edi
jb 0x415723
mov edi, edx
mov ebx, dword [ebp - 0x198]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push ecx
push edi
push dword [ebp - 0x1ac]
push ebx
call esi
test eax, eax
je 0x415936
cmp dword [ebp - 0x54], 0
jne 0x415889
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x50], eax
jmp 0x41588f
mov ecx, dword [ebp - 0x188]
jmp 0x415846
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x190]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x1a0]
push eax
push 0x40
push dword [ebp - 0xd8]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x178]
push ecx
push ebx
call edi
test eax, eax
je 0x415936
push 0
push 0x40
lea eax, [ebp - 0x16c]
mov dword [ebp - 0xd4], 0
push eax
push dword [ebp - 0x178]
push ebx
call esi
test eax, eax
je 0x415936
push 0
push 0xf8
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
add eax, dword [ebp - 0x178]
push eax
push ebx
call esi
test eax, eax
je 0x415936
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x1a0]
push dword [ebp - 0xd8]
push dword [ebp - 0x178]
push ebx
call edi
xor ecx, ecx
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1a8], ecx
push dword [ebp - 0x184]
call fcn.0041a537
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1a8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041a53c
mov esp, ebp
pop ebp
ret