Function at 0x4aeeb0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
test eax, eax
je 0x4aeec4
mov dword [eax], esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4aeecd
mov dword [edi], esi
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x4aeed6
mov dword [ebx], esi
call dword [0x53d224]
cmp dword [0x61bb48], eax
je 0x4aeef2
pop edi
pop esi
mov eax, 0x10dd
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x61bb4c]
test eax, eax
jne 0x4af17b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4aef1c
mov eax, dword [ecx]
test eax, eax
jne 0x4aef2a
mov dword [0x61bb4c], 6
mov dword [0x61bb50], ecx
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push eax
mov dword [ebp + 0x14], esi
mov dword [ebp - 8], esi
call fcn.004af190
push 0
push dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
call fcn.004af190
mov ecx, eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jne 0x4aef62
cmp dword [0x61bb40], esi
jne 0x4af13a
jmp 0x4af105
test edi, edi
je 0x4aef68
mov dword [edi], eax
test ebx, ebx
je 0x4aef6e
mov dword [ebx], ecx
push 0x18
call fcn.0051f6e8
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x4aef87
lea esi, [eax + 8]
jmp 0x4af105
mov edi, dword [ebp + 0x18]
push edi
call fcn.004aeb90
mov ebx, eax
add esp, 4
mov dword [ebp + 0x14], ebx
test ebx, ebx
jne 0x4aefa4
lea esi, [eax + 8]
jmp 0x4af105
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4aefad
mov dword [eax], ebx
xor eax, eax
lea ecx, [ebx + 0x1e]
mov dword [ebx + 0x38], eax
mov edx, edi
mov dword [ebx + 0x3c], eax
mov eax, ebx
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push 0
push edx
lea ecx, [ebp - 4]
mov esi, edx
push ecx
push eax
call fcn.004ae950
mov ecx, dword [ebp + 0x18]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov ebx, edx
sub eax, esi
sub ebx, edi
add eax, edx
add ecx, eax
mov al, bl
mov dword [ebp + 0x18], ecx
and al, 7
mov ch, cl
sub ch, byte [ebp + 0x14]
mov cl, ch
shl cl, 3
or cl, al
mov eax, dword [ebp + 0x14]
mov byte [eax + 0x38], cl
mov al, byte [esi]
cmp al, 0xeb
je 0x4af05f
cmp al, 0xe9
je 0x4af05f
cmp al, 0xe0
je 0x4af05f
cmp al, 0xc2
je 0x4af05f
cmp al, 0xc3
je 0x4af05f
cmp al, 0xcc
je 0x4af05f
cmp al, 0xff
jne 0x4af02e
cmp byte [esi + 1], 0x25
jmp 0x4af050
cmp al, 0x26
je 0x4af046
cmp al, 0x2e
je 0x4af046
cmp al, 0x36
je 0x4af046
cmp al, 0xe3
je 0x4af046
cmp al, 0x64
je 0x4af046
cmp al, 0x65
jne 0x4af052
cmp byte [esi + 1], 0xff
jne 0x4af052
cmp byte [esi + 2], 0x25
je 0x4af05f
cmp ebx, 5
jae 0x4af073
mov eax, dword [ebp + 0x18]
jmp 0x4aefc5
cmp ebx, 5
jae 0x4af073
cmp byte [edx], 0x90
jne 0x4af0a1
inc edx
mov ebx, edx
sub ebx, edi
cmp ebx, 5
jb 0x4af064
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 4]
jbe 0x4af07c
int3
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0x10]
push ebx
push edi
mov byte [eax + 0x36], bl
add eax, 0x20
push eax
mov byte [esi], ch
call fcn.00520dbc
add esp, 0xc
cmp ebx, 0x19
jbe 0x4af0b6
mov esi, 6
jmp 0x4af105
cmp ebx, 5
jae 0x4af073
cmp dword [0x61bb40], 0
mov esi, 9
jne 0x4af10b
jmp 0x4af105
mov eax, dword [ebp + 0x14]
lea edx, [ebx + edi]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x44], ecx
movzx ecx, byte [esi]
add ecx, eax
mov dword [eax + 0x40], edx
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub edx, eax
lea eax, [ecx + 5]
mov dword [ecx + 1], edx
push dword [ebp - 4]
push eax
call fcn.004aed50
add esp, 8
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
push edi
call dword [0x53d088]
test eax, eax
jne 0x4af14d
call dword [0x53d188]
mov esi, eax
mov dword [0x61bb4c], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4af128
push eax
call fcn.004aed20
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x4af128
mov dword [eax], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x4af13a
push 0x18
push eax
call fcn.0051f6b7
add esp, 8
mov eax, dword [ebp + 8]
pop edi
mov dword [0x61bb50], eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], edi
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [0x61bb58]
mov dword [ecx], eax
xor eax, eax
mov dword [0x61bb58], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14