Function at 0x42071c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x420a28
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebx], eax
mov eax, edi
call fcn.00403ed4
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x20
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x420776
call fcn.0041e308
test al, al
je 0x420a0d
mov esi, dword [ebp - 4]
xor eax, eax
mov al, byte [esi]
lea eax, [eax + eax*4]
mov edx, dword [eax + 0x45e8a4]
mov dword [ebp - 0x11], edx
mov dl, byte [eax + 0x45e8a8]
mov byte [ebp - 0xd], dl
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004040cc
mov eax, dword [ebp - 0x1c]
mov edx, 0x420a44
call fcn.004042e0
je 0x4209fa
mov al, byte [ebp - 0x11]
cmp al, byte [esi]
jne 0x4209fa
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.004040cc
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a6c0
mov al, byte [ebp - 0x11]
push eax
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041f634
mov al, byte [ebp - 0x11]
push eax
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041f7dc
mov al, byte [ebp - 0x11]
push eax
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041f728
push 0x41d5ec
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420a58
call fcn.004203f8
push 0x41da74
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420a64
call fcn.004203f8
push 0x41d7e0
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420a70
call fcn.004203f8
push 0x41c8dc
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420a7c
call fcn.004203f8
push 0x41c61c
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420a88
call fcn.004203f8
push 0x41c3f8
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420a94
call fcn.004203f8
push 0x41c10c
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420aa0
call fcn.004203f8
push 0x41b7f4
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420aac
call fcn.004203f8
push 0x41bc7c
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420ab8
call fcn.004203f8
push 0x41bec4
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420ac4
call fcn.004203f8
push 0x41ba38
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420ad0
call fcn.004203f8
push 0x41b064
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420adc
call fcn.004203f8
push 0x41b2e4
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420ae8
call fcn.004203f8
push 0x41ae08
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420af4
call fcn.004203f8
push 0x41cfb8
push ebx
lea ecx, [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 0x420b00
call fcn.004203f8
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041f8d0
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.00420498
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041f9a4
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.00420288
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041fdf4
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041fa3c
mov ecx, ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0041ff48
cmp dword [0x45f2a4], 0
jne 0x4209bc
mov eax, dword [ebp - 4]
mov dword [0x45f2a4], eax
cmp byte [ebp + 8], 0
je 0x4209d1
mov ecx, ebx
mov edx, 0x45f2a4
lea eax, [ebp - 0x18]
call fcn.0041f1c8
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00403f28
mov byte [ebp - 5], 1
mov al, byte [ebp - 0x11]
cmp al, byte [0x45cf28]
jne 0x4209fa
mov ecx, ebx
mov edx, edi
mov eax, dword [ebp - 4]
inc eax
call fcn.004205dc
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x20
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420a2f
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403ef8
ret