Function at 0x4011e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
push esi
push edi
mov dword [ebp - 0x24], 0xa
call fcn.00401160
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [0x4adc98]
add eax, 0x42dc98
push eax
push 0x42dc98
lea esi, [ebp - 0x64]
call fcn.00401d80
mov dword [ebp - 0x90], 0
jmp 0x401230
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0xa
jge 0x4012c4
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x64]
call fcn.004019a0
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x64]
call fcn.00401950
lea esi, [ebp - 0xa8]
call fcn.00401e00
lea esi, [ebp - 0x64]
call fcn.004019f0
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0xa8]
call fcn.004019a0
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0xa8]
call fcn.00401950
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0x64]
call fcn.00401910
sub esp, 0xc
mov ecx, esp
mov edx, eax
mov eax, ecx
call fcn.004015d0
lea edx, [ebp - 0x64]
push edx
call fcn.00401eb0
call fcn.004015c0
lea eax, [ebp - 0xa8]
call fcn.004018f0
jmp 0x401221
call fcn.00401160
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], 5
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], ecx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], edx
and dword [ebp - 0x1d8], 0x7fffffff
fild qword [ebp - 0x1dc]
and dword [ebp - 0x1e0], 0x80000000
mov dword [ebp - 0x1e4], 0
fild qword [ebp - 0x1e4]
fchs
faddp st(1)
fmul qword [0x42b180]
fdiv qword [0x42b178]
fstp qword [ebp - 0x70]
fld qword [0x42b170]
fdiv qword [ebp - 0x70]
call fcn.00421aa0
add eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xac], 0
jmp 0x401366
mov eax, dword [ebp - 0xac]
add eax, 1
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0xa
cmp dword [ebp - 0xac], ecx
jge 0x401407
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x64]
call fcn.004019a0
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x64]
call fcn.00401950
lea esi, [ebp - 0xc4]
call fcn.00401e00
lea esi, [ebp - 0x64]
call fcn.004019f0
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0xc4]
call fcn.004019a0
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0xc4]
call fcn.00401950
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x64]
call fcn.00401910
sub esp, 0xc
mov ecx, esp
mov edx, eax
mov eax, ecx
call fcn.004015d0
lea edx, [ebp - 0x64]
push edx
call fcn.00401eb0
call fcn.004015c0
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xc4]
call fcn.004018f0
jmp 0x401357
sub esp, 0xc
mov eax, esp
lea edx, [ebp - 0x64]
call fcn.00401930
sub esp, 0xc
mov eax, esp
lea ecx, [ebp - 0x64]
call fcn.00401910
lea esi, [ebp - 0x88]
call fcn.00401f30
lea eax, [ebp - 0x88]
call fcn.00401a30
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004011a0
movzx eax, al
test eax, eax
je 0x401454
mov edi, dword [ebp - 4]
call fcn.004011b0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00403f90
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x8c], 4
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
call fcn.00405260
add esp, 0x14
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x44], ecx
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cdq
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], 0xdeadbeef
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cdq
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], 0xdeadbeef
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cdq
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x18], 0xdeadbeef
lea eax, [ebp - 0x28]
push eax
push 0x40
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x40
push 0x1000
mov edx, dword [ebp - 0x2c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.0040e470
add esp, 0xc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xf
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x78]
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov esp, dword [0x4aedcc]
mov ebp, dword [0x4aedd4]
mov ecx, dword [0x4aedd8]
mov edx, dword [0x4aeddc]
mov esi, dword [0x4aede0]
mov edi, dword [0x4aede4]
jmp eax