Function at 0x448aba
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x28
push esi
xor esi, esi
push edi
mov edi, esi
test eax, eax
je 0x448acf
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x448ad8
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x448ae1
mov dword [eax], esi
cmp dword [ebp + 0xc], esi
jne 0x448aee
push 0x57
pop eax
jmp 0x448d58
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x455f7c], eax
je 0x448b06
mov eax, 0x10dd
jmp 0x448d58
mov eax, dword [0x455f80]
test eax, eax
jne 0x448d58
mov eax, dword [ebp + 8]
test eax, eax
jne 0x448b1e
push 6
jmp 0x448ae8
mov ecx, dword [eax]
test ecx, ecx
jne 0x448b39
push 6
pop ecx
mov dword [0x455f84], eax
mov eax, ecx
mov dword [0x455f80], ecx
jmp 0x448d58
push ebx
push 0
push ecx
mov ebx, esi
call fcn.00448a2e
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.00448a2e
mov ecx, eax
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 4]
jne 0x448b6c
cmp dword [0x455f74], ebx
jne 0x448d4d
jmp 0x448d25
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
test eax, eax
je 0x448b78
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x448b81
mov dword [eax], ecx
push 0x18
call fcn.0042cdbc
mov esi, eax
mov dword [ebp - 0x24], esi
pop ecx
test esi, esi
jne 0x448b9a
push 8
pop edi
jmp 0x448d25
push edi
call fcn.0044858c
mov ebx, eax
test ebx, ebx
je 0x448b92
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x448baf
mov dword [eax], ebx
lea eax, [ebx + 0x38]
mov ecx, ebx
and dword [eax], 0
mov esi, edi
and dword [eax + 4], 0
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x1e]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0xc], eax
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], esi
push eax
push ecx
call fcn.00449827
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edx, esi
sub eax, dword [ebp - 0x1c]
sub edx, edi
add eax, esi
mov dword [ebp - 8], esi
add ecx, eax
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x14], ecx
mov al, dl
sub cl, bl
and al, 7
mov byte [ebp + 0xf], cl
shl cl, 3
or cl, al
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
mov ecx, dword [ebp - 0xc]
inc ecx
inc eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], eax
cmp ecx, 8
jae 0x448c3c
push dword [ebp - 0x1c]
call fcn.00448699
mov edx, dword [ebp + 0x18]
test eax, eax
jne 0x448c3c
mov ecx, dword [ebp + 0x14]
cmp edx, 5
jb 0x448bce
mov esi, dword [ebp - 0x24]
cmp edx, 5
jae 0x448c6b
mov eax, dword [ebp - 8]
push eax
call fcn.00448750
mov ecx, eax
test ecx, ecx
je 0x448d19
mov eax, dword [ebp - 8]
add eax, ecx
mov edx, eax
mov dword [ebp - 8], eax
sub edx, edi
mov dword [ebp + 0x18], edx
cmp edx, 5
jb 0x448c47
cmp dword [ebp - 0xc], 8
ja 0x448d19
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x10]
jbe 0x448c7e
int3
mov al, byte [ebp + 0xf]
push edx
mov byte [ebx + 0x1e], al
lea eax, [ebx + 0x20]
push edi
push eax
mov byte [ebx + 0x36], dl
call fcn.0042f9b0
mov edi, dword [ebp + 0x18]
add esp, 0xc
cmp edi, 0x19
jbe 0x448ca4
push 6
jmp 0x448b94
movzx ecx, byte [ebx + 0x1e]
mov edx, dword [ebp - 4]
add ecx, ebx
mov eax, dword [ebp - 0x28]
add edx, edi
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], edx
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub edx, eax
lea eax, [ecx + 5]
mov dword [ecx + 1], edx
push dword [ebp - 0x10]
push eax
call fcn.00448728
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push edi
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x448cf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x448d25
mov eax, dword [ebp + 8]
and dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [0x455f8c]
mov dword [esi], eax
xor eax, eax
mov dword [0x455f8c], esi
jmp 0x448d57
cmp dword [0x455f74], 0
push 9
pop edi
jne 0x448d2f
mov dword [0x455f80], edi
test ebx, ebx
je 0x448d3f
push ebx
call fcn.004486fc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x448d3f
and dword [eax], 0
test esi, esi
je 0x448d4d
push 0x18
push esi
call fcn.0042cdae
pop ecx
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x455f84], eax
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 0x14