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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x484004]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebp
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [ebx + 0x1095ee0], edi
mov dword [ebx + 0x1095ee4], edi
mov dword [ebx + 0x1097a18], eax
mov dword [ebx + 0x1097a1c], eax
mov dword [ebx + 0x1097a20], eax
mov dword [ebx + 0x1097a24], eax
mov dword [ebx + 0x1097a28], eax
mov dword [ebx + 0x1097a2c], eax
mov eax, dword [ebx + 0x10cc078]
mov dword [ebx + 0x10975f8], edi
mov dword [ebx + 0x10975fc], edi
xor edx, edx
cmp dword [eax + 0x2c], edi
jle 0x40fb03
xor eax, eax
lea ecx, [ebx + 0x1095eec]
lea esp, [esp]
mov esi, dword [ebx + 0x10cc078]
fld qword [eax + esi + 0x4f4]
add edx, 1
fstp dword [ecx - 4]
mov esi, dword [ebx + 0x10cc078]
fld qword [eax + esi + 0x4fc]
add eax, 0x14
fstp dword [ecx]
mov esi, dword [ebx + 0x10cc078]
add ecx, 8
cmp edx, dword [esi + 0x2c]
jl 0x40fad0
mov ecx, dword [ebx + 0x82d18]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call ebp
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push str.Segoe_UI
push edi
push 2
push edi
push edi
push 0xcc
lea ecx, [eax + eax]
push edi
mov eax, 0x55555556
imul ecx
push edi
push edi
push 0xc8
push edi
mov esi, edx
push edi
shr esi, 0x1f
add esi, edx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edx, dword [ebx + 0x82d1c]
push edx
mov dword [ebx + 0x82d18], eax
call ebp
push str.Segoe_UI
push edi
push 2
push edi
push edi
push 0xcc
push edi
push edi
push edi
push 0xc8
push edi
push 0x384
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0x1000000
mov dword [ebx + 0x82d1c], eax
lea eax, [ebx + 0x84d94]
push edi
push eax
call fcn.0043e850
add esp, 0xc
mov dword [ebx + 0x109564c], edi
mov dword [ebx + 0x1095698], 0x12c
mov dword [ebx + 0x109569c], edi
mov dword [ebx + 0x10956a0], 0x168
mov dword [ebx + 0x10956a4], edi
mov dword [ebx + 0x10956a8], 0x1a4
mov dword [ebx + 0x10956ac], edi
mov dword [ebx + 0x10956b0], 0x1e0
mov dword [ebx + 0x10956b4], edi
mov dword [ebx + 0x10956b8], 0x258
mov dword [ebx + 0x10956bc], edi
mov dword [ebx + 0x10956c0], 0x2d0
mov dword [ebx + 0x10956c4], edi
mov dword [ebx + 0x10956c8], 0x384
mov dword [ebx + 0x10956cc], edi
mov dword [ebx + 0x10956d0], 0x438
mov dword [ebx + 0x10956d4], edi
mov dword [ebx + 0x10956d8], 0x528
mov dword [ebx + 0x10956dc], edi
mov dword [ebx + 0x10956e0], 0x690
mov dword [ebx + 0x10956e4], edi
mov dword [ebx + 0x10956e8], 0x7f8
mov dword [ebx + 0x10956ec], edi
mov dword [ebx + 0x10956f0], 0x960
mov dword [ebx + 0x10956f4], edi
lea esi, [ebx + 0x10956f8]
mov dword [esp + 0x10], 0xb
nop
mov ebp, 0xc
mov eax, dword [esi - 0x5c]
mov ecx, dword [esi - 0x60]
push edi
push 0xa
push eax
push ecx
call fcn.00441ea0
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
sub ebp, 1
jne 0x40fc75
sub dword [esp + 0x10], 1
jne 0x40fc70
mov esi, dword [ebx + 0x10cc078]
fld qword [0x479568]
mov dword [ebx + 0x1095690], edi
fld dword [esi + 0x4ff0]
mov ebp, dword [ebx + 0x1095690]
fdivr st(1)
fild qword [esi + 0x40]
fmulp st(1)
call fcn.00441e16
mov ecx, dword [ebx + ebp*8 + 0x109569c]
cmp ecx, edx
jg 0x40fcec
jl 0x40fcdb
mov edx, dword [ebx + ebp*8 + 0x1095698]
cmp edx, eax
jae 0x40fcec
add ebp, 1
cmp ebp, 0x8f
mov dword [ebx + 0x1095690], ebp
jle 0x40fcab
fdiv dword [esi + 0x4ff0]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.00441e16
push edi
push 0x2710
push edx
push eax
call fcn.00441ee0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
mov esi, dword [0x488ae8]
push 0x477f94
push 0x477f88
fdiv qword [0x479580]
push esi
fstp qword [esp + 0x1c]
call fcn.0043bf85
fld qword [esp + 0x1c]
mov eax, dword [esi]
fstp qword [esp + 4]
add esp, 4
push str.Duration_of_a_file_sec_
push str._s_lf_n
push eax
call fcn.0043c301
mov ecx, dword [esi]
add esp, 0x14
push ecx
call fcn.0043c6cc
mov ebp, dword [ebx + 0x10cc078]
mov edx, dword [ebp + 0x4fe8]
add esp, 4
push 1
push edi
add ebp, 0x4fe4
push edi
push edx
call fcn.00441ea0
mov esi, eax
mov eax, dword [ebp]
mov edi, edx
xor ecx, ecx
lea edx, [esp + 0x28]
add esi, eax
push edx
adc edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [esp + 0x28]
push 0
cdq
push 0x23c34600
push edx
push eax
call fcn.00441ea0
sub esi, eax
sbb edi, edx
mov edx, dword [ebx + 0x10cc078]
mov ecx, edi
mov dword [ebx + 0x1095eb4], edi
lea edi, [ebx + 0x1095ec8]
push edi
add edx, 0x4fe4
mov eax, esi
push edx
mov dword [ebx + 0x1095eb0], esi
mov dword [ebx + 0x1095eb8], eax
mov dword [ebx + 0x1095ebc], ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebx + 0x1095ed6]
movzx ecx, word [ebx + 0x1095ed4]
movzx edx, word [ebx + 0x1095ed2]
push eax
movzx eax, word [ebx + 0x1095ed0]
push ecx
movzx ecx, word [edi]
push edx
lea esi, [ebx + 0x10966f8]
push eax
sub ecx, 0x7d0
movzx edx, word [ebx + 0x1095eca]
movzx eax, word [ebx + 0x1095ece]
push ecx
push edx
push eax
push str.Sys.Time_of_beginning__3h___02d._02d._02d__02d:_02d:_02d__03d
push 0x100
push esi
call fcn.0043d25e
mov ebp, dword [0x488ae8]
push 0x477f94
push 0x477f88
push ebp
call fcn.0043bf85
mov ecx, dword [ebp]
add esp, 0x34
push esi
push 0x477f98
push ecx
call fcn.0043c301
mov edx, dword [ebp]
add esp, 0xc
push edx
call fcn.0043c6cc
add esp, 4
cmp dword [ebx + 0x1095690], 0x90
jge 0x40ff5c
fld qword [0x479568]
mov eax, dword [ebx + 0x1095690]
mov ecx, dword [ebx + eax*8 + 0x109569c]
mov edx, dword [ebx + eax*8 + 0x1095698]
push 0
push 6
push ecx
push edx
call fcn.00441ee0
mov ebp, eax
mov dword [ebx + 0x1095e98], eax
mov eax, edx
push eax
mov eax, dword [ebx + 0x1095eb4]
push ebp
push eax
mov eax, dword [ebx + 0x1095eb0]
push eax
mov dword [ebx + 0x1095e9c], edx
call fcn.00441ee0
mov ecx, dword [ebx + 0x1095e9c]
push ecx
push ebp
push edx
push eax
call fcn.00441ea0
push 0
mov dword [ebx + 0x1095ea0], eax
mov eax, dword [ebx + 0x1095e9c]
push 6
push eax
push ebp
mov dword [ebx + 0x1095ea4], edx
call fcn.00441ea0
add eax, dword [ebx + 0x1095ea0]
adc edx, dword [ebx + 0x1095ea4]
mov dword [ebx + 0x1095ea8], eax
mov eax, dword [ebx + 0x10cc078]
mov dword [ebx + 0x1095eac], edx
fld dword [eax + 0x4ff0]
fdivr st(1)
fild qword [eax + 0x40]
fmulp st(1)
call fcn.00441e16
add eax, dword [ebx + 0x1095eb0]
mov ecx, dword [ebx + 0x1095eac]
adc edx, dword [ebx + 0x1095eb4]
cmp ecx, edx
jg 0x40ff5a
jl 0x40ff40
mov edx, dword [ebx + 0x1095ea8]
cmp edx, eax
jae 0x40ff5a
mov eax, dword [ebx + 0x1095690]
add eax, 1
cmp eax, 0x90
mov dword [ebx + 0x1095690], eax
jl 0x40fe7e
fstp st(0)
mov eax, dword [ebx + 0x1095690]
push 0
mov dword [ebx + 0x1095694], eax
mov ecx, dword [ebx + eax*8 + 0x109569c]
mov edx, dword [ebx + eax*8 + 0x1095698]
push 0x989680
push ecx
push edx
call fcn.00441ee0
push 0x477f94
mov ebp, eax
mov eax, dword [0x488ae8]
push 0x477f88
push eax
mov dword [esp + 0x1c], eax
call fcn.0043bf85
add esp, 0xc
push ebp
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
push str.Display_range_sec_
push str._s_d__x__n
push eax
call fcn.0043c301
mov ecx, dword [ebp]
add esp, 0x14
push ecx
call fcn.0043c6cc
mov edx, dword [ebx + 0x1095ea0]
mov dword [esp + 0x24], edx
mov eax, edx
mov edx, dword [ebx + 0x1095ea4]
add esp, 4
mov cl, 0x20
call fcn.0046a310
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [ebx + 0x1095ed6]
movzx edx, word [ebx + 0x1095ed4]
movzx eax, word [ebx + 0x1095ed2]
push ecx
movzx ecx, word [ebx + 0x1095ed0]
push edx
movzx edx, word [edi]
push eax
movzx eax, word [ebx + 0x1095eca]
push ecx
movzx ecx, word [ebx + 0x1095ece]
sub edx, 0x7d0
push edx
push eax
push ecx
push str.Window_begin_time__02d._02d._02d__02d:_02d:_02d__03d
push 0xff
push esi
call fcn.0043d25e
mov ebp, dword [0x488ae8]
push 0x477f94
push 0x477f88
push ebp
call fcn.0043bf85
mov edx, dword [ebp]
add esp, 0x34
push esi
push 0x477f98
push edx
call fcn.0043c301
mov eax, dword [ebp]
add esp, 0xc
push eax
call fcn.0043c6cc
mov ecx, dword [ebx + 0x1095ea8]
mov edx, dword [ebx + 0x1095eac]
mov dword [esp + 0x24], ecx
mov eax, ecx
add esp, 4
mov cl, 0x20
call fcn.0046a310
push edi
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebx + 0x1095ed6]
movzx ecx, word [ebx + 0x1095ed4]
movzx edx, word [ebx + 0x1095ed2]
push eax
movzx eax, word [ebx + 0x1095ed0]
push ecx
movzx ecx, word [edi]
push edx
movzx edx, word [ebx + 0x1095eca]
push eax
movzx eax, word [ebx + 0x1095ece]
sub ecx, 0x7d0
push ecx
push edx
push eax
push str.Window_end_time__02d._02d._02d__02d:_02d:_02d__03d
push 0xff
push esi
call fcn.0043d25e
mov edi, dword [0x488ae8]
push 0x477f94
push 0x477f88
push edi
call fcn.0043bf85
mov ecx, dword [edi]
add esp, 0x34
push esi
push 0x477f98
push ecx
call fcn.0043c301
mov edx, dword [edi]
add esp, 0xc
push edx
call fcn.0043c6cc
mov eax, dword [ebx + 0x10cc078]
fild qword [eax + 0x40]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push ecx
fmul st(1)
fstp qword [esp]
push eax
sub esp, 8
fstp qword [esp]
push str.Number_of_data_samples_.0lf_x__u___.0lf
push 0xff
push esi
call fcn.0043d25e
mov edi, dword [0x488ae8]
push 0x477f94
push 0x477f88
push edi
call fcn.0043bf85
mov eax, dword [edi]
add esp, 0x2c
push esi
push 0x477f98
push eax
call fcn.0043c301
mov ecx, dword [edi]
add esp, 0xc
push ecx
call fcn.0043c6cc
xor esi, esi
add esp, 4
cmp dword [ebx + 0x1095690], esi
jl 0x410203
fld qword [0x4795f0]
lea edi, [ebx + 0x1094e48]
fld qword [0x479568]
mov eax, dword [ebx + 0x10cc078]
mov edx, dword [ebx + 0x1095690]
sub edx, esi
fild qword [ebx + edx*8 + 0x1095698]
fild qword [eax + 0x40]
fmulp st(1)
fld dword [eax + 0x4ff0]
fdivr st(2)
fild qword [eax + 0x40]
fmulp st(1)
call fcn.00441e16
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fdivp st(1)
call fcn.00441e16
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fild qword [esp + 0x18]
fst qword [edi]
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x4101ff
add esi, 1
add edi, 8
cmp esi, dword [ebx + 0x1095690]
jle 0x41019b
fstp st(1)
fstp st(0)
mov eax, dword [ebx + 0x10cc078]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x2c]
mov dword [ebx + reloc.GDI32.dll_PolylineTo], eax
lea eax, [ebx + 0x84d94]
mov dword [ebx + 0x82d10], ecx
mov dword [ebx + 0x4b4], eax
lea eax, [ebx + 0x1094e48]
lea ecx, [ebx + 0x1095ee8]
mov dword [ebx + 0x83554], esi
mov dword [ebx + 0x82d14], edx
mov dword [ebx + 0x82d30], ecx
mov dword [ebx + 0x82d2c], eax
fld qword [eax]
fmul qword [0x479508]
mov esi, ebx
fstp qword [ebx + 0x83578]
call fcn.00419850
mov edx, dword [ebx + 0x82d28]
push 0
lea eax, [ebx + 0x24e8]
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 0xe0e0
lea ebp, [ebx + 0x84590]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov ecx, 0x20
lea esi, [esp + 0x28]
mov edi, ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x30], 0xc000
mov dword [esp + 0x34], 0xff0000
mov dword [esp + 0x38], 0x202020
mov dword [esp + 0x3c], 0x2828
mov dword [esp + 0x40], 0x280028
mov dword [esp + 0x44], 0x282800
mov dword [esp + 0x48], 0x404040
mov dword [esp + 0x4c], 0x5050
mov dword [esp + 0x50], 0x500050
mov dword [esp + 0x54], 0x505000
mov dword [esp + 0x58], 0x606060
mov dword [esp + 0x5c], 0x6464
mov dword [esp + 0x60], 0x640064
mov dword [esp + 0x64], 0x646400
mov dword [esp + 0x68], 0x808080
mov dword [esp + 0x6c], 0x8080
mov dword [esp + 0x70], 0x800080
mov dword [esp + 0x74], 0x808000
mov dword [esp + 0x78], 0xa0a0a0
mov dword [esp + 0x7c], 0xa0a0
mov dword [esp + 0x80], 0xa000a0
mov dword [esp + 0x84], 0xa0a000
mov dword [esp + 0x88], 0xc0c0c0
mov dword [esp + 0x8c], 0xc0c0
mov dword [esp + 0x90], 0xc000c0
mov dword [esp + 0x94], 0xc0c000
mov dword [esp + 0x98], 0xe0e0e0
mov dword [esp + 0xa4], 0xe0e000
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10971f8]
mov eax, ecx
mov edx, 0x100
jmp 0x4103c0
mov dword [eax - 0x1012868], 1
mov dword [eax], 1
add eax, 4
sub edx, 1
jne 0x4103c0
mov esi, dword [ebx + 0x10cc078]
lea edi, [ebx + 0x84990]
push ecx
lea eax, [ebx + 0x1097604]
mov edx, edi
mov ecx, ebp
call fcn.00402ed0
push ebx
mov ecx, edi
mov eax, ebp
call fcn.004196d0
mov eax, dword [ebx + 0x10cc078]
xor esi, esi
cmp dword [eax + 0x2c], esi
mov dword [esp + 0x18], esi
jle 0x41047d
mov dword [esp + 0x10], esi
lea ebp, [ebx + 0x83588]
lea edi, [ebx + 0x1097610]
jmp 0x410425
mov esi, dword [esp + 0x10]
mov ecx, dword [edi - 0x1013080]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x18]
mov dword [edi], eax
mov edx, dword [ebx + 0x82d30]
fld dword [esi + edx]
push ecx
fstp qword [ebp + 0x800]
mov eax, dword [ebx + 0x82d30]
fld dword [esi + eax + 4]
mov esi, ebx
fstp qword [ebp]
call fcn.0041a380
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x10cc078]
add dword [esp + 0x10], 8
add eax, 1
add edi, 4
add ebp, 8
cmp eax, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
jl 0x410421
mov esi, ebx
mov dword [ebx + 0x83564], 0
call fcn.00419850
push 0
lea eax, [ebx + 0x24e8]
push eax
mov eax, dword [ebx + 0x82d28]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xe8
call fcn.0041caab
add esp, 4
test eax, eax
je 0x4104ce
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + reloc.USER32.dll_GetDesktopWindow]
mov ecx, 0x31
call fcn.00403d30
jmp 0x4104d0
xor eax, eax
push 0xe8
mov dword [ebx + 0x10cc07c], eax
call fcn.0041caab
add esp, 4
test eax, eax
je 0x410500
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + reloc.USER32.dll_GetDesktopWindow]
mov ecx, 0x32
call fcn.00403d30
jmp 0x410502
xor eax, eax
push 0xe4
mov dword [ebx + 0x10cc080], eax
call fcn.0041caab
add esp, 4
test eax, eax
je 0x410532
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + reloc.USER32.dll_GetDesktopWindow]
mov ecx, 0x31
call fcn.00404370
jmp 0x410534
xor eax, eax
push 0xe4
mov dword [ebx + 0x10cc084], eax
call fcn.0041caab
add esp, 4
test eax, eax
je 0x410564
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + reloc.USER32.dll_GetDesktopWindow]
mov ecx, 0x32
call fcn.00404370
jmp 0x410566
xor eax, eax
mov ecx, dword [esp + 0xdc]
fld dword [0x4795e8]
pop edi
fstp dword [ebx + 0x10cc074]
pop esi
pop ebp
xor ecx, esp
mov dword [ebx + 0x10cc088], eax
call fcn.0043b563
add esp, 0xd8
ret