Function at 0x4af280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540960
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x5c]
mov dword [esi], vtable.juce::Component.0
mov eax, dword [edi + 8]
lea edx, [edi + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edx
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x14], 1
mov dword [edx], eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jle 0x4af301
mov edx, dword [ebp - 0x24]
dec ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x20], ecx
cmp ecx, eax
jl 0x4af2f4
lea ecx, [eax - 1]
mov eax, ecx
mov dword [ebp - 0x20], ecx
shr eax, 0x1f
xor al, 1
je 0x4af301
mov eax, dword [edx]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x4af2d0
cmp byte [ebp - 0x14], 0
je 0x4af30f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [esi + 0x3c], 0
jle 0x4af32b
mov eax, dword [esi + 0x3c]
mov ecx, esi
push 1
push 0
dec eax
push eax
call fcn.004fca40
cmp dword [esi + 0x3c], 0
jg 0x4af315
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4af339
mov dword [eax + 8], 0
mov edx, dword [esi + 0x18]
test edx, edx
je 0x4af37f
mov ebx, dword [edx + 0x34]
mov ecx, ebx
mov eax, dword [edx + 0x3c]
lea eax, [ebx + eax*4]
cmp ecx, eax
je 0x4af35b
nop
cmp esi, dword [ecx]
je 0x4af36c
add ecx, 4
cmp ecx, eax
jne 0x4af350
push 0
or ecx, 0xffffffff
push 1
push ecx
mov ecx, edx
call fcn.004fca40
jmp 0x4af3ad
sub ecx, ebx
push 0
sar ecx, 2
push 1
push ecx
mov ecx, edx
call fcn.004fca40
jmp 0x4af3ad
mov eax, dword [0x588a10]
test eax, eax
je 0x4af39f
nop dword [eax + eax]
mov eax, dword [eax + 0x18]
cmp eax, esi
je 0x4af502
test eax, eax
jne 0x4af390
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004e2b80
test byte [esi + 0x80], 1
je 0x4af3bd
mov ecx, esi
call fcn.004fce20
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x4af3ca
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x78]
or ebx, 0xffffffff
test ecx, ecx
je 0x4af3e4
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4af3e4
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x6c]
call fcn.0040ddb0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4af3fe
mov byte [eax + 0x10], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4af3f3
push dword [edi]
mov dword [edi + 8], 0
call fcn.0051723e
mov edi, dword [esi + 0x58]
add esp, 4
test edi, edi
je 0x4af42f
push dword [edi]
mov dword [edi + 8], 0
call fcn.0051723e
push 0xc
push edi
call fcn.005118f7
add esp, 0xc
mov edi, dword [esi + 0x54]
test edi, edi
je 0x4af44f
push dword [edi]
mov dword [edi + 8], 0
call fcn.0051723e
push 0x10
push edi
call fcn.005118f7
add esp, 0xc
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4af45c
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0x48]
test edi, edi
je 0x4af482
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4af482
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4af482
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4af497
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x4af497
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esi + 0x34]
mov dword [esi + 0x3c], 0
call fcn.0051723e
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x4af4bb
push 0x18
push eax
call fcn.005118f7
add esp, 8
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4af4c8
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x14]
call fcn.0040d480
lea ecx, [esi + 0x10]
call fcn.0040d480
lea ecx, [esi + 0xc]
call fcn.0040d480
lea ecx, [esi + 8]
call fcn.0040d480
lea ecx, [esi + 4]
call fcn.0040d480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x10], 1
jmp 0x4af3a3