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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0xae8]
test eax, eax
lea esi, [ebx + 0xae0]
push edi
mov edi, dword [sym.imp.oleaut32.dll_VariantTimeToSystemTime]
jne 0x4c4b20
fld qword [esi]
lea eax, [esp + 0x38]
push eax
sub esp, 8
fstp qword [esp]
call edi
test eax, eax
je 0x4c4b20
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x50], ecx
jmp 0x4c4b28
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
jne 0x4c4b4d
fld qword [esi]
lea edx, [esp + 0x38]
push edx
sub esp, 8
fstp qword [esp]
call edi
test eax, eax
je 0x4c4b4d
movzx eax, word [esp + 0x3a]
mov dword [esp + 0x4c], eax
jmp 0x4c4b55
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [esp + 0xbc]
mov edx, ecx
mov ebp, dword [edx]
mov eax, esi
mov dword [eax], ebp
mov ebp, dword [edx + 4]
mov dword [eax + 4], ebp
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4c51ad
mov eax, ecx
mov edx, dword [eax]
mov ebp, dword [ecx]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x30], edx
lea edx, [ebx + 0xaec]
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ecx, dword [ecx + 8]
mov dword [esp + 0x34], eax
mov dword [edx + 8], ecx
jne 0x4c4bc7
fld qword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
sub esp, 8
fstp qword [esp]
call edi
test eax, eax
je 0x4c4bc7
movzx eax, word [esp + 0x3e]
jmp 0x4c4bca
or eax, 0xffffffff
dec eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
xor ecx, ecx
fcom qword [0x5774c0]
fst qword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x4c4bf5
fcomp qword [0x5774b8]
fnstsw ax
test ah, 0x41
jne 0x4c4bfc
jmp 0x4c4bf7
fstp st(0)
mov ecx, 1
mov edx, dword [esp + 0x20]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x38]
call fcn.004c1f00
mov eax, dword [esi + 8]
test eax, eax
jne 0x4c4c3f
fld qword [esi]
lea eax, [esp + 0x38]
push eax
sub esp, 8
fstp qword [esp]
call edi
test eax, eax
je 0x4c4c3f
movzx ebp, word [esp + 0x38]
mov dword [esp + 0x48], ebp
jmp 0x4c4c4b
mov dword [esp + 0x48], 0xffffffff
mov ebp, dword [esp + 0x48]
mov eax, dword [esi + 8]
test eax, eax
jne 0x4c4c70
fld qword [esi]
lea ecx, [esp + 0x38]
push ecx
sub esp, 8
fstp qword [esp]
call edi
test eax, eax
je 0x4c4c70
movzx edx, word [esp + 0x3a]
mov dword [esp + 0x54], edx
jmp 0x4c4c78
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x9c]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ebx + 0xa84]
push 1
add edx, ecx
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0xb4], edx
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c4cd9
fld qword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
sub esp, 8
fstp qword [esp]
call edi
test eax, eax
je 0x4c4cd9
movzx eax, word [esp + 0x3c]
inc eax
jmp 0x4c4cdc
or eax, 0xffffffff
sub eax, dword [ebx + 0xa88]
add eax, 7
cdq
mov ecx, 7
idiv ecx
xor ecx, ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fcom qword [0x5774c0]
fst qword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x4c4d17
fcomp qword [0x5774b8]
fnstsw ax
test ah, 0x41
jne 0x4c4d1e
jmp 0x4c4d19
fstp st(0)
mov ecx, 1
mov eax, dword [esp + 0x20]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea ecx, [esp + 0x38]
call fcn.004c1f00
fld qword [0x577cf0]
mov ecx, dword [esp + 0x2c]
fstp qword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x20]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
xor eax, eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
mov dword [edx + 8], eax
call fcn.004c1e90
fld qword [0x573278]
mov edx, dword [esp + 0x2c]
fstp qword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x20]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
xor eax, eax
mov dword [ecx + 8], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
call fcn.004c1e90
fld qword [0x560468]
mov eax, dword [ebx + 0x850]
fstp qword [esp + 0x74]
or edi, 0xffffffff
test eax, eax
mov dword [ebx + 0x840], edi
je 0x4c5128
mov dword [esp + 0x58], edi
jmp 0x4c4de3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c515a
mov ecx, dword [eax]
mov esi, dword [eax + 8]
test byte [esi + 0xc], 1
mov dword [esp + 0x10], ecx
jne 0x4c511c
fld qword [0x5603f8]
push 0x5a45a8
mov ecx, esi
fstp qword [esp + 0x18]
mov dword [esp + 0x20], 0
call fcn.005269f6
test eax, eax
je 0x4c4ea8
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4c4e56
fld qword [eax]
lea edx, [esp + 0x80]
push edx
sub esp, 8
fstp qword [esp]
call dword [sym.imp.oleaut32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x4c4e56
movzx eax, word [esp + 0x82]
jmp 0x4c4e59
or eax, 0xffffffff
push eax
call fcn.004c3e70
add esp, 4
test eax, eax
lea edi, [esi + 0x10]
jne 0x4c4e6d
xor edx, edx
jmp 0x4c4e7f
mov edx, eax
lea ebp, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4c4e72
sub edx, ebp
mov ebp, dword [esp + 0x48]
push edx
push eax
mov ecx, edi
call fcn.004017a0
or dword [esi + 0xc], 0x40000
mov eax, dword [ebx + 0x1c]
push 1
add esi, 0x30
push esi
push eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov edi, dword [esp + 0x58]
jmp 0x4c511c
push 0x5a45fc
mov ecx, esi
call fcn.005269f6
test eax, eax
je 0x4c4f2a
mov ecx, dword [esp + 0x5c]
fld qword [0x577cf0]
mov edx, dword [esp + 0x60]
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x90]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
mov dword [ecx + 4], edx
xor eax, eax
mov dword [ecx + 8], eax
lea ecx, [esp + 0x68]
call fcn.004c1e90
mov eax, dword [ebx + 0xa8c]
test al, 4
je 0x4c4f1e
mov ecx, dword [ebx + 0xb00]
test ecx, ecx
je 0x4c4f1e
test al, 2
jmp 0x4c504c
or dword [esi + 0xc], 0x40000
jmp 0x4c50ad
push 0x5a45e0
mov ecx, esi
call fcn.005269f6
test eax, eax
je 0x4c4f67
lea eax, [esp + 0xac]
push eax
call fcn.004c21d0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
and dword [esi + 0xc], 0xfffbffff
jmp 0x4c50ad
push 0x5a45c4
mov ecx, esi
call fcn.005269f6
test eax, eax
je 0x4c4fe0
mov eax, dword [esp + 0x54]
inc edi
cmp edi, 3
mov dword [esp + 0x58], edi
mov ecx, ebp
ja case.default.0x4c4f87
jmp dword [edi*4 + 0x4c51bc]
dec eax
jne case.default.0x4c4f87
mov eax, 0xc
lea ecx, [ebp - 1]
jmp case.default.0x4c4f87
inc eax
cmp eax, 0xc
jle case.default.0x4c4f87
mov eax, 1
lea ecx, [ebp + 1]
push 0
push 0
push 0
push 1
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.0045e02b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
and dword [esi + 0xc], 0xfffbffff
jmp 0x4c50ad
push 0x5a4618
mov ecx, esi
call fcn.005269f6
test eax, eax
je 0x4c505b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
sub esp, 0xc
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], eax
lea ecx, [esp + 0x74]
call fcn.004c1e90
mov eax, dword [ebx + 0xa8c]
test al, 4
je 0x4c4f1e
mov ecx, dword [ebx + 0xb04]
test ecx, ecx
jne 0x4c4f1e
test al, 1
je 0x4c4f1e
and dword [esi + 0xc], 0xfffbffff
jmp 0x4c50ad
push 0x5a4634
mov ecx, esi
call fcn.005269f6
test eax, eax
je 0x4c511c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
sub esp, 0xc
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
call fcn.004c1e90
push esi
push 0x5a4634
call fcn.00526a01
mov esi, eax
add esp, 8
test esi, esi
je 0x4c511c
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0xc4]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4c511c
mov dword [esi + 0x78], 0
add esi, 0x30
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push 2
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xc]
push 2
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
call dword [sym.imp.user32.dll_InflateRect]
mov ecx, dword [ebx + 0x1c]
push 1
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c4ddf
mov eax, dword [ebx + 0xae8]
test eax, eax
jne 0x4c515f
fld qword [ebx + 0xae0]
lea edx, [esp + 0x80]
push edx
sub esp, 8
fstp qword [esp]
call dword [sym.imp.oleaut32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x4c515f
movzx eax, word [esp + 0x82]
jmp 0x4c5162
call fcn.0051c508
or eax, 0xffffffff
cmp dword [esp + 0x4c], eax
jne 0x4c51a3
mov eax, dword [ebx + 0xae8]
test eax, eax
jne 0x4c519a
fld qword [ebx + 0xae0]
lea eax, [esp + 0x80]
push eax
sub esp, 8
fstp qword [esp]
call dword [sym.imp.oleaut32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x4c519a
movzx eax, word [esp + 0x80]
jmp 0x4c519d
or eax, 0xffffffff
cmp dword [esp + 0x50], eax
je 0x4c51ad
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 4