Function at 0x4327f5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push edi
mov dword [ebp - 0x10], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x49b9c8], eax
je 0x43281f
mov eax, 0x10dd
jmp 0x432a00
mov eax, dword [0x49b9cc]
test eax, eax
jne 0x432a00
test ebx, ebx
jne 0x432838
push 6
pop eax
jmp 0x432a00
mov ecx, dword [ebx]
push esi
test ecx, ecx
jne 0x43284d
push 6
pop edi
mov dword [0x49b9cc], edi
jmp 0x4329bd
mov dword [ebp - 4], edi
mov ebx, edi
call fcn.0043242d
mov ecx, dword [ebp - 0xc]
mov esi, eax
mov dword [ebp - 0x14], esi
call fcn.0043242d
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x43287c
cmp dword [0x49b9b0], ebx
jne 0x4329ba
jmp 0x432998
push 0x18
call fcn.0043ae82
mov ebx, eax
mov dword [ebp - 0x1c], ebx
pop ecx
test ebx, ebx
jne 0x432895
push 8
pop edi
jmp 0x432998
mov ecx, esi
call fcn.004321c2
mov dword [ebp - 4], eax
test eax, eax
je 0x43288d
mov ebx, edi
mov edx, esi
mov dword [ebp - 8], ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], edx
push ecx
push ecx
lea ecx, [ebx + eax]
mov dword [ebp - 0xc], edi
call fcn.00432b0c
mov edx, eax
cmp dword [ebp - 0xc], edi
jne 0x4328dc
mov ecx, dword [ebp - 8]
mov ebx, edx
sub ebx, esi
call fcn.0043214c
test eax, eax
jne 0x4328dc
mov eax, dword [ebp - 4]
cmp ebx, 5
jl 0x4328aa
mov dword [ebp - 8], ebx
cmp ebx, 5
mov ebx, dword [ebp - 0x1c]
jge 0x4328fc
cmp dword [0x49b9b0], 0
push 9
pop edi
jne 0x43299e
jmp 0x432998
mov eax, dword [ebp - 8]
cmp eax, 0x12
jbe 0x432908
push 6
jmp 0x43288f
mov ecx, dword [ebp - 4]
lea edx, [eax + esi]
mov esi, dword [ebp - 0x20]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], esi
lea esi, [ecx + 0x17]
add ecx, eax
mov byte [esi], al
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub edx, eax
mov eax, edi
and dword [ebp - 0x20], eax
mov dword [ecx + 1], edx
add ecx, 5
mov edx, esi
sub edx, ecx
cmp ecx, esi
cmova edx, dword [ebp - 0x20]
test edx, edx
je 0x432948
mov byte [ecx], 0xcc
inc ecx
inc eax
cmp eax, edx
jb 0x43293f
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x40
push dword [ebp - 8]
mov dword [ebp - 0x18], edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x432990
mov ecx, esi
call fcn.004323cc
mov esi, eax
test esi, esi
je 0x4329d5
mov eax, 0x6544
cmp word [esi + 0x1c], ax
je 0x4329d5
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push eax
push 0x40
push 0x40
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4329c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [0x49b9cc], edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x4329ac
mov ecx, eax
call fcn.004323ab
test ebx, ebx
je 0x4329ba
push 0x18
push ebx
call fcn.0043ae51
pop ecx
pop ecx
mov ebx, dword [ebp - 0x10]
mov dword [0x49b9c0], ebx
mov eax, edi
jmp 0x4329ff
mov dword [esi + 0x1c], 0x6f746544
mov dword [esi + 0x20], 0x21737275
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], eax
mov dword [ebx + 4], edi
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x14], eax
mov eax, dword [0x49b9b4]
mov dword [ebx], eax
xor eax, eax
mov dword [0x49b9b4], ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc