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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x688
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push ebx
push esi
push edi
cmp al, 0x74
je 0x1000559f
cmp al, 0x54
je 0x1000559f
cmp al, 0x66
je 0x10005185
cmp al, 0x46
jne 0x100052bc
mov eax, dword ds:[0x13c1aac]
add eax, 0x6ec
mov ecx, 0xbd
lea edi, [ebp - 0x394]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xc8]
test dx, dx
je 0x10005533
mov eax, dword [0x1000cd04]
mov byte [0x1000c722], 0
cmp eax, dword [0x1000cd08]
je 0x100051c7
mov dword [0x1000cd08], eax
movzx ecx, dx
xor esi, esi
mov dword [ebp - 8], esi
mov eax, ecx
cmp ecx, 0xbd3
ja 0x100052eb
je case.0x100053a9.6421
cmp ecx, 0x956
ja 0x100052cf
je case.0x100053a9.6421
cmp ecx, 0x242
ja 0x1000521b
je case.0x100053a9.6421
sub eax, 0x19c
cmp eax, 0x48
ja case.default.0x100053a9
movzx eax, byte [eax + 0x10005638]
jmp dword [eax*4 + 0x10005630]
cmp ecx, 0x6cb
ja 0x10005241
je case.0x100053a9.6421
sub eax, 0x309
cmp eax, 8
ja case.default.0x100053a9
movzx eax, byte [eax + 0x10005688]
jmp dword [eax*4 + 0x10005684]
cmp ecx, 0x6ee
je case.0x100053a9.6421
test ecx, ecx
je 0x100053b5
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x49099a
mov dword [ebp - 0xa0], str.Este_Item_nao_pode_ser_agrupado
mov dword [ebp - 8], 0x40
call esi
mov dword [0x49099b], 0xffff0000
mov eax, dword [0x684bb0]
mov dword [ebp - 0x9c], eax
push dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
call dword [0x1000c094]
lea eax, [ebp - 8]
mov dword [0x49099b], 0xffffaaaa
push eax
push dword [ebp - 8]
push 4
push 0x49099a
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006933
mov esp, ebp
pop ebp
ret
sub eax, 0x957
cmp eax, 0x39
ja case.default.0x100053a9
movzx eax, byte [eax + 0x1000569c]
jmp dword [eax*4 + 0x10005694]
cmp ecx, 0xcee
ja 0x10005317
je case.0x100053a9.6421
sub eax, 0xbd4
cmp eax, 0xca
ja case.default.0x100053a9
movzx eax, byte [eax + 0x100056e0]
jmp dword [eax*4 + 0x100056d8]
cmp ecx, 0xfaa
ja 0x10005341
je case.0x100053a9.6421
sub eax, 0xcf2
cmp eax, 0x51
ja case.default.0x100053a9
movzx eax, byte [eax + 0x100057b4]
jmp dword [eax*4 + 0x100057ac]
cmp ecx, 0x1327
ja 0x10005369
je case.0x100053a9.6421
sub eax, 0xfab
cmp eax, 0x87
ja case.default.0x100053a9
movzx eax, byte [eax + 0x10005810]
jmp dword [eax*4 + 0x10005808]
cmp ecx, 0x1914
ja 0x1000539b
je case.0x100053a9.6421
cmp ecx, 0x17d6
ja 0x10005390
je case.0x100053a9.6421
cmp ecx, 0x1328
je case.0x100053a9.6421
cmp ecx, 0x17d5
jmp 0x10005247
cmp ecx, 0x17d9
jmp 0x10005247
sub eax, 0x1915
cmp eax, 3
ja case.default.0x100053a9
jmp dword [eax*4 + 0x10005898]
mov esi, ecx
mov dword [ebp - 8], esi
xor ebx, ebx
nop word [eax + eax]
movzx eax, word [ebp + ebx*8 - 0x2b8]
cmp eax, esi
jne 0x100054d7
mov eax, dword ds:[0x13c1aac]
add eax, 0x6ec
mov ecx, 0xbd
lea edi, [ebp - 0x688]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax]
cmp word [ebp + ecx*8 - 0x5ac], dx
je 0x1000540b
inc ecx
or dl, 0xff
cmp ecx, 0x3f
jge 0x10005431
mov edx, dword [ebp - 0xc8]
jmp 0x100053f0
lea eax, [ebp - 0x5a9]
xor edx, edx
lea eax, [eax + ecx*8]
cmp byte [eax - 1], 0x3d
jne 0x1000542f
cmp byte [eax], 0x78
jne 0x1000542f
inc edx
add eax, 2
cmp edx, 3
jl 0x10005416
or dl, 0xff
jmp 0x10005431
mov dl, cl
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
mov eax, 0x14
movups xmmword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, 0x376
mov word [ebp - 0x18], ax
mov ecx, dword ds:[0x13c1aac]
add ecx, 0xdfc
xor eax, eax
mov ax, word ds:[ecx]
mov word [ebp - 0x16], ax
xor esi, esi
mov byte [ebp - 0x10], 1
mov byte [ebp - 0xf], dl
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], bl
mov byte [0x1000c722], 1
nop
mov eax, dword [esi + 0x10008894]
test eax, eax
je 0x100054b6
mov ecx, dword [0x1000cd08]
mov dword [ebp - 0x9c], eax
cmp ecx, dword [0x1000cd0c]
je 0x100054a9
mov dword [ecx], eax
add dword [0x1000cd08], 4
jmp 0x100054b6
lea eax, [ebp - 0x9c]
push eax
push ecx
call fcn.10003970
add esi, 4
cmp esi, 0x50
jb 0x10005480
lea eax, [ebp - 0x1c]
push 0x14
push eax
mov eax, 0x569b76
call eax
mov edx, dword [ebp - 0xc8]
add esp, 8
mov esi, dword [ebp - 8]
inc ebx
cmp ebx, 0x3f
jl 0x100053c0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x49099a
mov dword [ebp - 0x9c], str.Item_agrupado_com_sucesso.
mov dword [ebp - 8], 0x40
call esi
mov dword [0x49099b], 0xffffff00
mov eax, dword [0x684bb0]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
call dword [0x1000c094]
jmp 0x100052a2
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x49099a
mov dword [ebp - 0x9c], str.Coloque_o_item_no_ultimo_slot.
mov dword [ebp - 8], 0x40
call esi
mov dword [0x49099b], 0xffffff00
mov eax, dword [0x684bb0]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
call dword [0x1000c094]
lea eax, [ebp - 8]
mov dword [0x49099b], 0xffffaaaa
push eax
push dword [ebp - 8]
push 4
push 0x49099a
call esi
jmp 0x1000561a
mov ecx, dword ds:[0x13c1aac]
add ecx, 0xdfc
xor eax, eax
mov ax, word ds:[ecx]
mov eax, dword ds:[0x13c1aac]
add eax, 0x6ec
mov eax, 0x7c
mov word [ebp - 0x98], ax
mov eax, 0x334
mov word [ebp - 0x94], ax
mov ecx, dword ds:[0x13c1aac]
add ecx, 0xdfc
xor eax, eax
mov ax, word ds:[ecx]
mov word [ebp - 0x92], ax
mov eax, dword [str._carg]
mov dword [ebp - 0x8c], eax
mov ax, word [0x10008f0c]
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x98]
push 0x7c
push eax
mov eax, 0x569b76
call eax
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006933
mov esp, ebp
pop ebp
ret