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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42ddd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
mov ebx, ecx
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 eax, dword [eax + 0x2c]
push esi
xor edx, edx
cmp eax, ebp
push edi
jle 0x40e254
xor eax, eax
lea ecx, [ebx + 0x1095eec]
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 0x40e221
mov ecx, dword [ebx + 0x82d18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov ecx, dword [ebx + 0x82d24]
push 0x430108
push ebp
push 2
mov edi, dword [sym.imp.GDI32.dll_CreateFontW]
push ebp
push ebp
push 0xcc
push ebp
mov eax, 0x38e38e39
imul ecx
push ebp
push ebp
push 0xc8
sar edx, 4
push ebp
mov eax, edx
push ebp
shr eax, 0x1f
push ebp
add eax, edx
push eax
call edi
mov ecx, dword [ebx + 0x82d1c]
push ecx
mov dword [ebx + 0x82d18], eax
call esi
mov ecx, dword [ebx + 0x82d24]
push 0x430108
push ebp
push 2
push ebp
push ebp
push 0xcc
push ebp
mov eax, 0x66666667
imul ecx
push ebp
push ebp
push 0xc8
sar edx, 5
push ebp
mov eax, edx
push 0x384
shr eax, 0x1f
push ebp
add eax, edx
push eax
call edi
mov ecx, dword [ebx + 0x4bc]
push ecx
mov dword [ebx + 0x82d1c], eax
call esi
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
lea esp, [esp]
mov edi, 0xc
mov edx, dword [esi - 0x5c]
mov eax, dword [esi - 0x60]
push ebp
push 0xa
push edx
push eax
call fcn.0041a0e0
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
dec edi
jne 0x40e3f5
dec dword [esp + 0x10]
jne 0x40e3f0
mov esi, dword [ebx + 0x10cc078]
mov dword [ebx + 0x1095690], ebp
fld dword [esi + 0x4ff0]
mov edi, dword [ebx + 0x1095690]
fdivr qword [0x42f4f0]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.0041a7f8
mov ecx, dword [ebx + edi*8 + 0x109569c]
cmp ecx, edx
jg 0x40e466
jl 0x40e456
mov edx, dword [ebx + edi*8 + 0x1095698]
cmp edx, eax
jae 0x40e466
inc edi
mov eax, edi
cmp eax, 0x8f
mov dword [ebx + 0x1095690], edi
jle 0x40e422
fld dword [esi + 0x4ff0]
fdivr qword [0x42f4f0]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.0041a7f8
push ebp
push 0x2710
push edx
push eax
call fcn.0041a520
mov esi, dword [0x4405b8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
push 0x42f4dc
push str.Debug.txt
fmul qword [0x430518]
fstp qword [esp + 0x28]
call fcn.0041a059
fld qword [esp + 0x28]
mov dword [esi], eax
fstp qword [esp]
push str.Duration_of_a_file_sec_
push str._s_lf_n
push eax
call fcn.00419f9f
mov eax, dword [esi]
push eax
call fcn.00419f4e
mov ecx, dword [ebx + 0x10cc078]
add esp, 0x18
lea edx, [ecx + 0x4fe4]
push edx
call fcn.004010f0
mov ecx, edx
mov dword [ebx + 0x1095eb4], edx
mov edx, dword [ebx + 0x10cc078]
lea edi, [ebx + 0x1095ec8]
push edi
add edx, 0x4fe4
push edx
mov dword [ebx + 0x1095eb0], eax
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
movzx edx, word [ebx + 0x1095eca]
push eax
movzx eax, word [ebx + 0x1095ece]
sub ecx, 0x7d0
push ecx
push edx
push eax
lea esi, [ebx + 0x10966f8]
push str.Sys.Time_of_beginning__3h___02d._02d._02d__02d:_02d:_02d__03d
push esi
call fcn.0041a6e9
mov ecx, dword [0x4405b8]
push 0x42f4dc
push str.Debug.txt
mov dword [esp + 0x3c], ecx
call fcn.0041a059
mov edx, dword [esp + 0x3c]
push esi
push 0x42f4cc
push eax
mov dword [edx], eax
call fcn.00419f9f
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00419f4e
mov eax, dword [ebx + 0x1095690]
add esp, 0x3c
cmp eax, 0x90
jge 0x40e6a7
jmp 0x40e5c0
xor ebp, ebp
jmp 0x40e5c0
mov eax, dword [ebx + 0x1095690]
mov edx, dword [ebx + eax*8 + 0x109569c]
mov eax, dword [ebx + eax*8 + 0x1095698]
push ebp
push 6
push edx
push eax
call fcn.0041a520
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.0041a520
mov ecx, dword [ebx + 0x1095e9c]
push ecx
push ebp
push edx
push eax
call fcn.0041a0e0
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.0041a0e0
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 [0x42f4f0]
fild qword [eax + 0x40]
fmulp st(1)
call fcn.0041a7f8
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 0x40e6a5
jl 0x40e68d
mov edx, dword [ebx + 0x1095ea8]
cmp edx, eax
jae 0x40e6a5
mov eax, dword [ebx + 0x1095690]
inc eax
cmp eax, 0x90
mov dword [ebx + 0x1095690], eax
jl 0x40e5b6
xor ebp, ebp
mov eax, dword [ebx + 0x1095690]
push ebp
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.0041a520
mov dword [esp + 0x18], eax
mov eax, dword [0x4405b8]
push 0x42f4dc
push str.Debug.txt
mov dword [esp + 0x18], eax
call fcn.0041a059
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
push ecx
push ecx
push str.Display_range_sec_
push str._s_d__x__n
push eax
call fcn.00419f9f
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call fcn.00419f4e
mov ecx, dword [ebx + 0x1095ea0]
mov edx, dword [ebx + 0x1095ea4]
mov dword [esp + 0x48], ecx
mov eax, ecx
add esp, 0x20
mov cl, 0x20
call fcn.0041b4a0
push edi
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], 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.0041a6e9
mov ecx, dword [0x4405b8]
push 0x42f4dc
push str.Debug.txt
mov dword [esp + 0x3c], ecx
call fcn.0041a059
mov edx, dword [esp + 0x3c]
push esi
push 0x42f4cc
push eax
mov dword [edx], eax
call fcn.00419f9f
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00419f4e
mov edx, dword [ebx + 0x1095ea8]
mov dword [esp + 0x64], edx
mov eax, edx
mov edx, dword [ebx + 0x1095eac]
add esp, 0x3c
mov cl, 0x20
call fcn.0041b4a0
mov dword [esp + 0x2c], eax
push edi
lea eax, [esp + 0x2c]
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.0041a6e9
mov edi, dword [0x4405b8]
push 0x42f4dc
push str.Debug.txt
call fcn.0041a059
push esi
push 0x42f4cc
push eax
mov dword [edi], eax
call fcn.00419f9f
mov edx, dword [edi]
push edx
call fcn.00419f4e
mov eax, dword [ebx + 0x10cc078]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
fild qword [esp + 0x54]
add esp, 0x34
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fmulp st(1)
fstp qword [esp]
push eax
fild qword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
push 0x430570
push esi
call fcn.0041a6e9
mov edi, dword [0x4405b8]
push 0x42f4dc
push str.Debug.txt
call fcn.0041a059
push esi
push 0x42f4cc
push eax
mov dword [edi], eax
call fcn.00419f9f
mov eax, dword [edi]
push eax
call fcn.00419f4e
mov eax, dword [ebx + 0x1095690]
add esp, 0x34
xor esi, esi
cmp eax, ebp
jl 0x40e95e
lea edi, [ebx + 0x1094e48]
mov eax, dword [ebx + 0x10cc078]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x1095690]
sub ecx, esi
fild qword [ebx + ecx*8 + 0x1095698]
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
fmulp st(1)
fld dword [eax + 0x4ff0]
fdivr qword [0x42f4f0]
fild qword [eax + 0x40]
fmulp st(1)
call fcn.0041a7f8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fdivp st(1)
call fcn.0041a7f8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fild qword [esp + 0x18]
fst qword [edi]
fcomp qword [0x430568]
fnstsw ax
test ah, 5
jnp 0x40e95e
mov eax, dword [ebx + 0x1095690]
inc esi
add edi, 8
cmp esi, eax
jle 0x40e8e3
mov eax, dword [ebx + 0x10cc078]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x2c]
lea edi, [ebx + 0x1094e48]
push edi
push esi
lea esi, [ebx + 0x1095ee8]
push esi
lea esi, [ebx + 0x84d94]
push esi
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00418520
mov eax, 0xe0e0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
lea edi, [ebx + 0x84590]
mov ecx, 0x20
lea esi, [esp + 0x30]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0xff
mov dword [esp + 0x38], 0xc000
mov dword [esp + 0x3c], 0xff0000
mov dword [esp + 0x40], 0x202020
mov dword [esp + 0x44], 0x2828
mov dword [esp + 0x48], 0x280028
mov dword [esp + 0x4c], 0x282800
mov dword [esp + 0x50], 0x404040
mov dword [esp + 0x54], 0x5050
mov dword [esp + 0x58], 0x500050
mov dword [esp + 0x5c], 0x505000
mov dword [esp + 0x60], 0x606060
mov dword [esp + 0x64], 0x6464
mov dword [esp + 0x68], 0x640064
mov dword [esp + 0x6c], 0x646400
mov dword [esp + 0x70], 0x808080
mov dword [esp + 0x74], 0x8080
mov dword [esp + 0x78], 0x800080
mov dword [esp + 0x7c], 0x808000
mov dword [esp + 0x80], 0xa0a0a0
mov dword [esp + 0x84], 0xa0a0
mov dword [esp + 0x88], 0xa000a0
mov dword [esp + 0x8c], 0xa0a000
mov dword [esp + 0x90], 0xc0c0c0
mov dword [esp + 0x94], 0xc0c0
mov dword [esp + 0x98], 0xc000c0
mov dword [esp + 0x9c], 0xc0c000
mov dword [esp + 0xa0], 0xe0e0e0
mov dword [esp + 0xac], 0xe0e000
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10971f8]
mov eax, ecx
mov edx, 0x100
jmp 0x40ead0
mov dword [eax - 0x1012868], 1
mov dword [eax], 1
add eax, 4
dec edx
jne 0x40ead0
lea esi, [ebx + 0x84990]
push esi
push ecx
mov ecx, dword [ebx + 0x10cc078]
lea eax, [ebx + 0x84590]
push eax
lea edx, [ebx + 0x1097604]
push edx
call fcn.00401590
push esi
lea eax, [ebx + 0x84590]
push eax
mov ecx, ebx
call fcn.00415ea0
mov eax, dword [ebx + 0x10cc078]
cmp dword [eax + 0x2c], ebp
mov dword [esp + 0x18], ebp
jle 0x40eba2
mov dword [esp + 0x10], ebp
lea edi, [ebx + 0x83588]
lea esi, [ebx + 0x1097610]
lea esp, [esp]
mov ecx, dword [esi - 0x1013080]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi], eax
mov edx, dword [ebx + 0x82d30]
mov eax, dword [esp + 0x10]
fld dword [eax + edx]
mov edx, dword [esp + 0x18]
fstp qword [edi + 0x800]
mov ecx, dword [ebx + 0x82d30]
fld dword [eax + ecx + 4]
push ebp
push edx
fstp qword [edi]
mov ecx, ebx
call fcn.00416a70
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 8
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x10cc078]
mov edx, dword [ecx + 0x2c]
inc eax
add esi, 4
add edi, 8
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x40eb40
mov ecx, ebx
mov dword [ebx + 0x83564], ebp
call fcn.00415f80
mov eax, dword [ebx + 0x82d28]
push ebp
lea edx, [ebx + 0x24e8]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xe8
call fcn.00427e36
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], ebp
je 0x40ebf9
mov edx, dword [ebx + 0x82d28]
lea ecx, [ebx + 0x824f8]
push ecx
push 0x31
push edx
mov ecx, eax
call fcn.00403bf0
jmp 0x40ebfb
xor eax, eax
or esi, 0xffffffff
push 0xe8
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x10cc07c], eax
call fcn.00427e36
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], 1
je 0x40ec44
mov edx, dword [ebx + 0x82d28]
lea ecx, [ebx + 0x824f8]
push ecx
push 0x32
push edx
mov ecx, eax
call fcn.00403bf0
jmp 0x40ec46
xor eax, eax
push 0xe4
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x10cc080], eax
call fcn.00427e36
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], 2
je 0x40ec8c
mov edx, dword [ebx + 0x82d28]
lea ecx, [ebx + 0x824f8]
push ecx
push 0x31
push edx
mov ecx, eax
call fcn.00404180
jmp 0x40ec8e
xor eax, eax
push 0xe4
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x10cc084], eax
call fcn.00427e36
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], 3
je 0x40ecda
mov edx, dword [ebx + 0x82d28]
lea ecx, [ebx + 0x824f8]
push ecx
push 0x32
push edx
mov ecx, eax
call fcn.00404180
mov dword [ebx + 0x10cc088], eax
jmp 0x40ece0
mov dword [ebx + 0x10cc088], ebp
mov ecx, dword [esp + 0xb4]
pop edi
mov dword [ebx + 0x10cc074], 0x42480000
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret