Function at 0x464fc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
and dword [ebp + 0x10], 6
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], esi
cmp dword [ebp + 0x14], edi
jne 0x464ff3
mov eax, dword [0x69f7c8]
mov dword [esp + 0x14], eax
jmp 0x464ffb
mov dword [esp + 0x14], 1
cmp esi, edi
jle 0x465198
cmp dword [ebp + 0x14], edi
jne 0x465010
cmp esi, 0x800
jge 0x465025
mov ecx, dword [esp + 0x14]
imul ecx, ecx, 0xe8
sub ecx, 0x1c
cmp esi, ecx
jle 0x4650d4
mov edx, dword [0x69f86c]
push edx
call fcn.005c052e
mov esi, eax
add esp, 4
cmp esi, edi
je 0x465075
mov ax, word [ebp + 0xc]
xor edx, edx
mov word [esi + 0x14], ax
lea ecx, [esi + 0x34]
xor eax, eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 2
mov dword [esi + 8], ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], dx
mov word [esi + 0x2e], ax
mov dword [esi + 0x30], edi
mov ecx, dword [0x69f870]
push ecx
mov dword [esp + 0x1c], esi
mov dword [esi + 0x34], edi
call fcn.005c052e
mov edx, dword [0x69f874]
add esp, 4
push edx
mov ebx, eax
call fcn.005c052e
mov ecx, 1
mov dword [eax], ecx
add esp, 4
or dword [esi + 0x10], ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0xc]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x800
mov esi, dword [ebp + 8]
mov ecx, 0x800
jmp 0x465166
mov eax, dword [0x69f86c]
push eax
call fcn.005c052e
add esp, 4
test byte [ebp + 0x10], 2
je 0x46513a
cmp eax, edi
je 0x465127
mov cx, word [ebp + 0xc]
lea edx, [eax + 0x34]
mov word [eax + 0x14], cx
xor ecx, ecx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 2
mov dword [eax + 0x18], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov word [eax + 0x2c], cx
mov word [eax + 0x2e], dx
mov dword [eax + 0x30], edi
cmp esi, 0xcc
jge 0x465133
mov ecx, esi
jmp 0x465166
mov ecx, 0xcc
jmp 0x465166
cmp eax, edi
je 0x465157
mov cx, word [ebp + 0xc]
lea edx, [eax + 0x18]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax + 0x14], cx
mov dword [eax + 8], edx
cmp esi, 0xe8
mov ecx, esi
jl 0x465166
mov ecx, 0xe8
cmp eax, edi
je 0x4651b0
cmp dword [ebp + 0x14], edi
je 0x465175
cmp ecx, dword [esp + 0x1c]
jl 0x4651b8
sub esi, ecx
mov dword [ebp + 8], esi
cmp ebx, edi
je 0x465182
mov dword [ebx], eax
jmp 0x465186
mov dword [esp + 0x10], eax
and dword [ebp + 0x10], 0xfffffffd
cmp esi, edi
mov dword [esp + 0xc], eax
mov ebx, eax
jg 0x465003
mov eax, 4
test byte [ebp + 0x10], al
je 0x4651a5
or dword [ebx + 0x10], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4651bd
call fcn.004653c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret