Function at 0x534120
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x62e040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov edx, ecx
mov dword [ebp - 0xa4], edx
test edi, edi
jne 0x53415e
mov eax, 0xc000000d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword fs:[0x18]
mov eax, dword [0x637340]
cmp eax, dword [ecx + 0x24]
je 0x53418b
mov eax, 0xc0000476
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x63733c]
test eax, eax
jne 0x53464d
test edx, edx
je 0x5341b4
mov ecx, dword ds:[edx]
test ecx, ecx
jne 0x5341cc
mov dword [0x63733c], 0xc0000008
mov dword [0x637348], edx
mov eax, 0xc0000008
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x90], eax
call fcn.00533de0
mov ecx, edi
mov dword [ebp - 0x84], eax
call fcn.00533de0
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp - 0x84]
jne 0x534211
jmp 0x534200
cmp dword [0x6350d4], ebx
jne 0x534640
jmp 0x53466a
push 0x18
call fcn.005804fd
mov esi, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
add esp, 4
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.005338c0
mov ecx, dword [0x637344]
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x80]
mov eax, dword [0x63734c]
test ecx, ecx
jne 0x53425c
test eax, eax
je 0x534270
mov ecx, eax
mov dword [0x637344], ecx
mov edx, dword ds:[ecx + 8]
test edx, edx
je 0x534270
cmp edx, edi
jb 0x534270
cmp edx, ebx
jbe 0x53431d
mov ecx, eax
mov dword [0x637344], ecx
test eax, eax
je 0x5342ba
mov edx, eax
mov esi, eax
mov edi, eax
mov eax, dword [eax + 8]
test eax, eax
je 0x53429a
mov edx, esi
cmp eax, dword [ebp - 0x80]
jb 0x53429a
mov edx, edi
cmp eax, ebx
jbe 0x534314
mov ecx, dword [edx + 4]
mov eax, ecx
mov dword [0x637344], ecx
test eax, eax
je 0x5342b1
mov edx, ecx
mov esi, ecx
mov edi, ecx
jmp 0x534282
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ecx, esi
mov edx, edi
push ebx
and ecx, 0xffff0000
call fcn.00533bc0
mov ecx, eax
test ecx, ecx
je 0x534663
mov dword [ecx], 0x52334953
xor edx, edx
mov dword [ecx + 8], 0
mov esi, 0x38b
mov eax, dword [0x63734c]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xffa8]
mov dword [0x637344], ecx
mov dword [0x63734c], ecx
mov dword [eax + 0x40], edx
mov edx, eax
sub eax, 0x48
sub esi, 1
jne 0x534302
mov dword [ecx + 8], edx
jmp 0x534317
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x80], ebx
cmp ebx, edi
jb 0x534663
cmp ebx, dword [ebp - 0x88]
ja 0x534663
mov eax, dword [ebx + 0x40]
push 0x48
push 0xcc
push ebx
mov dword [ecx + 8], eax
call fcn.00582250
add esp, 0xc
test ebx, ebx
je 0x534665
lea eax, [ebx + 0x38]
mov dword [ebp - 0x88], 0
xor ecx, ecx
mov dword [ebp - 0x9c], eax
mov dword [eax], ecx
mov edi, esi
mov dword [eax + 4], ecx
mov ecx, ebx
mov dword [ebp - 0x8c], ecx
lea esp, [esp]
mov ebx, dword [ebp - 0x8c]
lea eax, [ebp - 0x50]
test ebx, ebx
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x7c], 0
mov esi, edi
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x98]
mov dword [ebp - 0xa8], esi
cmovne ecx, ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x98], 0
test edi, edi
jne 0x5343f5
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x53441e
movzx eax, byte [edi]
mov esi, dword [eax*8 + 0x63a84c]
lea eax, [eax*8 + 0x63a848]
push edi
push ecx
push eax
mov ecx, esi
call dword [0x5a38f4]
lea ecx, [ebp - 0x7c]
call esi
mov esi, dword [ebp - 0xa8]
mov edi, eax
mov edx, dword [ebp - 0x80]
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0x98]
add ebx, eax
mov dword [ebp - 0x8c], ebx
mov ebx, edi
sub ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x8c]
mov al, bl
sub cl, dl
and al, 7
shl cl, 3
or cl, al
mov eax, dword [ebp - 0x9c]
mov byte [eax], cl
inc eax
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x88], ecx
cmp ecx, 8
jae 0x5344c9
mov al, byte [esi]
cmp al, 0xeb
je 0x5344c9
cmp al, 0xe9
je 0x5344c9
cmp al, 0xe0
je 0x5344c9
cmp al, 0xc2
je 0x5344c9
nop
cmp al, 0xc3
je 0x5344c9
cmp al, 0xcc
je 0x5344c9
cmp al, 0xf3
jne 0x53453f
cmp byte [esi + 1], 0xc3
je 0x5344c9
cmp al, 0x26
je 0x5344b0
cmp al, 0x2e
je 0x5344b0
mov edi, edi
cmp al, 0x36
je 0x5344b0
cmp al, 0x3e
je 0x5344b0
cmp al, 0x64
je 0x5344b0
cmp al, 0x65
jne 0x5344bc
cmp byte [esi + 1], 0xff
jne 0x5344bc
cmp byte [esi + 2], 0x25
je 0x5344c9
lea esp, [esp]
cmp ebx, 5
jb 0x534380
mov esi, dword [ebp - 0x84]
cmp ebx, 5
jae 0x5344fc
mov ecx, edi
call fcn.00533960
jmp 0x5344e0
test eax, eax
je 0x534613
add edi, eax
mov ebx, edi
sub ebx, esi
cmp ebx, 5
jb 0x5344d4
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x88]
lea esp, [esp]
cmp ecx, 8
ja 0x534613
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + 0x1e]
cmp eax, ecx
jbe 0x534517
int3
sub al, dl
mov byte [edx + 0x36], bl
push ebx
mov byte [edx + 0x1e], al
lea eax, [edx + 0x20]
push esi
push eax
call fcn.005823b0
add esp, 0xc
cmp ebx, 0x19
jbe 0x534551
mov ebx, dword [ebp - 0x80]
mov esi, 0xc0000008
jmp 0x53466a
nop
cmp al, 0xff
jne 0x534496
cmp byte [esi + 1], 0x25
jmp 0x5344ba
mov edi, dword [ebp - 0x80]
add esi, ebx
mov eax, dword [ebp - 0x94]
movzx ecx, byte [edi + 0x1e]
lea edx, [edi + 0x1e]
add ecx, edi
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], esi
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub esi, eax
mov dword [ecx + 1], esi
add ecx, 5
call fcn.00533880
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xa0]
push eax
push 0x40
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa0], 0
push eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xac], ebx
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov esi, eax
test esi, esi
jns 0x5345c6
mov ebx, edi
jmp 0x53466a
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], 0
mov dword [ecx + 0x10], edi
mov eax, dword [ebp - 0xa0]
mov dword [ecx + 0x14], eax
mov eax, dword [0x637354]
mov dword [ecx], eax
xor eax, eax
mov dword [0x637354], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x6350d4], 0
mov esi, 0xc0000141
mov ebx, dword [ebp - 0x80]
je 0x53466a
mov edi, dword [ebp - 0x90]
mov ecx, ebx
call fcn.00533da0
test edi, edi
je 0x534640
push 0x18
push edi
call fcn.00580582
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [0x637348], eax
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
mov esi, 0xc0000017
mov edi, dword [ebp - 0x90]
mov dword [0x63733c], esi
test ebx, ebx
je 0x534631
jmp 0x53462a