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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543f13
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
push 0x564f30
lea ecx, [esp + 0x1c]
call fcn.00404670
mov dword [esp + 0x58], 0
mov eax, dword [edi + 0x8c]
test eax, eax
jne 0x441481
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44146a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
add eax, 0x4ec
push eax
lea eax, [esp + 0x1c]
call fcn.00474a80
mov eax, dword [edi + 0x8c]
cmp dword [eax + 0x4e8], 0
mov ebx, dword [ebp + 0x10]
je 0x4414c6
mov ecx, dword [edi + 0x78]
mov eax, dword [eax + 0x4e8]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call edx
push 0x58
call fcn.004fae94
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x58], 1
je 0x4414ee
mov ecx, esi
call fcn.004fc3ae
mov dword [esi], vtable.CButton.0
jmp 0x4414f0
xor esi, esi
test esi, esi
mov byte [esp + 0x58], 0
je 0x441442
mov cl, byte [ebp + 0xc]
mov dx, word [ebp + 0x14]
mov dword [esi + 0x54], 0
lea eax, [edi + 0x98]
test eax, eax
mov byte [esi + 0x54], cl
mov byte [esi + 0x55], bl
mov word [esi + 0x56], dx
je 0x44153a
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.005039ae
fld qword [0x5ae4b8]
fld qword [0x585040]
fmul st(1)
call fcn.005261c0
fld qword [0x5ae4c0]
mov edi, dword [esp + 0x3c]
fld qword [0x585038]
sub edi, eax
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
fmul st(1)
or eax, 0xc00
fxch st(1)
mov dword [esp + 0x1c], eax
fadd st(0), st(0)
fldcw word [esp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x2c], edi
fistp qword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fldcw word [esp + 0x16]
fnstcw word [esp + 0x16]
fld st(0)
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub eax, edx
fldcw word [esp + 0x16]
imul eax, ecx
fxch st(1)
fmul qword [0x585030]
sub ebx, eax
mov dword [esp + 0x30], ebx
call fcn.005261c0
sub edi, eax
mov dword [esp + 0x34], edi
call fcn.005261c0
mov edi, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
sub ebx, eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
add eax, 0x7d0
push eax
mov eax, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x34]
push ecx
push 0x50000109
push eax
mov ecx, esi
mov dword [esp + 0x4c], ebx
call edx
lea eax, [edi + 0x164]
test eax, eax
je 0x441619
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
mov eax, dword [esi + 0x20]
push 0x30
push eax
call ebx
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jne 0x441642
push 0
push 0x20000
push 0
mov ecx, esi
call fcn.00501859
push esi
lea ecx, [edi + 0x148]
call fcn.00503381
mov edx, dword [ebp + 0x14]
cmp edx, dword [edi + 0x94]
push 0
jne 0x441668
mov eax, dword [esi + 0x20]
push 1
push 0xf1
push eax
jmp 0x441673
mov ecx, dword [esi + 0x20]
push 0
push 0xf1
push ecx
call ebx
mov eax, dword [ebp + 0x18]
add dword [eax], 1
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4416a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14