Function at 0x533060
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 [0x62d040]
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 0x53309e
mov eax, 0xc000000d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword fs:[0x18]
mov eax, dword [0x636410]
cmp eax, dword [ecx + 0x24]
je 0x5330cb
mov eax, 0xc0000476
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x63640c]
test eax, eax
jne 0x53358d
test edx, edx
je 0x5330f4
mov ecx, dword ds:[edx]
test ecx, ecx
jne 0x53310c
mov dword [0x63640c], 0xc0000008
mov dword [0x636418], edx
mov eax, 0xc0000008
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x90], eax
call fcn.00532d20
mov ecx, edi
mov dword [ebp - 0x84], eax
call fcn.00532d20
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp - 0x84]
jne 0x533151
jmp 0x533140
cmp dword [0x634140], ebx
jne 0x533580
jmp 0x5335aa
push 0x18
call fcn.0057eb5d
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.00532800
mov ecx, dword [0x636414]
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x80]
mov eax, dword [0x63641c]
test ecx, ecx
jne 0x53319c
test eax, eax
je 0x5331b0
mov ecx, eax
mov dword [0x636414], ecx
mov edx, dword ds:[ecx + 8]
test edx, edx
je 0x5331b0
cmp edx, edi
jb 0x5331b0
cmp edx, ebx
jbe 0x53325d
mov ecx, eax
mov dword [0x636414], ecx
test eax, eax
je 0x5331fa
mov edx, eax
mov esi, eax
mov edi, eax
mov eax, dword [eax + 8]
test eax, eax
je 0x5331da
mov edx, esi
cmp eax, dword [ebp - 0x80]
jb 0x5331da
mov edx, edi
cmp eax, ebx
jbe 0x533254
mov ecx, dword [edx + 4]
mov eax, ecx
mov dword [0x636414], ecx
test eax, eax
je 0x5331f1
mov edx, ecx
mov esi, ecx
mov edi, ecx
jmp 0x5331c2
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ecx, esi
mov edx, edi
push ebx
and ecx, 0xffff0000
call fcn.00532b00
mov ecx, eax
test ecx, ecx
je 0x5335a3
mov dword [ecx], 0x52334953
xor edx, edx
mov dword [ecx + 8], 0
mov esi, 0x38b
mov eax, dword [0x63641c]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xffa8]
mov dword [0x636414], ecx
mov dword [0x63641c], ecx
mov dword [eax + 0x40], edx
mov edx, eax
sub eax, 0x48
sub esi, 1
jne 0x533242
mov dword [ecx + 8], edx
jmp 0x533257
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x80], ebx
cmp ebx, edi
jb 0x5335a3
cmp ebx, dword [ebp - 0x88]
ja 0x5335a3
mov eax, dword [ebx + 0x40]
push 0x48
push 0xcc
push ebx
mov dword [ecx + 8], eax
call fcn.00580b30
add esp, 0xc
test ebx, ebx
je 0x5335a5
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 0x533335
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x53335e
movzx eax, byte [edi]
mov esi, dword [eax*8 + 0x63984c]
lea eax, [eax*8 + 0x639848]
push edi
push ecx
push eax
mov ecx, esi
call dword [0x5a28f0]
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 0x533409
mov al, byte [esi]
cmp al, 0xeb
je 0x533409
cmp al, 0xe9
je 0x533409
cmp al, 0xe0
je 0x533409
cmp al, 0xc2
je 0x533409
nop
cmp al, 0xc3
je 0x533409
cmp al, 0xcc
je 0x533409
cmp al, 0xf3
jne 0x53347f
cmp byte [esi + 1], 0xc3
je 0x533409
cmp al, 0x26
je 0x5333f0
cmp al, 0x2e
je 0x5333f0
mov edi, edi
cmp al, 0x36
je 0x5333f0
cmp al, 0x3e
je 0x5333f0
cmp al, 0x64
je 0x5333f0
cmp al, 0x65
jne 0x5333fc
cmp byte [esi + 1], 0xff
jne 0x5333fc
cmp byte [esi + 2], 0x25
je 0x533409
lea esp, [esp]
cmp ebx, 5
jb 0x5332c0
mov esi, dword [ebp - 0x84]
cmp ebx, 5
jae 0x53343c
mov ecx, edi
call fcn.005328a0
jmp 0x533420
test eax, eax
je 0x533553
add edi, eax
mov ebx, edi
sub ebx, esi
cmp ebx, 5
jb 0x533414
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x88]
lea esp, [esp]
cmp ecx, 8
ja 0x533553
mov eax, dword [ebp - 0x8c]
lea ecx, [edx + 0x1e]
cmp eax, ecx
jbe 0x533457
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.00580c90
add esp, 0xc
cmp ebx, 0x19
jbe 0x533491
mov ebx, dword [ebp - 0x80]
mov esi, 0xc0000008
jmp 0x5335aa
nop
cmp al, 0xff
jne 0x5333d6
cmp byte [esi + 1], 0x25
jmp 0x5333fa
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.005327c0
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 0x533506
mov ebx, edi
jmp 0x5335aa
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 [0x636424]
mov dword [ecx], eax
xor eax, eax
mov dword [0x636424], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x634140], 0
mov esi, 0xc0000141
mov ebx, dword [ebp - 0x80]
je 0x5335aa
mov edi, dword [ebp - 0x90]
mov ecx, ebx
call fcn.00532ce0
test edi, edi
je 0x533580
push 0x18
push edi
call fcn.0057ebe2
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [0x636418], eax
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
mov esi, 0xc0000017
mov edi, dword [ebp - 0x90]
mov dword [0x63640c], esi
test ebx, ebx
je 0x533571
jmp 0x53356a