Function at 0x534580
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 [0x62f040]
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 0x5345be
mov eax, 0xc000000d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword fs:[0x18]
mov eax, dword [0x638340]
cmp eax, dword [ecx + 0x24]
je 0x5345eb
mov eax, 0xc0000476
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x63833c]
test eax, eax
jne 0x534aad
test edx, edx
je 0x534614
mov ecx, dword ds:[edx]
test ecx, ecx
jne 0x53462c
mov dword [0x63833c], 0xc0000008
mov dword [0x638348], edx
mov eax, 0xc0000008
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x90], eax
call fcn.00534240
mov ecx, edi
mov dword [ebp - 0x84], eax
call fcn.00534240
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp - 0x84]
jne 0x534671
jmp 0x534660
cmp dword [0x6360d4], ebx
jne 0x534aa0
jmp 0x534aca
push 0x18
call fcn.0058099d
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.00533d20
mov ecx, dword [0x638344]
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x80]
mov eax, dword [0x63834c]
test ecx, ecx
jne 0x5346bc
test eax, eax
je 0x5346d0
mov ecx, eax
mov dword [0x638344], ecx
mov edx, dword ds:[ecx + 8]
test edx, edx
je 0x5346d0
cmp edx, edi
jb 0x5346d0
cmp edx, ebx
jbe 0x53477d
mov ecx, eax
mov dword [0x638344], ecx
test eax, eax
je 0x53471a
mov edx, eax
mov esi, eax
mov edi, eax
mov eax, dword [eax + 8]
test eax, eax
je 0x5346fa
mov edx, esi
cmp eax, dword [ebp - 0x80]
jb 0x5346fa
mov edx, edi
cmp eax, ebx
jbe 0x534774
mov ecx, dword [edx + 4]
mov eax, ecx
mov dword [0x638344], ecx
test eax, eax
je 0x534711
mov edx, ecx
mov esi, ecx
mov edi, ecx
jmp 0x5346e2
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ecx, esi
mov edx, edi
push ebx
and ecx, 0xffff0000
call fcn.00534020
mov ecx, eax
test ecx, ecx
je 0x534ac3
mov dword [ecx], 0x52334953
xor edx, edx
mov dword [ecx + 8], 0
mov esi, 0x38b
mov eax, dword [0x63834c]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xffa8]
mov dword [0x638344], ecx
mov dword [0x63834c], ecx
mov dword [eax + 0x40], edx
mov edx, eax
sub eax, 0x48
sub esi, 1
jne 0x534762
mov dword [ecx + 8], edx
jmp 0x534777
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x80], ebx
cmp ebx, edi
jb 0x534ac3
cmp ebx, dword [ebp - 0x88]
ja 0x534ac3
mov eax, dword [ebx + 0x40]
push 0x48
push 0xcc
push ebx
mov dword [ecx + 8], eax
call fcn.005826f0
add esp, 0xc
test ebx, ebx
je 0x534ac5
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 0x534855
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x53487e
movzx eax, byte [edi]
mov esi, dword [eax*8 + 0x63b84c]
lea eax, [eax*8 + 0x63b848]
push edi
push ecx
push eax
mov ecx, esi
call dword [0x5a48f4]
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 0x534929
mov al, byte [esi]
cmp al, 0xeb
je 0x534929
cmp al, 0xe9
je 0x534929
cmp al, 0xe0
je 0x534929
cmp al, 0xc2
je 0x534929
nop
cmp al, 0xc3
je 0x534929
cmp al, 0xcc
je 0x534929
cmp al, 0xf3
jne 0x53499f
cmp byte [esi + 1], 0xc3
je 0x534929
cmp al, 0x26
je 0x534910
cmp al, 0x2e
je 0x534910
mov edi, edi
cmp al, 0x36
je 0x534910
cmp al, 0x3e
je 0x534910
cmp al, 0x64
je 0x534910
cmp al, 0x65
jne 0x53491c
cmp byte [esi + 1], 0xff
jne 0x53491c
cmp byte [esi + 2], 0x25
je 0x534929
lea esp, [esp]
cmp ebx, 5
jb 0x5347e0
mov esi, dword [ebp - 0x84]
cmp ebx, 5
jae 0x53495c
mov ecx, edi
call fcn.00533dc0
jmp 0x534940
test eax, eax
je 0x534a73
add edi, eax
mov ebx, edi
sub ebx, esi
cmp ebx, 5
jb 0x534934
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x88]
lea esp, [esp]
cmp ecx, 8
ja 0x534a73
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + 0x1e]
cmp eax, ecx
jbe 0x534977
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.00582850
add esp, 0xc
cmp ebx, 0x19
jbe 0x5349b1
mov ebx, dword [ebp - 0x80]
mov esi, 0xc0000008
jmp 0x534aca
nop
cmp al, 0xff
jne 0x5348f6
cmp byte [esi + 1], 0x25
jmp 0x53491a
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.00533ce0
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 0x534a26
mov ebx, edi
jmp 0x534aca
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 [0x638354]
mov dword [ecx], eax
xor eax, eax
mov dword [0x638354], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x6360d4], 0
mov esi, 0xc0000141
mov ebx, dword [ebp - 0x80]
je 0x534aca
mov edi, dword [ebp - 0x90]
mov ecx, ebx
call fcn.00534200
test edi, edi
je 0x534aa0
push 0x18
push edi
call fcn.00580a22
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [0x638348], eax
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
mov esi, 0xc0000017
mov edi, dword [ebp - 0x90]
mov dword [0x63833c], esi
test ebx, ebx
je 0x534a91
jmp 0x534a8a