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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x437788]
mov dword [esp + 0xd0], eax
xor eax, eax
push ebp
xor ebp, ebp
mov dword [ebx + 0x1095ee0], ebp
mov dword [ebx + 0x1095ee4], ebp
lea ecx, [ebx + 0x1097a18]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x10cc078]
mov dword [ebx + 0x10975f8], ebp
mov dword [ebx + 0x10975fc], ebp
mov ecx, dword [eax + 0x2c]
push esi
xor edx, edx
cmp ecx, ebp
push edi
jle 0x40e573
xor eax, eax
lea ecx, [ebx + 0x1095eec]
nop
mov esi, dword [ebx + 0x10cc078]
fld qword [eax + esi + 0x4f4]
inc edx
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]
mov edi, dword [esi + 0x2c]
add ecx, 8
cmp edx, edi
jl 0x40e540
mov ecx, dword [ebx + 0x82d18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call edi
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x433748
push ebp
push 2
push ebp
push ebp
push 0xcc
lea ecx, [eax + eax]
push ebp
mov eax, 0x55555556
imul ecx
push ebp
push ebp
push 0xc8
push ebp
mov esi, edx
push ebp
shr esi, 0x1f
add esi, edx
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edx, dword [ebx + 0x82d1c]
push edx
mov dword [ebx + 0x82d18], eax
call edi
push 0x433748
push ebp
push 2
push ebp
push ebp
push 0xcc
push ebp
push ebp
push ebp
push 0xc8
push ebp
push 0x384
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [ebx + 0x82d1c], eax
mov eax, dword [ebx + 0x4bc]
push eax
call edi
push 0xc8f0f0
push ebp
push ebp
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebx + 0x4bc], eax
lea edi, [ebx + 0x84d94]
mov ecx, 0x400000
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x109564c], ebp
mov dword [ebx + 0x1095698], 0x12c
mov dword [ebx + 0x109569c], ebp
mov dword [ebx + 0x10956a0], 0x168
mov dword [ebx + 0x10956a4], ebp
mov dword [ebx + 0x10956a8], 0x1a4
mov dword [ebx + 0x10956ac], ebp
mov dword [ebx + 0x10956b0], 0x1e0
mov dword [ebx + 0x10956b4], ebp
mov dword [ebx + 0x10956b8], 0x258
mov dword [ebx + 0x10956bc], ebp
mov dword [ebx + 0x10956c0], 0x2d0
mov dword [ebx + 0x10956c4], ebp
mov dword [ebx + 0x10956c8], 0x384
mov dword [ebx + 0x10956cc], ebp
mov dword [ebx + 0x10956d0], 0x438
mov dword [ebx + 0x10956d4], ebp
mov dword [ebx + 0x10956d8], 0x528
mov dword [ebx + 0x10956dc], ebp
mov dword [ebx + 0x10956e0], 0x690
mov dword [ebx + 0x10956e4], ebp
mov dword [ebx + 0x10956e8], 0x7f8
mov dword [ebx + 0x10956ec], ebp
mov dword [ebx + 0x10956f0], 0x960
mov dword [ebx + 0x10956f4], ebp
lea esi, [ebx + 0x10956f8]
mov dword [esp + 0x10], 0xb
mov edi, 0xc
lea ebx, [ebx]
mov ecx, dword [esi - 0x5c]
mov edx, dword [esi - 0x60]
push ebp
push 0xa
push ecx
push edx
call fcn.0041d760
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
dec edi
jne 0x40e700
dec dword [esp + 0x10]
jne 0x40e6f5
mov esi, dword [ebx + 0x10cc078]
mov dword [ebx + 0x1095690], ebp
lea ecx, [ecx]
fld dword [esi + 0x4ff0]
mov edi, dword [ebx + 0x1095690]
fdivr qword [0x433c98]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.0041d6e4
mov ecx, dword [ebx + edi*8 + 0x109569c]
cmp ecx, edx
jg 0x40e774
jl 0x40e764
mov edx, dword [ebx + edi*8 + 0x1095698]
cmp edx, eax
jae 0x40e774
inc edi
mov eax, edi
cmp eax, 0x8f
mov dword [ebx + 0x1095690], edi
jle 0x40e730
fld dword [esi + 0x4ff0]
fdivr qword [0x433c98]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.0041d6e4
push ebp
push 0x2710
push edx
push eax
call fcn.0041d7a0
mov esi, dword [0x43b52c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
push 0x432bec
push str.Debug.txt
fmul qword [0x433d20]
fstp qword [esp + 0x18]
call fcn.0041bc24
fld qword [esp + 0x18]
mov dword [esi], eax
fstp qword [esp]
push str.Duration_of_a_file_sec_
push str._s_lf_n
push eax
call fcn.0041bc37
mov eax, dword [esi]
add esp, 0x14
push eax
call fcn.0041bd27
mov ebp, dword [ebx + 0x10cc078]
mov ecx, dword [ebp + 0x4fe8]
add esp, 4
push 1
push 0
add ebp, 0x4fe4
push 0
push ecx
call fcn.0041d760
mov edi, edx
mov edx, dword [ebp]
mov esi, eax
xor eax, eax
lea ecx, [esp + 0x28]
add esi, edx
push ecx
adc edi, eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [esp + 0x28]
push 0
cdq
push 0x23c34600
push edx
push eax
call fcn.0041d760
mov ecx, dword [ebx + 0x10cc078]
sub esi, eax
sbb edi, edx
mov eax, edi
mov dword [ebx + 0x1095eb4], edi
lea edi, [ebx + 0x1095ec8]
push edi
add ecx, 0x4fe4
mov edx, esi
push ecx
mov dword [ebx + 0x1095eb0], esi
mov dword [ebx + 0x1095eb8], edx
mov dword [ebx + 0x1095ebc], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx edx, word [ebx + 0x1095ed6]
movzx eax, word [ebx + 0x1095ed4]
movzx ecx, word [ebx + 0x1095ed2]
push edx
movzx edx, word [ebx + 0x1095ed0]
push eax
movzx eax, word [edi]
push ecx
lea esi, [ebx + 0x10966f8]
push edx
movzx ecx, word [ebx + 0x1095eca]
movzx edx, word [ebx + 0x1095ece]
sub eax, 0x7d0
push eax
push ecx
push edx
push str.Sys.Time_of_beginning__3h___02d._02d._02d__02d:_02d:_02d__03d
push esi
call fcn.0041b780
mov ebp, dword [0x43b52c]
add esp, 0x24
push 0x432bec
push str.Debug.txt
call fcn.0041bc24
push esi
push 0x432be8
push eax
mov dword [ebp], eax
call fcn.0041bc37
mov eax, dword [ebp]
add esp, 0x14
push eax
call fcn.0041bd27
mov eax, dword [ebx + 0x1095690]
add esp, 4
cmp eax, 0x90
jge 0x40e9e6
lea ecx, [ecx]
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.0041d7a0
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.0041d7a0
mov ecx, dword [ebx + 0x1095e9c]
push ecx
push ebp
push edx
push eax
call fcn.0041d760
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.0041d760
mov ebp, dword [ebx + 0x1095ea0]
mov ecx, dword [ebx + 0x1095ea4]
add eax, ebp
mov dword [ebx + 0x1095ea8], eax
mov eax, dword [ebx + 0x10cc078]
adc edx, ecx
mov dword [ebx + 0x1095eac], edx
fld dword [eax + 0x4ff0]
fdivr qword [0x433c98]
fild qword [eax + 0x40]
fmulp st(1)
call fcn.0041d6e4
mov ebp, dword [ebx + 0x1095eb0]
mov ecx, dword [ebx + 0x1095eb4]
add eax, ebp
adc edx, ecx
mov ecx, dword [ebx + 0x1095eac]
cmp ecx, edx
jg 0x40e9e6
jl 0x40e9ce
mov edx, dword [ebx + 0x1095ea8]
cmp edx, eax
jae 0x40e9e6
mov eax, dword [ebx + 0x1095690]
inc eax
cmp eax, 0x90
mov dword [ebx + 0x1095690], eax
jl 0x40e900
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.0041d7a0
mov ebp, eax
mov eax, dword [0x43b52c]
push 0x432bec
push str.Debug.txt
mov dword [esp + 0x18], eax
call fcn.0041bc24
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push str.Display_range_sec_
push str._s_d__x__n
push eax
mov dword [ecx], eax
call fcn.0041bc37
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
add esp, 0x1c
push eax
call fcn.0041bd27
mov ecx, dword [ebx + 0x1095ea0]
mov edx, dword [ebx + 0x1095ea4]
mov dword [esp + 0x24], ecx
mov eax, ecx
add esp, 4
mov cl, 0x20
call fcn.00428ed0
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_begin_time__02d._02d._02d__02d:_02d:_02d__03d
push esi
call fcn.0041b780
mov ebp, dword [0x43b52c]
add esp, 0x24
push 0x432bec
push str.Debug.txt
call fcn.0041bc24
push esi
push 0x432be8
push eax
mov dword [ebp], eax
call fcn.0041bc37
mov ecx, dword [ebp]
add esp, 0x14
push ecx
call fcn.0041bd27
mov edx, dword [ebx + 0x1095ea8]
mov dword [esp + 0x24], edx
mov eax, edx
mov edx, dword [ebx + 0x1095eac]
add esp, 4
mov cl, 0x20
call fcn.00428ed0
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_end_time__02d._02d._02d__02d:_02d:_02d__03d
push esi
call fcn.0041b780
mov edi, dword [0x43b52c]
add esp, 0x24
push 0x432bec
push str.Debug.txt
call fcn.0041bc24
push esi
push 0x432be8
push eax
mov dword [edi], eax
call fcn.0041bc37
mov edx, dword [edi]
add esp, 0x14
push edx
call fcn.0041bd27
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.0041b780
mov edi, dword [0x43b52c]
add esp, 0x1c
push 0x432bec
push str.Debug.txt
call fcn.0041bc24
push esi
push 0x432be8
push eax
mov dword [edi], eax
call fcn.0041bc37
mov eax, dword [edi]
add esp, 0x14
push eax
call fcn.0041bd27
mov eax, dword [ebx + 0x1095690]
add esp, 4
xor esi, esi
test eax, eax
jl 0x40ec7c
lea edi, [ebx + 0x1094e48]
jmp 0x40ec10
mov eax, dword [ebx + 0x10cc078]
mov ecx, dword [ebx + 0x1095690]
sub ecx, esi
fild qword [ebx + ecx*8 + 0x1095698]
fild qword [eax + 0x40]
fmulp st(1)
fld dword [eax + 0x4ff0]
fdivr qword [0x433c98]
fild qword [eax + 0x40]
fmulp st(1)
call fcn.0041d6e4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fdivp st(1)
call fcn.0041d6e4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fild qword [esp + 0x18]
fst qword [edi]
fcomp qword [0x433d18]
fnstsw ax
test ah, 5
jnp 0x40ec7c
mov eax, dword [ebx + 0x1095690]
inc esi
add edi, 8
cmp esi, eax
jle 0x40ec10
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 [0x433c38]
mov esi, ebx
fstp qword [ebx + 0x83578]
call fcn.004179f0
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, pe_nt_image_headers32
lea ecx, [ecx]
mov dword [eax - 0x1012868], 1
mov dword [eax], 1
add eax, 4
dec edx
jne 0x40ee30
mov esi, dword [ebx + 0x10cc078]
lea edi, [ebx + 0x84990]
push ecx
lea eax, [ebx + 0x1097604]
mov edx, edi
mov ecx, ebp
call fcn.00402f30
push ebx
mov ecx, edi
mov eax, ebp
call fcn.00417920
mov eax, dword [ebx + 0x10cc078]
mov ecx, dword [eax + 0x2c]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x18], esi
jle 0x40ef00
mov dword [esp + 0x10], esi
lea ebp, [ebx + 0x83588]
lea edi, [ebx + 0x1097610]
jmp 0x40eea0
mov esi, dword [esp + 0x10]
lea esp, [esp]
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 0
fstp qword [ebp + 0x800]
mov eax, dword [ebx + 0x82d30]
fld dword [eax + esi + 4]
push ecx
mov esi, ebx
fstp qword [ebp]
call fcn.004184d0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add edx, 8
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x10cc078]
mov ecx, dword [edx + 0x2c]
inc eax
add edi, 4
add ebp, 8
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x40ee95
mov esi, ebx
mov dword [ebx + 0x83564], 0
call fcn.004179f0
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.004295c7
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40ef50
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + 0x824f8]
push edx
push 0x31
call fcn.00403c70
jmp 0x40ef52
xor eax, eax
push 0xe8
mov dword [ebx + 0x10cc07c], eax
call fcn.004295c7
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40ef81
lea eax, [ebx + 0x824f8]
push eax
mov eax, dword [ebx + 0x82d28]
push 0x32
call fcn.00403c70
jmp 0x40ef83
xor eax, eax
push 0xe4
mov dword [ebx + 0x10cc080], eax
call fcn.004295c7
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40efb2
mov eax, dword [ebx + 0x82d28]
lea edx, [ebx + 0x824f8]
push edx
push 0x31
call fcn.004041d0
jmp 0x40efb4
xor eax, eax
push 0xe4
mov dword [ebx + 0x10cc084], eax
call fcn.004295c7
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40efe3
lea eax, [ebx + 0x824f8]
push eax
mov eax, dword [ebx + 0x82d28]
push 0x32
call fcn.004041d0
jmp 0x40efe5
xor eax, eax
mov ecx, dword [esp + 0xdc]
mov dword [ebx + 0x10cc088], eax
mov dword [ebx + 0x10cc074], 0x42480000
call fcn.0041c756
pop edi
pop esi
pop ebp
add esp, 0xd8
ret