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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x58b021
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6a3b20]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
cmp ebx, ecx
je 0x47680f
mov eax, dword [esi + 0x30]
cmp eax, ecx
je 0x476590
cmp dword [eax + 4], ecx
je 0x476590
mov edi, dword [esi + 0x34]
mov dword [esp + 0x1c], edi
jmp 0x476596
mov dword [esp + 0x1c], ecx
mov edi, ecx
mov eax, dword [esi + 0x38]
cmp eax, ecx
je 0x4765ab
cmp dword [eax + 4], ecx
je 0x4765ab
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x20], eax
jmp 0x4765af
mov dword [esp + 0x20], ecx
cmp edi, ecx
je 0x4767b3
cmp dword [esp + 0x20], ecx
je 0x4767b3
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00468ad0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x476807
mov edx, dword [0x5a7a7c]
mov dword [esp + 0x18], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call dword [0x5a7928]
cmp dword [edi + 0x2c], 2
mov eax, dword [esp + 0x18]
jne 0x4766d0
xor edi, edi
cmp dword [eax + 4], edi
jle 0x47676b
xor esi, esi
lea esp, [esp]
mov ecx, dword [eax + 0xc]
add ecx, esi
fld qword [ecx + eax + 8]
sub esp, 8
fstp qword [esp]
call dword [0x5a7a58]
add esp, 8
test al, al
jne 0x4766ba
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
add edx, esi
fld qword [edx + eax + 8]
sub esp, 8
fstp qword [esp]
call fcn.00425870
push edi
fstp qword [esp + 0x2c]
mov ecx, ebx
call dword [0x5a792c]
fld qword [esp + 0x28]
fstp qword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
add ecx, esi
fld qword [ecx + eax]
mov ecx, dword [esp + 0x1c]
sub esp, 8
fstp qword [esp]
call fcn.00425870
push edi
fstp qword [esp + 0x2c]
mov ecx, ebx
call dword [0x5a792c]
fld qword [esp + 0x28]
fstp qword [eax + 8]
mov eax, dword [esp + 0x18]
inc edi
add esi, 0x10
cmp edi, dword [eax + 4]
jl 0x476640
jmp 0x47676b
xor edi, edi
cmp dword [eax + 4], edi
jle 0x47676b
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [eax + 0xc]
add ecx, esi
fld qword [ecx + eax + 8]
sub esp, 8
fstp qword [esp]
call dword [0x5a7a58]
add esp, 8
test al, al
jne 0x47675a
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
add edx, esi
fld qword [edx + eax]
sub esp, 8
fstp qword [esp]
call fcn.00425870
push edi
fstp qword [esp + 0x2c]
mov ecx, ebx
call dword [0x5a792c]
fld qword [esp + 0x28]
fstp qword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
add ecx, esi
fld qword [ecx + eax + 8]
mov ecx, dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
call fcn.00425870
push edi
fstp qword [esp + 0x2c]
mov ecx, ebx
call dword [0x5a792c]
fld qword [esp + 0x28]
fstp qword [eax + 8]
mov eax, dword [esp + 0x18]
inc edi
add esi, 0x10
cmp edi, dword [eax + 4]
jl 0x4766e0
mov ecx, dword [eax]
test ecx, ecx
je 0x476790
cmp ecx, 0xffffffff
je 0x47680f
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x47680f
mov eax, dword [esp + 0x18]
push 8
push 0x10
push eax
call dword [0x5a7a74]
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x20]
push eax
push ecx
push ecx
push ecx
lea ecx, [esp + 0x40]
call dword [0x5a7d50]
mov ecx, eax
call dword [0x5a7a5c]
push str.invalid_key_or_value_axis
push str.void___thiscall_QCPGraph::getScatters_class_QVector_class_QPointF___const_class_QCPDataRange___const
mov ecx, eax
mov dword [esp + 0x88], 0
call dword [0x5a7d58]
mov ecx, eax
call dword [0x5a7d58]
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call dword [0x5a7d60]
mov ecx, ebx
call dword [0x5a78fc]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8