Function at 0x410450
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430146
mov eax, dword fs:[0]
push eax
sub esp, 0xb98
mov eax, dword [0x43c0d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x54], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0xba4], edi
jne 0x410495
mov al, 1
jmp 0x410899
xorps xmm0, xmm0
lea eax, [ebp - 0xb9c]
movups xmmword [ebp - 0x30], xmm0
push 0x3fc
movups xmmword [ebp - 0x20], xmm0
push 0
movups xmm0, xmmword [edi]
push eax
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebp - 0x40], xmm0
call fcn.00424230
add esp, 0xc
lea ecx, [ebp - 0xb9c]
call fcn.004055b0
push 1
push 1
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xb9c]
call fcn.00406210
test al, al
je 0x410881
mov eax, dword [esi + 8]
lea ecx, [ebp - 0xb9c]
cdq
push edx
push eax
call fcn.00417a50
test al, al
je 0x410881
push 0x41
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.00424230
add esp, 0xc
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x50], 0x10
jb 0x41052a
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x638]
push eax
push ecx
lea ecx, [ebp - 0xb9c]
call fcn.0041f7f0
test al, al
je 0x410881
push 0
push 1
push dword [ebp - 0x4d8]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push 4
push eax
lea ecx, [ebp - 0xb9c]
call fcn.00419c90
test al, al
je 0x410881
push 0
push 1
push 0
push dword [ebp - 0x60]
lea ecx, [ebp - 0xb9c]
call fcn.00419b30
push eax
push 0x20
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xb9c]
call fcn.00419c90
test al, al
je 0x410881
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
push 0
push 1
mov ecx, esi
call fcn.0040ef50
test al, al
je 0x410879
push 0x3fc
lea eax, [ebp - 0x4d0]
push 0
push eax
call fcn.00424230
add esp, 0xc
lea ecx, [ebp - 0x4d0]
call fcn.004055b0
push 0
push 0
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 2
call fcn.00406410
test al, al
jne 0x41061f
lea eax, [ebp - 0x5c]
push eax
push 0
jmp 0x410865
push 0x41
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00424230
add esp, 0xc
lea ecx, [esi + 0x3c]
cmp dword [esi + 0x50], 0x10
jb 0x41063e
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0xd4]
push eax
push ecx
lea ecx, [ebp - 0x4d0]
call fcn.0041f8a0
test al, al
je 0x410687
mov ecx, dword [ebp - 0x4e0]
mov eax, edi
sub eax, dword [esi + 8]
cmp ecx, eax
je 0x410687
mov eax, dword [esi + 0x58]
test eax, eax
je 0x41066e
mov byte [eax], 1
mov eax, dword [esi + 8]
lea edi, [esi + 0x3c]
add eax, ecx
lea ecx, [ebp - 0x4d0]
push 0
push eax
push edi
call fcn.00417ea0
jmp 0x41068a
lea edi, [esi + 0x3c]
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
push 0
push 0
call fcn.0040ef50
test al, al
je 0x41086e
lea ecx, [ebp - 0x4d0]
call fcn.00415990
lea ecx, [ebp - 0x5c]
call fcn.00405c40
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
push dword [esi + 8]
mov ecx, esi
push 1
call fcn.0040ef50
test al, al
je 0x410879
push 0x3fc
lea eax, [ebp - 0x4d0]
push 0
push eax
call fcn.00424230
add esp, 0xc
lea ecx, [ebp - 0x4d0]
call fcn.004055b0
push 1
push 0
push dword [esi + 8]
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 4
push 0
call fcn.00417110
test al, al
je 0x41085e
push 0x41
lea eax, [ebp - 0x798]
push 0
push eax
call fcn.00424230
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x410752
mov eax, dword [edi]
lea ecx, [ebp - 0x7a0]
push ecx
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0041f7f0
test al, al
je 0x41085e
push 0
push dword [ebp - 0x640]
lea ecx, [ebp - 0x4d0]
call fcn.00419b30
mov ecx, dword [ebp - 0x4e0]
cmp ecx, dword [ebp - 0x648]
je 0x4107ae
cmp byte [ebp - 0x754], 0
jne 0x4107ae
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4107a1
mov byte [eax], 1
push ecx
push edi
lea ecx, [ebp - 0x4d0]
call fcn.00417d40
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
push dword [esi + 8]
push 0
call fcn.0040ef50
test al, al
je 0x41086e
lea ecx, [ebp - 0x4d0]
call fcn.00415990
lea ecx, [ebp - 0x5c]
call fcn.00405c40
lea ecx, [ebp - 0x50]
mov edi, 0x1c
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41080b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4107e4
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4107ff
mov byte [eax], 0
mov byte [ebp - 0xb9d], 1
jmp 0x410888
mov eax, dword [esi + 0x58]
test eax, eax
je 0x410815
mov byte [eax], 1
mov edi, dword [ebp - 0xba4]
lea eax, [ebp - 0x60]
push eax
push 0x40
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4107f5
xor eax, eax
mov cl, byte [ebp + eax - 0x30]
cmp byte [ebp + eax - 0x50], cl
je 0x41083d
mov byte [edi + eax], cl
inc eax
cmp eax, 0x20
jb 0x410830
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x60]
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xb9d]
jmp 0x410888
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 8]
push 0
mov ecx, esi
call fcn.0040ef50
lea ecx, [ebp - 0x4d0]
call fcn.00415990
lea ecx, [ebp - 0x5c]
call fcn.00405c40
mov byte [ebp - 0xb9d], 0
lea ecx, [ebp - 0xb9c]
call fcn.00415990
mov al, byte [ebp - 0xb9d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042264a
mov esp, ebp
pop ebp
ret 4