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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426438
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 + 0x489ad8], ebp
mov dword [ebx + 0x489adc], ebp
lea ecx, [ebx + 0x48b010]
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 + 0x4930b4]
mov dword [ebx + 0x48abf0], ebp
mov dword [ebx + 0x48abf4], ebp
mov eax, dword [eax + 0x2c]
push esi
xor edx, edx
cmp eax, ebp
push edi
jle 0x409c74
xor eax, eax
lea ecx, [ebx + 0x489ae4]
mov esi, dword [ebx + 0x4930b4]
fld qword [eax + esi + 0x4f4]
inc edx
fstp dword [ecx - 4]
mov esi, dword [ebx + 0x4930b4]
fld qword [eax + esi + 0x4fc]
add eax, 0x14
fstp dword [ecx]
mov esi, dword [ebx + 0x4930b4]
mov edi, dword [esi + 0x2c]
add ecx, 8
cmp edx, edi
jl 0x409c41
mov ecx, dword [ebx + 0x82d10]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov ecx, dword [ebx + 0x82d1c]
push 0x427f00
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 + 0x82d14]
push ecx
mov dword [ebx + 0x82d10], eax
call esi
mov ecx, dword [ebx + 0x82d1c]
push 0x427f00
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 + 0x4b8]
push ecx
mov dword [ebx + 0x82d14], eax
call esi
push 0xc8f0f0
push ebp
push ebp
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebx + 0x4b8], eax
lea edi, [ebx + 0x8498c]
mov ecx, 0x100000
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x489244], ebp
mov dword [ebx + 0x489290], 0x12c
mov dword [ebx + 0x489294], ebp
mov dword [ebx + 0x489298], 0x168
mov dword [ebx + 0x48929c], ebp
mov dword [ebx + 0x4892a0], 0x1a4
mov dword [ebx + 0x4892a4], ebp
mov dword [ebx + 0x4892a8], 0x1e0
mov dword [ebx + 0x4892ac], ebp
mov dword [ebx + 0x4892b0], 0x258
mov dword [ebx + 0x4892b4], ebp
mov dword [ebx + 0x4892b8], 0x2d0
mov dword [ebx + 0x4892bc], ebp
mov dword [ebx + 0x4892c0], 0x384
mov dword [ebx + 0x4892c4], ebp
mov dword [ebx + 0x4892c8], 0x438
mov dword [ebx + 0x4892cc], ebp
mov dword [ebx + 0x4892d0], 0x528
mov dword [ebx + 0x4892d4], ebp
mov dword [ebx + 0x4892d8], 0x690
mov dword [ebx + 0x4892dc], ebp
mov dword [ebx + 0x4892e0], 0x7f8
mov dword [ebx + 0x4892e4], ebp
mov dword [ebx + 0x4892e8], 0x960
mov dword [ebx + 0x4892ec], ebp
lea esi, [ebx + 0x4892f0]
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.00412720
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
dec edi
jne 0x409e15
dec dword [esp + 0x10]
jne 0x409e10
mov esi, dword [ebx + 0x4930b4]
mov dword [ebx + 0x489288], ebp
fld dword [esi + 0x1b00]
mov edi, dword [ebx + 0x489288]
fdivr qword [0x4274c0]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.00412e7c
mov ecx, dword [ebx + edi*8 + 0x489294]
cmp ecx, edx
jg 0x409e86
jl 0x409e76
mov edx, dword [ebx + edi*8 + 0x489290]
cmp edx, eax
ja 0x409e86
inc edi
mov eax, edi
cmp eax, 0x8f
mov dword [ebx + 0x489288], edi
jle 0x409e42
fld dword [esi + 0x1b00]
fdivr qword [0x4274c0]
fild qword [esi + 0x40]
fmulp st(1)
call fcn.00412e7c
push ebp
push 0x2710
push edx
push eax
call fcn.00412b60
mov esi, dword [0x42f9e4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
push 0x4274ac
push str.Debug.txt
fmul qword [0x4281f0]
fstp qword [esp + 0x28]
call fcn.0041269d
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.004125e3
mov eax, dword [esi]
push eax
call fcn.00412592
mov ecx, dword [ebx + 0x4930b4]
add esp, 0x18
lea edx, [ecx + 0x1af4]
push edx
call fcn.004010f0
mov ecx, edx
mov dword [ebx + 0x489aac], edx
mov edx, dword [ebx + 0x4930b4]
lea edi, [ebx + 0x489ac0]
push edi
add edx, 0x1af4
push edx
mov dword [ebx + 0x489aa8], eax
mov dword [ebx + 0x489ab0], eax
mov dword [ebx + 0x489ab4], ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebx + 0x489ace]
movzx ecx, word [ebx + 0x489acc]
movzx edx, word [ebx + 0x489aca]
push eax
movzx eax, word [ebx + 0x489ac8]
push ecx
movzx ecx, word [edi]
push edx
movzx edx, word [ebx + 0x489ac2]
push eax
movzx eax, word [ebx + 0x489ac6]
sub ecx, 0x7d0
push ecx
push edx
push eax
lea esi, [ebx + 0x489cf0]
push str.Sys.Time_of_beginning__3h___02d._02d._02d__02d:_02d:_02d__03d
push esi
call fcn.00412d6d
mov ecx, dword [0x42f9e4]
push 0x4274ac
push str.Debug.txt
mov dword [esp + 0x3c], ecx
call fcn.0041269d
mov edx, dword [esp + 0x3c]
push esi
push 0x42749c
push eax
mov dword [edx], eax
call fcn.004125e3
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00412592
mov eax, dword [ebx + 0x489288]
add esp, 0x3c
cmp eax, 0x90
jge 0x40a0c7
jmp 0x409fe0
xor ebp, ebp
jmp 0x409fe0
mov eax, dword [ebx + 0x489288]
mov edx, dword [ebx + eax*8 + 0x489294]
mov eax, dword [ebx + eax*8 + 0x489290]
push ebp
push 6
push edx
push eax
call fcn.00412b60
mov ebp, eax
mov dword [ebx + 0x489a90], eax
mov eax, edx
push eax
mov eax, dword [ebx + 0x489aac]
push ebp
push eax
mov eax, dword [ebx + 0x489aa8]
push eax
mov dword [ebx + 0x489a94], edx
call fcn.00412b60
mov ecx, dword [ebx + 0x489a94]
push ecx
push ebp
push edx
push eax
call fcn.00412720
push 0
mov dword [ebx + 0x489a98], eax
mov eax, dword [ebx + 0x489a94]
push 6
push eax
push ebp
mov dword [ebx + 0x489a9c], edx
call fcn.00412720
mov ebp, dword [ebx + 0x489a98]
mov ecx, dword [ebx + 0x489a9c]
add eax, ebp
mov dword [ebx + 0x489aa0], eax
mov eax, dword [ebx + 0x4930b4]
adc edx, ecx
mov dword [ebx + 0x489aa4], edx
fld dword [eax + 0x1b00]
fdivr qword [0x4274c0]
fild qword [eax + 0x40]
fmulp st(1)
call fcn.00412e7c
mov ebp, dword [ebx + 0x489aa8]
mov ecx, dword [ebx + 0x489aac]
add eax, ebp
adc edx, ecx
mov ecx, dword [ebx + 0x489aa4]
cmp ecx, edx
jg 0x40a0c5
jl 0x40a0ad
mov edx, dword [ebx + 0x489aa0]
cmp edx, eax
jae 0x40a0c5
mov eax, dword [ebx + 0x489288]
inc eax
cmp eax, 0x90
mov dword [ebx + 0x489288], eax
jl 0x409fd6
xor ebp, ebp
mov eax, dword [ebx + 0x489288]
push ebp
mov dword [ebx + 0x48928c], eax
mov ecx, dword [ebx + eax*8 + 0x489294]
mov edx, dword [ebx + eax*8 + 0x489290]
push 0x989680
push ecx
push edx
call fcn.00412b60
mov dword [esp + 0x18], eax
mov eax, dword [0x42f9e4]
push 0x4274ac
push str.Debug.txt
mov dword [esp + 0x18], eax
call fcn.0041269d
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.004125e3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call fcn.00412592
mov ecx, dword [ebx + 0x489a98]
mov edx, dword [ebx + 0x489a9c]
mov dword [esp + 0x48], ecx
mov eax, ecx
add esp, 0x20
mov cl, 0x20
call fcn.00413950
push edi
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebx + 0x489ace]
movzx ecx, word [ebx + 0x489acc]
movzx edx, word [ebx + 0x489aca]
push eax
movzx eax, word [ebx + 0x489ac8]
push ecx
movzx ecx, word [edi]
push edx
movzx edx, word [ebx + 0x489ac2]
push eax
movzx eax, word [ebx + 0x489ac6]
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.00412d6d
mov ecx, dword [0x42f9e4]
push 0x4274ac
push str.Debug.txt
mov dword [esp + 0x3c], ecx
call fcn.0041269d
mov edx, dword [esp + 0x3c]
push esi
push 0x42749c
push eax
mov dword [edx], eax
call fcn.004125e3
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00412592
mov edx, dword [ebx + 0x489aa0]
mov dword [esp + 0x64], edx
mov eax, edx
mov edx, dword [ebx + 0x489aa4]
add esp, 0x3c
mov cl, 0x20
call fcn.00413950
mov dword [esp + 0x2c], eax
push edi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [ebx + 0x489ace]
movzx edx, word [ebx + 0x489acc]
movzx eax, word [ebx + 0x489aca]
push ecx
movzx ecx, word [ebx + 0x489ac8]
push edx
movzx edx, word [edi]
push eax
movzx eax, word [ebx + 0x489ac2]
push ecx
movzx ecx, word [ebx + 0x489ac6]
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.00412d6d
mov edi, dword [0x42f9e4]
push 0x4274ac
push str.Debug.txt
call fcn.0041269d
push esi
push 0x42749c
push eax
mov dword [edi], eax
call fcn.004125e3
mov edx, dword [edi]
push edx
call fcn.00412592
mov eax, dword [ebx + 0x4930b4]
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 0x428248
push esi
call fcn.00412d6d
mov edi, dword [0x42f9e4]
push 0x4274ac
push str.Debug.txt
call fcn.0041269d
push esi
push 0x42749c
push eax
mov dword [edi], eax
call fcn.004125e3
mov eax, dword [edi]
push eax
call fcn.00412592
mov eax, dword [ebx + 0x489288]
add esp, 0x34
xor esi, esi
cmp eax, ebp
jl 0x40a37e
lea edi, [ebx + 0x488a40]
mov eax, dword [ebx + 0x4930b4]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x489288]
sub ecx, esi
fild qword [ebx + ecx*8 + 0x489290]
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
fmulp st(1)
fld dword [eax + 0x1b00]
fdivr qword [0x4274c0]
fild qword [eax + 0x40]
fmulp st(1)
call fcn.00412e7c
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
fdivp st(1)
call fcn.00412e7c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fild qword [esp + 0x18]
fst qword [edi]
fcomp qword [0x428240]
fnstsw ax
test ah, 5
jnp 0x40a37e
mov eax, dword [ebx + 0x489288]
inc esi
add edi, 8
cmp esi, eax
jle 0x40a303
mov eax, dword [ebx + 0x4930b4]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x2c]
lea edi, [ebx + 0x488a40]
push edi
push esi
lea esi, [ebx + 0x489ae0]
push esi
lea esi, [ebx + 0x8498c]
push esi
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00410b50
mov eax, 0xe0e0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
lea edx, [ebx + 0x48a7f0]
lea eax, [ebx + 0x84588]
push edx
mov edi, eax
push eax
mov ecx, 0x20
lea esi, [esp + 0x38]
lea eax, [ebx + 0x48abfc]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0xff
mov dword [esp + 0x40], 0xc000
mov dword [esp + 0x44], 0xff0000
mov dword [esp + 0x48], 0x202020
mov dword [esp + 0x4c], 0x2828
mov dword [esp + 0x50], 0x280028
mov dword [esp + 0x54], 0x282800
mov dword [esp + 0x58], 0x404040
mov dword [esp + 0x5c], 0x5050
mov dword [esp + 0x60], 0x500050
mov dword [esp + 0x64], 0x505000
mov dword [esp + 0x68], 0x606060
mov dword [esp + 0x6c], 0x6464
mov dword [esp + 0x70], 0x640064
mov dword [esp + 0x74], 0x646400
mov dword [esp + 0x78], 0x808080
mov dword [esp + 0x7c], 0x8080
mov dword [esp + 0x80], 0x800080
mov dword [esp + 0x84], 0x808000
mov dword [esp + 0x88], 0xa0a0a0
mov dword [esp + 0x8c], 0xa0a0
mov dword [esp + 0x90], 0xa000a0
mov dword [esp + 0x94], 0xa0a000
mov dword [esp + 0x98], 0xc0c0c0
mov dword [esp + 0x9c], 0xc0c0
mov dword [esp + 0xa0], 0xc000c0
mov dword [esp + 0xa4], 0xc0c000
mov dword [esp + 0xa8], 0xe0e0e0
mov dword [esp + 0xb4], 0xe0e000
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x4930b4]
push eax
call fcn.00401590
push 1
lea eax, [ebx + 0x84588]
push eax
mov ecx, ebx
call fcn.0040ec10
mov ecx, dword [ebx + 0x4930b4]
mov eax, dword [ecx + 0x2c]
xor edi, edi
cmp eax, ebp
jle 0x40a5af
lea edx, [ebx + 0x83580]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
lea esi, [ebx + 0x48ac08]
jmp 0x40a540
mov eax, dword [esi - 0x406680]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi - 0x418], 1
mov edx, dword [ebx + 0x82d28]
fld dword [ecx + edx]
push ebp
fstp qword [eax + 0x800]
mov edx, dword [ebx + 0x82d28]
fld dword [ecx + edx + 4]
push edi
mov ecx, ebx
fstp qword [eax]
call fcn.0040f780
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, 8
add ecx, eax
add edx, eax
mov eax, dword [ebx + 0x4930b4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x2c]
inc edi
add esi, 4
cmp edi, ecx
mov dword [esp + 0x10], edx
jl 0x40a540
mov ecx, ebx
mov dword [ebx + 0x8355c], ebp
call fcn.0040ec90
mov edx, dword [ebx + 0x82d20]
push ebp
lea ecx, [ebx + 0x24e4]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xc0
call fcn.004204a4
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], ebp
je 0x40a606
mov edx, dword [ebx + 0x82d20]
lea ecx, [ebx + 0x824f4]
push ecx
push 0x31
push edx
mov ecx, eax
call fcn.004037d0
jmp 0x40a608
xor eax, eax
or esi, 0xffffffff
push 0xc0
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x4930b8], eax
call fcn.004204a4
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], 1
je 0x40a651
mov edx, dword [ebx + 0x82d20]
lea ecx, [ebx + 0x824f4]
push ecx
push 0x32
push edx
mov ecx, eax
call fcn.004037d0
jmp 0x40a653
xor eax, eax
push 0xb8
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x4930bc], eax
call fcn.004204a4
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], 2
je 0x40a699
mov edx, dword [ebx + 0x82d20]
lea ecx, [ebx + 0x824f4]
push ecx
push 0x31
push edx
mov ecx, eax
call fcn.00403c20
jmp 0x40a69b
xor eax, eax
push 0xb8
mov dword [esp + 0xc0], esi
mov dword [ebx + 0x4930c0], eax
call fcn.004204a4
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0xbc], 3
je 0x40a6e7
mov edx, dword [ebx + 0x82d20]
lea ecx, [ebx + 0x824f4]
push ecx
push 0x32
push edx
mov ecx, eax
call fcn.00403c20
mov dword [ebx + 0x4930c4], eax
jmp 0x40a6ed
mov dword [ebx + 0x4930c4], ebp
mov ecx, dword [esp + 0xb4]
pop edi
mov dword [ebx + 0x4930b0], 0x42480000
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret