Function at 0x410a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44a771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
call fcn.004133e0
lea edi, [esi + 0x78]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x22c], ebx
call fcn.00413720
or eax, 0xffffffff
mov byte [edi + 0x1c], bl
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
lea ebp, [esi + 0x1c]
mov byte [esp + 0x22c], 1
mov ecx, ebp
call fcn.0041c880
mov dword [esi], 0x44d72c
mov dword [ebp], 0x44d720
mov dword [esi + 0x58], 0x44d6f8
lea eax, [esi + 0x98]
mov dword [esp + 0x22c], 2
cmp eax, ebx
je 0x410ac2
lea ecx, [eax - 0x98]
jmp 0x410ac4
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esi + 0xa4]
mov byte [esp + 0x22c], 3
call fcn.0041cd40
lea ecx, [esi + 0x158]
mov byte [esp + 0x22c], 4
call fcn.0041cd40
lea ecx, [esi + 0x20c]
mov byte [esp + 0x22c], 5
call fcn.004244a0
lea ecx, [esi + 0x2c8]
mov byte [esp + 0x22c], 6
call fcn.0041e170
lea ecx, [esi + 0x394]
mov byte [esp + 0x22c], 7
call fcn.0041b490
lea ecx, [esi + 0x3e8]
mov byte [esp + 0x22c], 8
call fcn.00414210
lea ecx, [esi + 0x418]
mov byte [esp + 0x22c], 9
call fcn.0041ed50
lea ecx, [esi + 0x488]
mov byte [esp + 0x22c], 0xa
call fcn.0041ed50
mov eax, dword [0x455050]
lea edi, [esi + 0x510]
mov dword [edi], eax
mov dword [esi], 0x44d6ec
mov dword [ebp], 0x44d6e0
mov dword [esi + 0x58], 0x44d6b8
mov dword [esi + 0x518], ebx
mov dword [esi + 0x514], ebx
mov dword [esi + 0x51c], ebx
mov dword [esi + 0x74], 2
mov dword [esi + 0xa0], 0x14
mov dword [esi + 0x4f8], ebx
mov dword [esi + 0x4fc], ebx
mov dword [esi + 0x500], ebx
mov dword [esi + 0x504], ebx
mov dword [esi + 0x508], ebx
mov dword [esi + 0x50c], 1
mov ecx, dword [0x45b330]
lea edx, [esp + 0x24]
push pe_nt_image_headers32
push edx
mov eax, dword [ecx + 8]
push 0xa3
push eax
mov byte [esp + 0x23c], 0xc
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
jne 0x410c07
mov word [esp + 0x24], bx
mov ecx, pe_nt_image_headers32
sub ecx, eax
cmp ecx, 1
jle 0x410c6e
lea edx, [esp + 0x24]
test edx, edx
jne 0x410c1f
xor ebp, ebp
jmp 0x410c2c
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, edi
call fcn.0040ac40
test eax, eax
je 0x410d35
lea eax, [ebp + ebp]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
push eax
mov eax, dword [edi]
lea edx, [ebp + ebp + 2]
push ecx
push edx
push eax
call fcn.004017c0
mov ecx, dword [edi]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [ecx - 8], ebp
mov edx, dword [edi]
mov word [eax + edx], bx
jmp 0x410d35
mov ebp, 0xff
jmp 0x410c79
mov ebp, dword [esp + 0x1c]
mov eax, dword [edi]
add ebp, 0x100
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x10], ecx
jg 0x410c9d
cmp ebp, dword [eax - 4]
jle 0x410cf4
mov eax, dword [eax - 8]
cmp ebp, eax
mov dword [esp + 0x18], eax
jge 0x410cac
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00401820
test eax, eax
je 0x410d2c
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add ecx, 0xc
lea eax, [edx + edx + 2]
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [edi]
lea eax, [edx + edx + 2]
push eax
push ecx
call fcn.004017c0
mov edx, dword [edi]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [edx - 8], eax
push ecx
call fcn.004018c0
mov ecx, dword [edi]
cmp ecx, ebx
mov dword [esp + 0x10], ecx
je 0x410d2c
mov edx, dword [0x45b330]
inc ebp
push ebp
push ecx
mov eax, dword [edx + 8]
push 0xa3
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
jne 0x410d21
mov ecx, dword [esp + 0x10]
mov word [ecx], bx
sub ebp, eax
cmp ebp, 1
jle 0x410c75
push 0xffffffffffffffff
mov ecx, edi
call fcn.00404960
mov ecx, dword [esp + 0x224]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret