Function at 0x4127b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x448458]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push edi
movdqu xmmword [ebp - 0x2c], xmm0
test esi, esi
je 0x412ae6
test edx, edx
je 0x412ae6
cmp dword [ebp + 8], 0
je 0x412ae6
mov ecx, edx
call fcn.00411180
mov dword [ebp - 0x40], eax
test eax, eax
je 0x412ae6
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.00411200
cmp eax, 0xffffffff
je 0x412aca
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
mov ecx, esi
test ebx, ebx
je 0x41282b
call fcn.004126f0
jmp 0x412830
call fcn.00412620
test eax, eax
je 0x412aca
push 1
push dword [ebp - 0x20]
call fcn.00423734
mov edi, eax
add esp, 8
test edi, edi
je 0x412ae6
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x412873
push ecx
mov ecx, dword [ebp - 0x24]
mov edx, edi
push eax
xor eax, eax
add ecx, dword [ebp - 0x14]
adc eax, dword [ebp - 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00422c20
add esp, 0x10
jmp 0x412885
push 0
push eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x4128ae
push edi
call fcn.0042468a
mov ecx, dword [ebp - 0x40]
add esp, 4
call fcn.00411310
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, edi
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x38], 0
call fcn.00412440
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x24]
sub eax, edi
xor edi, edi
add ebx, eax
mov eax, dword [ebp + 8]
add ebx, dword [ebp - 0x14]
push ecx
adc edi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x10], edi
push ecx
je 0x4129fd
mov ecx, 0x46dc55
mov dword [ebp - 0x24], 0x25ff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x18], 0
call fcn.004123e0
push ecx
push 0xf
push edi
push ebx
mov edx, 0x46dd61
mov dword [0x46dd59], ebx
mov ecx, esi
mov dword [0x46dd5d], edi
call fcn.00422c20
add esp, 0x10
test eax, eax
je 0x412aca
sub esp, 0x10
mov ecx, esi
call fcn.004229b0
mov ecx, edx
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x34], ecx
or eax, ecx
je 0x412aca
push ecx
push 0x1ac
push ecx
push edi
mov edx, 0x46dc50
mov ecx, esi
call fcn.00422ce0
add esp, 0x10
test eax, eax
jne 0x41299e
mov eax, dword [ebp - 0x34]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00422a80
mov ecx, dword [ebp - 0x40]
add esp, 0xc
call fcn.00411310
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
push eax
push ecx
push dword [ebp - 0x10]
mov ecx, esi
push ebx
call fcn.00422b50
add esp, 0x10
test eax, eax
mov eax, dword [ebp - 0x34]
push ecx
mov ecx, esi
jne 0x4129e1
push eax
push edi
call fcn.00422a80
mov ecx, dword [ebp - 0x40]
add esp, 0xc
call fcn.00411310
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret
push 0xe
push dword [ebp - 0x10]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1e], edi
push ebx
mov dword [ebp - 0x1a], eax
call fcn.00422ce0
add esp, 0x10
jmp 0x412abf
mov ecx, 0x46de05
mov dword [ebp - 0x14], 0xe9
mov byte [ebp - 0x10], 0
call fcn.004123e0
push 0
push 5
push 0x46df0d
push ebx
push esi
mov dword [0x46df09], ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
js 0x412aca
push 0x40
push 0x1000
push 0x177
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cdq
mov edi, eax
or eax, edx
je 0x412aca
push 0
push 0x177
push 0x46de00
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
js 0x412a79
lea eax, [ebp - 0x38]
push eax
push 0x40
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x412aa7
push 0x8000
push 0x177
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 0x40]
call fcn.00411310
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret
push 0
push 5
lea eax, [ebp - 0x14]
sub edi, ebx
push eax
push ebx
sub edi, 5
push esi
mov dword [ebp - 0x13], edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x412aca
mov dword [ebp - 0x3c], 1
mov ecx, dword [ebp - 0x40]
call fcn.00411310
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422f38
mov esp, ebp
pop ebp
ret