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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e1579
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x10]
push edi
mov ecx, dword [ebp + 0x358]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005b758f
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.005b74ed
lea ebx, [ebp + 0x191c]
mov dword [esp + 0xb8], 0
mov ecx, ebx
call fcn.005b7fc3
lea ecx, [esp + 0x34]
call fcn.005b760c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 4]
sub ecx, edi
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.005b7f6c
test esi, esi
je 0x52bcc4
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x38]
call fcn.005b75a4
test ebx, ebx
jne 0x52bcdd
xor eax, eax
jmp 0x52bce0
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.005b76e5
mov esi, eax
push 0xffffff
lea ecx, [esp + 0x50]
mov dword [esp + 0x5c], esi
call fcn.005b807f
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0xbc], 1
call fcn.005b7738
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
sub ecx, edx
sub eax, edi
push 0xf00021
push eax
mov eax, dword [esp + 0x40]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
lea ecx, [esp + 0x94]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x2710
call fcn.0043e490
lea ecx, [ebp + 0x1774]
call fcn.0054a8e0
mov edi, eax
test edi, edi
mov dword [esp + 0x5c], edi
jne 0x52beba
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.005b7b1a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.005b7b66
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.005b7b1a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.005b7b66
test esi, esi
je 0x52be3c
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x38]
push esi
push edx
call fcn.005b76e5
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x34]
push eax
call fcn.005b7738
lea esi, [ebp + 0x33c]
mov ecx, esi
call fcn.005b3cc8
or eax, 0x20e
test esi, esi
je 0x52be6e
mov esi, dword [esi + 0x1c]
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test ebx, ebx
je 0x52be7f
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp + 0x358]
push ebx
push 0
push 0x172
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x358]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x4c], vtable.CGdiObject.0
mov byte [esp + 0xb8], 2
jmp 0x52c139
mov eax, dword [edi]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
fld qword [esp + 0x94]
fsub qword [esp + 0x78]
sub ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x18]
fild dword [esp + 0x24]
sub edx, eax
mov dword [esp + 0x24], edx
fdiv st(1)
fld qword [esp + 0x9c]
fsub qword [esp + 0x80]
fstp qword [esp + 0x44]
fild dword [esp + 0x24]
fdiv qword [esp + 0x44]
fstp qword [esp + 0x2c]
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x52bf22
fstp st(0)
fld qword [esp + 0x2c]
lea eax, [ecx + ecx*4]
push 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x28], eax
lea eax, [edx + edx*4]
fild dword [esp + 0x28]
fxch st(2)
fmul st(1)
lea eax, [eax + eax*4]
fsubp st(2)
fxch st(1)
lea ecx, [eax + eax*4]
shl ecx, 2
fmul qword [0x5ef0a8]
mov dword [esp + 0x28], ecx
mov ecx, edi
fstp qword [esp + 0x30]
fild dword [esp + 0x28]
fld qword [esp + 0x48]
fmul st(2)
fsubp st(1)
fmul qword [0x5f3bb0]
fstp qword [esp + 0x28]
fmul qword [0x5f3ba8]
fst qword [esp + 0x48]
fmul qword [0x5e7c20]
fld st(0)
fmul qword [esp + 0x7c]
fsub qword [esp + 0x30]
fstp qword [esp + 0x64]
fmul qword [esp + 0x84]
fsub qword [esp + 0x28]
fstp qword [esp + 0x6c]
call fcn.00547260
mov esi, eax
test esi, esi
je 0x52c0a3
mov ebx, dword [esp + 0x48]
mov ecx, dword [esi]
call fcn.00549f80
cmp eax, 0xa
je 0x52c077
mov ecx, dword [esi]
call fcn.00549f70
push eax
lea ecx, [ebp + 0x1774]
call fcn.0054ade0
mov edi, eax
mov ecx, dword [edi]
call fcn.0054a830
push eax
push 1
push 0
lea ecx, [esp + 0x38]
call fcn.005b7fd9
mov edx, dword [esi]
mov ecx, dword [edi]
mov byte [esp + 0xb8], 3
mov edx, dword [edx]
mov dword [esp + 0x24], edx
call fcn.0054a830
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x28]
call dword [eax + 0x3c]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x38]
call fcn.005b7738
mov edi, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x54]
push ebx
push eax
call dword [edx + 0x28]
push edi
lea ecx, [esp + 0x38]
call fcn.005b7738
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 4
call fcn.005b7fc3
mov edi, dword [esp + 0x5c]
mov byte [esp + 0xb8], 1
jmp 0x52c08f
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x60]
push esi
push ecx
push ebx
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, ebp
call fcn.0052c170
push 0
push esi
mov ecx, edi
call fcn.00547400
mov esi, eax
test esi, esi
jne 0x52bfb2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x52c0ae
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call fcn.005b76e5
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x34]
push edx
call fcn.005b7738
lea esi, [ebp + 0x33c]
mov ecx, esi
call fcn.005b3cc8
or eax, 0x20e
test esi, esi
je 0x52c0e0
mov esi, dword [esi + 0x1c]
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp + 0x191c]
test eax, eax
je 0x52c0f7
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0x358]
push 0
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x358]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push ecx
call esi
mov edx, dword [ebp + 0x1c]
push 1
push 0
push edx
call esi
mov dword [esp + 0x4c], vtable.CGdiObject.0
mov byte [esp + 0xb8], 5
lea ecx, [esp + 0x4c]
call fcn.005b7fc3
lea ecx, [esp + 0x34]
mov dword [esp + 0xb8], 0xffffffff
call fcn.005b7622
mov ecx, dword [esp + 0xb0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret