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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x44aad4]
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 0x40e9c3
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 0x40e990
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]
mov dword [ebx + 0x82d1c], eax
mov eax, dword [ebx + 0x4bc]
push eax
call ebp
push 0xc8f0f0
push edi
push edi
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x1000000
mov dword [ebx + 0x4bc], eax
lea eax, [ebx + 0x84d94]
push edi
push eax
call fcn.00425d60
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
jmp 0x40eb50
mov ebp, 0xc
mov ecx, dword [esi - 0x5c]
mov edx, dword [esi - 0x60]
push edi
push 0xa
push ecx
push edx
call fcn.004279a0
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
sub ebp, 1
jne 0x40eb55
sub dword [esp + 0x10], 1
jne 0x40eb50
mov esi, dword [ebx + 0x10cc078]
fld qword [0x443498]
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.00427926
mov ecx, dword [ebx + ebp*8 + 0x109569c]
cmp ecx, edx
jg 0x40ebcc
jl 0x40ebbb
mov edx, dword [ebx + ebp*8 + 0x1095698]
cmp edx, eax
jae 0x40ebcc
add ebp, 1
cmp ebp, 0x8f
mov dword [ebx + 0x1095690], ebp
jle 0x40eb8b
fdiv dword [esi + 0x4ff0]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.00427926
push edi
push 0x2710
push edx
push eax
call fcn.004279e0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
mov esi, dword [0x44f424]
push 0x441ff0
push 0x441fe4
fdiv qword [0x4434b0]
push esi
fstp qword [esp + 0x1c]
call fcn.00423e15
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.00423e65
mov ecx, dword [esi]
add esp, 0x14
push ecx
call fcn.0042406c
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.004279a0
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.004279a0
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 esi
call fcn.0042375a
mov ebp, dword [0x44f424]
add esp, 0x24
push 0x441ff0
push 0x441fe4
push ebp
call fcn.00423e15
mov ecx, dword [ebp]
add esp, 0xc
push esi
push 0x441ff4
push ecx
call fcn.00423e65
mov edx, dword [ebp]
add esp, 0xc
push edx
call fcn.0042406c
add esp, 4
cmp dword [ebx + 0x1095690], 0x90
jge 0x40ee3a
fld qword [0x443498]
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.004279e0
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.004279e0
mov ecx, dword [ebx + 0x1095e9c]
push ecx
push ebp
push edx
push eax
call fcn.004279a0
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.004279a0
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.00427926
add eax, dword [ebx + 0x1095eb0]
mov ecx, dword [ebx + 0x1095eac]
adc edx, dword [ebx + 0x1095eb4]
cmp ecx, edx
jg 0x40ee38
jl 0x40ee1e
mov edx, dword [ebx + 0x1095ea8]
cmp edx, eax
jae 0x40ee38
mov eax, dword [ebx + 0x1095690]
add eax, 1
cmp eax, 0x90
mov dword [ebx + 0x1095690], eax
jl 0x40ed5c
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.004279e0
push 0x441ff0
mov ebp, eax
mov eax, dword [0x44f424]
push 0x441fe4
push eax
mov dword [esp + 0x1c], eax
call fcn.00423e15
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.00423e65
mov ecx, dword [ebp]
add esp, 0x14
push ecx
call fcn.0042406c
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.0043b610
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 esi
call fcn.0042375a
mov ebp, dword [0x44f424]
add esp, 0x24
push 0x441ff0
push 0x441fe4
push ebp
call fcn.00423e15
mov edx, dword [ebp]
add esp, 0xc
push esi
push 0x441ff4
push edx
call fcn.00423e65
mov eax, dword [ebp]
add esp, 0xc
push eax
call fcn.0042406c
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.0043b610
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 esi
call fcn.0042375a
mov edi, dword [0x44f424]
add esp, 0x24
push 0x441ff0
push 0x441fe4
push edi
call fcn.00423e15
mov ecx, dword [edi]
add esp, 0xc
push esi
push 0x441ff4
push ecx
call fcn.00423e65
mov edx, dword [edi]
add esp, 0xc
push edx
call fcn.0042406c
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 esi
call fcn.0042375a
mov edi, dword [0x44f424]
add esp, 0x1c
push 0x441ff0
push 0x441fe4
push edi
call fcn.00423e15
mov eax, dword [edi]
add esp, 0xc
push esi
push 0x441ff4
push eax
call fcn.00423e65
mov ecx, dword [edi]
add esp, 0xc
push ecx
call fcn.0042406c
xor esi, esi
add esp, 4
cmp dword [ebx + 0x1095690], esi
jl 0x40f0db
fld qword [0x443520]
lea edi, [ebx + 0x1094e48]
fld qword [0x443498]
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.00427926
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fdivp st(1)
call fcn.00427926
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 0x40f0d7
add esi, 1
add edi, 8
cmp esi, dword [ebx + 0x1095690]
jle 0x40f073
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 + 0x82908], 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 [0x443440]
mov esi, ebx
fstp qword [ebx + 0x83578]
call fcn.00418240
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
lea esp, [esp]
mov dword [eax - 0x1012868], 1
mov dword [eax], 1
add eax, 4
sub edx, 1
jne 0x40f290
mov esi, dword [ebx + 0x10cc078]
lea edi, [ebx + 0x84990]
push ecx
lea eax, [ebx + 0x1097604]
mov edx, edi
mov ecx, ebp
call fcn.00402d80
push ebx
mov ecx, edi
mov eax, ebp
call fcn.00418170
mov eax, dword [ebx + 0x10cc078]
xor esi, esi
cmp dword [eax + 0x2c], esi
mov dword [esp + 0x18], esi
jle 0x40f34d
mov dword [esp + 0x10], esi
lea ebp, [ebx + 0x83588]
lea edi, [ebx + 0x1097610]
jmp 0x40f2f5
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 [edx + esi]
push ecx
fstp qword [ebp + 0x800]
mov eax, dword [ebx + 0x82d30]
fld dword [eax + esi + 4]
mov esi, ebx
fstp qword [ebp]
call fcn.00418d00
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 0x40f2f1
mov esi, ebx
mov dword [ebx + 0x83564], 0
call fcn.00418240
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.0041aa8d
add esp, 4
test eax, eax
je 0x40f39e
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + 0x824f8]
mov ecx, 0x31
call fcn.00403a80
jmp 0x40f3a0
xor eax, eax
push 0xe8
mov dword [ebx + 0x10cc07c], eax
call fcn.0041aa8d
add esp, 4
test eax, eax
je 0x40f3d0
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + 0x824f8]
mov ecx, 0x32
call fcn.00403a80
jmp 0x40f3d2
xor eax, eax
push 0xe4
mov dword [ebx + 0x10cc080], eax
call fcn.0041aa8d
add esp, 4
test eax, eax
je 0x40f402
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + 0x824f8]
mov ecx, 0x31
call fcn.00404000
jmp 0x40f404
xor eax, eax
push 0xe4
mov dword [ebx + 0x10cc084], eax
call fcn.0041aa8d
add esp, 4
test eax, eax
je 0x40f434
push eax
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + 0x824f8]
mov ecx, 0x32
call fcn.00404000
jmp 0x40f436
xor eax, eax
mov ecx, dword [esp + 0xdc]
fld dword [0x443518]
pop edi
fstp dword [ebx + 0x10cc074]
pop esi
pop ebp
xor ecx, esp
mov dword [ebx + 0x10cc088], eax
call fcn.0042374b
add esp, 0xd8
ret