Function at 0x41fab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x457cd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call fcn.0040c730
xor esi, esi
lea ecx, [ebp + 0x78]
mov dword [esp + 0x22c], esi
call fcn.004226e0
lea edi, [ebp + 0x1c]
mov byte [esp + 0x22c], 1
mov ecx, edi
call fcn.00423210
mov dword [ebp], 0x45a9f8
mov dword [edi], 0x45a9ec
mov dword [ebp + 0x58], 0x45a9c4
lea ecx, [ebp + 0x98]
mov dword [esp + 0x22c], 2
cmp ecx, esi
je 0x41fb2e
lea eax, [ecx - 0x98]
jmp 0x41fb30
xor eax, eax
push ecx
add eax, 8
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xa4]
mov byte [esp + 0x22c], 3
call fcn.00414540
lea ecx, [ebp + 0x16c]
mov byte [esp + 0x22c], 4
call fcn.00414540
lea ecx, [ebp + 0x234]
mov byte [esp + 0x22c], 5
call fcn.00415fb0
lea ecx, [ebp + 0x300]
mov byte [esp + 0x22c], 6
call fcn.0042e8c0
lea ecx, [ebp + 0x354]
mov byte [esp + 0x22c], 7
call fcn.0042df20
mov eax, dword [0x463058]
lea ebx, [ebp + 0x39c]
mov dword [ebx], eax
lea ecx, [ebp + 0x3b8]
mov byte [esp + 0x22c], 9
call fcn.0042c8d0
lea ecx, [ebp + 0x3d4]
mov byte [esp + 0x22c], 0xa
call fcn.0042c8d0
mov ecx, dword [0x463058]
mov dword [ebp + 0x3f0], ecx
lea ecx, [ebp + 0x3f4]
mov byte [esp + 0x22c], 0xc
call fcn.004173e0
mov dword [ebp], 0x45a9b8
mov dword [edi], 0x45a9ac
mov dword [ebp + 0x58], 0x45a984
mov dword [ebp + 0x3a4], esi
mov dword [ebp + 0x3a0], esi
mov dword [ebp + 0x3a8], esi
mov dword [ebp + 0x74], 2
mov dword [ebp + 0xa0], 0x14
mov dword [ebp + 0x384], esi
mov dword [ebp + 0x388], esi
mov dword [ebp + 0x38c], esi
mov dword [ebp + 0x390], esi
mov dword [ebp + 0x394], esi
mov dword [ebp + 0x398], 1
mov dword [ebp + 0x3ac], 0x3f800000
mov edx, dword [0x469708]
lea ecx, [esp + 0x24]
push pe_nt_image_headers32
mov eax, dword [edx + 8]
push ecx
push 0xa3
push eax
mov byte [esp + 0x23c], 0xd
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, esi
jne 0x41fc89
mov word [esp + 0x24], si
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x41fd07
lea eax, [esp + 0x24]
test eax, eax
jne 0x41fca1
xor edi, edi
jmp 0x41fcae
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00407470
test eax, eax
je 0x41fce6
mov ecx, dword [ebx]
lea eax, [edi + edi]
mov dword [esp + 0x10], eax
push eax
lea edx, [esp + 0x28]
lea eax, [edi + edi + 2]
push edx
push eax
push ecx
call fcn.00402e50
mov edx, dword [ebx]
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [ebx]
mov word [ecx + eax], si
mov dword [ebp + 0x428], esi
mov ecx, dword [esp + 0x224]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret
mov edi, 0xff
mov eax, dword [ebx]
add edi, 0x100
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
mov dword [esp + 0x1c], esi
jg 0x41fd30
cmp edi, dword [eax - 4]
jle 0x41fd8d
mov eax, dword [eax - 8]
cmp edi, eax
mov dword [esp + 0x10], eax
jge 0x41fd3f
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00403db0
test eax, eax
je 0x41fdc7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
lea eax, [edx + edx + 2]
cmp eax, ecx
jb 0x41fd7e
mov edi, dword [ebx]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
push esi
mov dword [eax - 8], ecx
call fcn.00403f10
mov ecx, dword [ebx]
test ecx, ecx
mov dword [esp + 0x14], ecx
je 0x41fdc7
mov edx, dword [0x469708]
lea esi, [edi + 1]
push esi
push ecx
mov eax, dword [edx + 8]
push 0xa3
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x41fdbc
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
sub esi, eax
cmp esi, 1
jle 0x41fd0c
mov ecx, ebx
call fcn.004073c0
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov edx, dword [ebx]
mov word [edx + eax*2], 0
mov dword [ebp + 0x428], 0
jmp 0x41fcec