Function at 0x4f5840
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2810
call fcn.00623680
mov edx, dword [0x6b235c]
mov al, byte [edx + 2]
test al, al
push ebx
mov ebx, dword [0x6b2354]
push ebp
push esi
push edi
je 0x4f5874
mov dword [esp + 0x18], 0
jmp 0x4f5905
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x4f587f
xor eax, eax
jmp 0x4f588a
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 4]
sub eax, dword [ebx + 0x24]
add eax, ecx
mov ecx, dword [ebx + 0x28]
sub ecx, eax
cmp ecx, 0x19999
jg 0x4f58d3
call fcn.004d01f0
mov ebx, dword [0x6b2354]
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x4f58ad
xor eax, eax
jmp 0x4f58b8
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 4]
sub eax, dword [ebx + 0x24]
add eax, ecx
mov edx, dword [ebx + 0x28]
sub edx, eax
cmp edx, 0x33333
jg 0x4f5cb6
mov dword [esp + 0x18], 2
jmp 0x4f5905
mov eax, dword [0x851c30]
movsx ecx, word [eax + 0x30]
mov eax, 0x800
sub eax, ecx
cmp eax, 0x66
jg 0x4f58f2
mov dword [esp + 0x18], 2
jmp 0x4f5905
cmp word [edx + 4], 0x32
jl 0x4f5caa
mov dword [esp + 0x18], 1
mov ecx, dword [0x6b235c]
mov eax, dword [ecx + 8]
xor edi, edi
cmp eax, 0xffffffff
mov byte [esp + 0x12], 0
je 0x4f5952
mov edx, dword [0x851c30]
mov ecx, dword [edx + 0x34]
jmp 0x4f5930
movsx edx, di
mov dword [esp + edx*4 + 0x820], eax
and eax, 0xffff
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 + 8]
mov eax, dword [edx + 0x110]
inc edi
cmp eax, 0xffffffff
jne 0x4f5930
movsx eax, word [esp + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x4f5963
mov ebx, dword [0x6b2354]
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x4f5997
dec eax
je 0x4f599e
dec eax
jne 0x4f59ae
cmp dword [ebx + 0x2c], 0x33333
jl 0x4f5997
mov ecx, dword [0x851c30]
movsx edx, word [ecx + 0x2e]
mov eax, 0x800
sub eax, edx
cmp eax, 0xcc
jge 0x4f5a37
mov byte [esp + 0x12], 0
jmp 0x4f59ba
mov ecx, dword [0x6b235c]
cmp word [ecx + 4], 0x1e
setle byte [esp + 0x12]
mov al, byte [esp + 0x12]
test al, al
jne 0x4f5a3c
test di, di
je 0x4f5a3c
mov ecx, dword [0x851c30]
dec edi
movsx edx, di
mov esi, dword [esp + edx*4 + 0x820]
mov edx, dword [ecx + 0x34]
mov eax, esi
and eax, 0xffff
cmp word [esp + 0x18], 1
lea eax, [eax + eax*2]
lea ebp, [edx + eax*4]
mov bl, 1
jne 0x4f59f0
mov bl, byte [ebp + 2]
and bl, 1
mov eax, esi
call fcn.004f32c0
test al, al
jne 0x4f595d
test bl, bl
je 0x4f595d
test byte [ebp + 2], 1
je 0x4f5a16
mov eax, dword [0x6b235c]
dec word [eax + 4]
push 0
mov ecx, esi
call fcn.004f3030
push 0
push esi
call fcn.004f15b0
push 0
push esi
call fcn.004f4c10
add esp, 0x14
jmp 0x4f595d
mov byte [esp + 0x12], 1
call fcn.004d01f0
mov al, byte [esp + 0x12]
test al, al
mov eax, dword [0x6b235c]
jne 0x4f5c98
mov eax, dword [eax + 0x8c]
cmp eax, 0xffffffff
mov esi, 0x658c80
mov byte [esp + 0x14], 0
mov byte [esp + 0x13], 0
je 0x4f5a83
mov ecx, dword [0x6eb40c]
mov edx, dword [ecx + 0xc]
add eax, 0x96
cmp eax, edx
mov byte [esp + 0x16], 0
jge 0x4f5a88
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 0
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
xor bl, bl
sub eax, 2
mov byte [esp + 0x12], bl
jne 0x4f5b12
mov eax, dword [0x6b2354]
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x4f5aaf
xor ecx, ecx
jmp 0x4f5aba
mov edx, dword [eax + 0x34]
mov ecx, dword [edx + 4]
sub ecx, dword [eax + 0x24]
add ecx, edx
mov edx, dword [0x851c30]
mov eax, dword [eax + 0x28]
movsx edx, word [edx + 0x2e]
sub eax, ecx
mov ecx, 0x800
sub ecx, edx
cmp eax, 0xcccc
mov dword [esp + 0x18], eax
jg 0x4f5b25
mov byte [esp + 0x12], 1
mov bl, 1
fild dword [esp + 0x18]
sub esp, 8
lea ecx, [esp + 0x28]
fmul dword [0x66c50c]
fmul dword [0x66c4c0]
fstp qword [esp]
push str._4.2f___memory_free
push ecx
call fcn.0061ed33
add esp, 0x10
mov al, byte [esp + 0x12]
test al, al
jne 0x4f5b54
mov al, byte [esp + 0x13]
test al, al
je 0x4f5c71
mov eax, str.not
jmp 0x4f5b68
cmp ecx, 0x33
jg 0x4f5b31
mov byte [esp + 0x12], 1
jmp 0x4f5b3d
cmp eax, 0x19999
jle 0x4f5ae0
cmp ecx, 0x66
jg 0x4f5ae2
push ecx
lea eax, [esp + 0x24]
push str._d_slots_free
push eax
mov bl, 1
call fcn.0061ed33
add esp, 0xc
jmp 0x4f5b0a
mov al, byte [esp + 0x13]
test al, al
je 0x4f5b63
mov eax, str.still
jmp 0x4f5b68
mov eax, 0x65016c
lea edx, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x228]
push str.garbage_collection__scritical___s_
push eax
call fcn.0061ed33
lea ecx, [esp + 0x230]
push ecx
push 0x659e9c
xor al, al
call fcn.004c4c40
mov al, byte [esp + 0x2a]
add esp, 0x18
test al, al
mov byte [esp + 0x17], 1
je 0x4f5c85
mov eax, dword [esi + 4]
test eax, eax
je 0x4f5c85
xor bl, bl
test bl, bl
jne 0x4f5c5c
mov al, byte [esp + 0x14]
test al, al
mov byte [esp + 0x15], bl
jne 0x4f5be6
mov eax, dword [esi]
test eax, eax
je 0x4f5be6
lea edx, [esp + 0x820]
push 0x1000
push edx
call eax
add esp, 8
mov byte [esp + 0x14], 1
push 0x1000
lea eax, [esp + 0x824]
push eax
lea ecx, [esp + 0x1d]
push ecx
lea edx, [esp + 0x62c]
push edx
call dword [esi + 4]
mov bl, al
add esp, 0x10
test bl, bl
je 0x4f5c3d
lea eax, [esp + 0x620]
push eax
lea ecx, [esp + 0x424]
push str.removing_objects:__s
push ecx
call fcn.0061ed33
lea edx, [esp + 0x42c]
push edx
push 0x659e9c
xor al, al
call fcn.004c4c40
add esp, 0x14
mov al, byte [esp + 0x15]
test al, al
jne 0x4f5c4d
add esi, 8
mov byte [esp + 0x14], 0
mov eax, dword [esi + 4]
test eax, eax
jne 0x4f5bb5
test bl, bl
je 0x4f5c85
mov ebx, dword [0x6b2354]
mov byte [esp + 0x13], 1
call fcn.004d01f0
jmp 0x4f5a90
test bl, bl
je 0x4f5c7d
mov al, byte [esp + 0x16]
test al, al
jne 0x4f5c85
mov al, byte [esp + 0x17]
test al, al
je 0x4f5ca4
mov eax, dword [0x6eb40c]
mov ecx, dword [eax + 0xc]
mov eax, dword [0x6b235c]
mov dword [eax + 0x8c], ecx
mov byte [eax + 2], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x6b235c]
mov byte [edx + 2], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6b235c]
pop edi
mov byte [ecx + 2], 0
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret