Function at 0x41b600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 4], 0
push ebx
lea ebx, [ecx + 4]
je 0x41b838
cmp dword [0x576520], 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
jne 0x41b684
push 0
call edi
push eax
push 0x576520
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x41b684
mov esi, dword [0x57652c]
mov dword [0x576534], eax
mov dword [0x576530], eax
mov dword [0x576528], eax
test esi, esi
je 0x41b67d
nop dword [eax]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x41b6c8
mov esi, dword [esi + 4]
test esi, esi
jne 0x41b660
xor eax, eax
mov dword [0x57651c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.00453533
call edi
cmp dword [0x576520], eax
jne 0x41b831
cmp dword [0x57651c], 0
jne 0x41b831
test ebx, ebx
je 0x41b831
cmp dword [ebx], 0
jne 0x41b6d0
mov dword [0x57651c], 6
jmp 0x41b82b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41b67f
push 0x18
call fcn.004f8c17
mov esi, dword [ebx]
add esp, 4
mov dword [ebp - 0x10], eax
test esi, esi
je 0x41b73a
cmp byte [esi], 0xff
jne 0x41b700
cmp byte [esi + 1], 0x25
jne 0x41b700
mov edi, dword [esi + 2]
mov ecx, esi
mov edx, edi
call fcn.00452bb4
test al, al
je 0x41b700
mov esi, dword [edi]
cmp byte [esi], 0xeb
jne 0x41b73a
movsx eax, byte [esi + 1]
add esi, 2
add esi, eax
mov al, byte [esi]
cmp al, 0xff
jne 0x41b72e
cmp byte [esi + 1], 0x25
jne 0x41b72e
mov edi, dword [esi + 2]
mov ecx, esi
mov edx, edi
call fcn.00452bb4
test al, al
je 0x41b73a
mov esi, dword [edi]
jmp 0x41b73a
cmp al, 0xe9
jne 0x41b73a
mov eax, dword [esi + 1]
add esi, 5
add esi, eax
mov edi, 0x41b850
cmp byte [edi], 0xff
jne 0x41b765
mov ecx, 0x41b850
cmp byte [ecx + 1], 0x25
jne 0x41b765
mov eax, dword [ecx + 2]
mov edx, eax
mov dword [ebp - 8], eax
call fcn.00452bb4
test al, al
je 0x41b765
mov edi, dword [ebp - 8]
mov edi, dword [edi]
cmp byte [edi], 0xeb
jne 0x41b7a5
movsx eax, byte [edi + 1]
add edi, 2
add edi, eax
mov al, byte [edi]
cmp al, 0xff
jne 0x41b799
cmp byte [edi + 1], 0x25
jne 0x41b799
mov eax, dword [edi + 2]
mov ecx, edi
mov edx, eax
mov dword [ebp - 8], eax
call fcn.00452bb4
test al, al
je 0x41b7a5
mov edi, dword [ebp - 8]
mov edi, dword [edi]
jmp 0x41b7a5
cmp al, 0xe9
jne 0x41b7a5
mov eax, dword [edi + 1]
add edi, 5
add edi, eax
movzx ecx, byte [esi + 0x36]
mov eax, dword [esi + 0x40]
sub eax, ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x41b80b
cmp ecx, 0x1e
ja 0x41b80b
cmp dword [esi + 0x44], edi
jne 0x41b80b
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push edx
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x41b7e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41b819
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], 1
mov dword [ecx + 8], ebx
mov dword [ecx + 0x10], esi
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [0x576534]
mov dword [ecx], eax
mov dword [0x576534], ecx
jmp 0x41b831
cmp dword [0x5764a0], 0
mov eax, 9
jne 0x41b81e
mov dword [0x57651c], eax
push 0x18
push dword [ebp - 0x10]
call fcn.004f8ec4
add esp, 8
mov dword [0x576528], ebx
call fcn.0045327e
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.004f8955
mov esp, ebp
pop ebp
ret