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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push edi
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
xor ebx, ebx
cmp eax, 0x32
jle 0x413ebe
push ebx
push str.there
push 0x42682c
push ebx
call esi
push 2
pop eax
cmp dword [0x42b95c], edi
jne 0x413ece
mov dword [0x42b95c], eax
cmp dword [0x42b924], edi
jne 0x413edb
mov dword [0x42b924], eax
mov ecx, dword [0x42b920]
xor edx, edx
mov eax, ecx
mov dword [ebp - 4], 0x15
div dword [ebp - 4]
mov dword [edx*4 + 0x42b920], ecx
mov ecx, dword [0x42b920]
inc ecx
xor edx, edx
mov eax, ecx
div dword [ebp - 4]
mov dword [0x42b920], ecx
mov dword [edx*4 + 0x42b920], ecx
inc dword [0x42b920]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x413f35
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov ecx, dword [0x42b920]
xor edx, edx
mov eax, ecx
div dword [ebp - 4]
push 2
pop eax
mov dword [edx*4 + 0x42b920], ecx
inc dword [0x42b920]
cmp dword [0x42b954], edi
jne 0x413f5f
mov dword [0x42b954], eax
mov edi, dword [ebp + 0x10]
test dword [edi + 4], 0x80000000
je 0x413fb2
cmp dword [0x42b95c], 1
jne 0x413f79
mov dword [0x42b95c], eax
mov edx, dword [edi + 4]
and edx, 0x7fffffff
cmp dword [0x42b958], 1
jne 0x413f90
mov dword [0x42b958], eax
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
and eax, 0xfffffffe
push eax
lea eax, [edx + ecx]
push eax
push ecx
push dword [ebp + 8]
call fcn.00414193
add esp, 0x14
jmp 0x41418e
mov dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x413fd4
push ebx
push str.there
push 0x42682c
push ebx
call esi
xor eax, eax
inc eax
cmp dword [0x42b964], eax
jne 0x413fe9
mov dword [0x42b964], 2
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x414007
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x414029
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov ecx, dword [0x42b920]
xor edx, edx
mov eax, ecx
div dword [ebp - 4]
mov dword [edx*4 + 0x42b920], ecx
inc dword [0x42b920]
mov dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x414065
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov ecx, dword [0x42b920]
xor edx, edx
mov eax, ecx
div dword [ebp - 4]
xor eax, eax
inc eax
mov dword [edx*4 + 0x42b920], ecx
inc dword [0x42b920]
cmp dword [0x42b93c], eax
jne 0x414094
mov dword [0x42b93c], 2
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x4140b2
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x4140d4
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x4140f6
push ebx
push str.there
push 0x42682c
push ebx
call esi
mov esi, dword [edi + 4]
mov ecx, 0x7fffffff
and esi, ecx
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
and eax, ecx
cmp dword [0x42b960], 1
jne 0x41411a
mov dword [0x42b960], 2
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
lea edi, [eax + ebx]
lea eax, [ebp - 8]
push eax
push 4
push dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41418e
mov eax, dword [ebp + 0x18]
push 4
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0
pop eax
sub ecx, ebx
test byte [ebp + 0x14], 0x40
setne al
lea eax, [eax*2 - 1]
push eax
mov eax, dword [0x430fa0]
imul eax, dword [esi]
push eax
mov eax, dword [0x430f9c]
imul eax, dword [esi]
push eax
mov eax, dword [0x430f98]
xor eax, ecx
push eax
push dword [esi + 4]
push edi
call fcn.00414a18
add esp, 0x24
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
leave
ret