Function at 0x14732df
Capabilities:
Allocate or change rwx memory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
call fcn.01473940
mov dword [ebp - 0x24], eax
mov eax, dword [0x147a5fc]
mov dword [ebp - 0x28], eax
mov eax, dword [0x147a600]
mov dword [ebp - 0x18], eax
push 0x40
push 0x3000
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [0x147a5f0], 1
jne 0x1473383
push 0x208
push 0
lea eax, [ebp - 0x338]
push eax
call fcn.0146bf12
add esp, 0xc
push 0x208
lea eax, [ebp - 0x338]
push eax
call fcn.014739bc
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x146afbc
lea eax, [ebp - 0x338]
push eax
call fcn.0146bf40
pop ecx
pop ecx
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x147a590], eax
cmp dword [0x147a5f0], 1
jne 0x14733e9
push 0x104
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf12
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.014739ee
pop ecx
push 0x146afcc
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf40
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf67
pop ecx
push eax
lea eax, [ebp - 0x130]
push eax
push dword [0x147a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.01474ad0
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x24]
call fcn.01473913
pop ecx
cmp dword [0x147a5f0], 1
jne 0x147346f
push 0x104
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf12
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.014739ee
pop ecx
push 0x146afe4
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf40
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf67
pop ecx
push eax
lea eax, [ebp - 0x130]
push eax
push dword [0x147a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
and dword [ebp - 4], 0
jmp 0x147347c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [0x147a604]
je 0x14734ef
imul eax, dword [ebp - 4], 0xc
mov eax, dword [eax + 0x147a608]
add eax, 0x147a5a0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
imul eax, dword [ebp - 4], 0xc
push dword [eax + 0x147a60c]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
imul eax, dword [ebp - 4], 0xc
push dword [eax + 0x147a60c]
imul eax, dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x147a610]
push ecx
push dword [ebp - 0x1c]
call fcn.0146bec6
add esp, 0xc
push 0
push dword [ebp - 0x20]
imul eax, dword [ebp - 4], 0xc
push dword [eax + 0x147a60c]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1473475
push dword [0x147a5c4]
mov eax, dword [0x147a5c0]
add eax, 0x147a5a0
push eax
mov eax, dword [0x147a5b0]
add eax, 0x147a5a0
push eax
call fcn.01473745
add esp, 0xc
cmp dword [0x147a5f0], 1
jne 0x1473579
push 0x104
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf12
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.014739ee
pop ecx
push 0x146affc
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf40
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf67
pop ecx
push eax
lea eax, [ebp - 0x130]
push eax
push dword [0x147a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x147a5a0
sub eax, dword [0x147a5a8]
push eax
push dword [0x147a5bc]
mov eax, dword [ebp - 0xc]
add eax, dword [0x147a5b8]
push eax
mov eax, dword [0x147a5b0]
add eax, 0x147a5a0
push eax
call fcn.01473a44
add esp, 0x10
cmp dword [0x147a5f0], 1
jne 0x147360e
push 0x104
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf12
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.014739ee
pop ecx
push 0x146b00c
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf40
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf67
pop ecx
push eax
lea eax, [ebp - 0x130]
push eax
push dword [0x147a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x8000
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [0x147a5f0], 1
jne 0x1473690
push 0x104
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf12
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call fcn.014739ee
pop ecx
push 0x146b020
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf40
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0146bf67
pop ecx
push eax
lea eax, [ebp - 0x130]
push eax
push dword [0x147a590]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x147a590]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x147a5cc], 0
je 0x1473741
cmp dword [0x147a5d0], 0
je 0x1473741
and dword [ebp - 8], 0
and dword [ebp - 0x2c], 0
mov eax, dword [0x147a5c8]
add eax, 0x147a5a0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x147a5cc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x147a5d0]
mov dword [eax + 4], ecx
push 0
push dword [ebp - 0x20]
push 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x146b034
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1473719
push 0x146b034
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1473730
push 0x146b040
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x147a5b0]
add eax, 0x147a5a0
push eax
call fcn.0146c0d4
pop ecx
xor eax, eax
leave
ret