Function at 0x4056ca
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
push esi
push edi
mov dword [ebp - 0x8c], 0x4727c90f
mov dword [ebp - 0x84], 0x196b8afd
mov dword [ebp - 0xbc], 0x341df0e5
mov dword [ebp - 0x10], 0x5ffcc7ad
mov dword [ebp - 0x4c], 0x7bada2f7
mov dword [ebp - 0xb8], 0xdb69e91
mov dword [ebp - 0x5c], 0xc8cb0f4
mov dword [ebp - 0xb0], 0x6df11ed8
mov dword [ebp - 0x98], 0xc36c0ee
mov dword [ebp - 0x94], 0x6f678828
mov dword [ebp - 0xac], 0x5984e876
mov dword [ebp - 4], 0x7d523671
mov dword [ebp - 0xa8], 0x4906e5e0
mov dword [ebp - 0x70], 0x23d8ec3d
mov dword [ebp - 0x68], 0x4a047865
mov dword [ebp - 0x30], 0x7cf50009
mov dword [ebp - 0x1c], 0x189e64b2
mov dword [ebp - 0x88], 0x7271ce0f
mov dword [ebp - 0x34], 0x5787a642
mov dword [ebp - 0x60], 0x633488b4
mov dword [ebp - 0x48], 0x107cecc5
mov dword [ebp - 0x28], 0x1f4c70bd
mov dword [ebp - 0xc4], 0x22d1535b
mov dword [ebp - 0x7c], 0x1d20ad98
mov dword [ebp - 0x58], 0x7b19d79b
mov dword [ebp - 0xd8], 0xbde40cf
mov dword [ebp - 0x6c], 0x79aa5868
mov dword [ebp - 0x20], 0x47cae8eb
mov dword [ebp - 0x40], 0x670f0645
mov dword [ebp - 0xc], 0x17efb051
mov dword [ebp - 0xb4], 0x19823033
mov dword [ebp - 0x14], 0x2575bbcb
mov dword [ebp - 0xc0], 0x218aa439
mov dword [ebp - 0x80], 0x96a5dec
mov dword [ebp - 0x74], 0x3090cef6
mov dword [ebp - 0x44], 0x1fc70731
mov dword [ebp - 0x18], 0x3c1cb8c
mov dword [ebp - 8], 0x6ecda60
mov dword [ebp - 0x24], 0x342e5b16
mov dword [ebp - 0xd0], 0x3a129f73
mov dword [ebp - 0xcc], 0x7e96198
mov dword [ebp - 0xd4], 0x70d4755d
mov dword [ebp - 0xa4], 0x4d33ffff
mov dword [ebp - 0x90], 0x53aeb670
mov dword [ebp - 0x9c], 0x2dfcf111
mov dword [ebp - 0x2c], 0x4cb49ccc
mov dword [ebp - 0x50], 0x71890702
mov dword [ebp - 0x64], 0x4fe79fbb
mov dword [ebp - 0x3c], 0x73e65d4b
mov dword [ebp - 0xdc], 0x2fc21d90
mov dword [ebp - 0x78], 0x7826b039
mov dword [ebp - 0x38], 0x4a297528
mov dword [ebp - 0x54], 0x7715066f
mov dword [ebp - 0xc8], 0x697a8daa
mov dword [ebp - 0xa0], 0x72ba4ca5
sub dword [ebp - 0x84], 0x2441f9bd
add dword [ebp - 0xbc], 0x697b94be
add dword [ebp - 0x10], 0x1a1b044f
add dword [ebp - 0x10], 0x2beee35a
mov eax, 0x49c87d2
mul dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
sub dword [ebp - 0x84], 0x455173ab
mov eax, 0x33e0137a
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x4c], 0x6e8352cb
add dword [ebp - 0x8c], 0x291ba6f1
mov eax, 0x267e1a4c
mul dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
sub dword [ebp - 0x8c], 0x4a85f7e8
sub dword [ebp - 0xb8], 0x4e9b8c91
sub dword [ebp - 0xbc], 0x3a391792
sub dword [ebp - 0x84], 0x37aa50f2
sub dword [ebp - 0x8c], 0x8efd66e
mov eax, 0x414a59f0
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0xb0], 0x72bc70b1
add dword [ebp - 0xbc], 0x61e29ead
add dword [ebp - 0xb0], 0x6aea5da2
mov eax, 0x3437dd9
mul dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
add dword [ebp - 0x98], 0x3b314eb5
mov eax, 0x326df2ae
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0x94], 0x208ad21a
add dword [ebp - 0xbc], 0x1dc04df4
sub dword [ebp - 0x70], 0x483bd9ef
mov eax, 0x1dc493c5
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
add dword [ebp - 0xac], 0x2f420bcb
add dword [ebp - 0xb8], 0x751111db
add dword [ebp - 0xb8], 0x23fc7d65
sub dword [ebp - 0xb8], 0x128c5f4
sub dword [ebp - 0x5c], 0x4256c13f
mov eax, 0x33a54f63
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x4c], 0x4565ce46
sub dword [ebp - 0x5c], 0x3c4a9ce4
sub dword [ebp - 0xa8], 0x6b4533ad
sub dword [ebp - 0x84], 0x3fe07528
sub dword [ebp - 0xa8], 0x297154fb
sub dword [ebp - 0xac], 0x632c5cb6
add dword [ebp - 0x34], 0x5fe39e18
sub dword [ebp - 0xbc], 0x76d2ca7c
mov eax, 0x4c63a6ce
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x8c], 0xe177d2f
mov eax, 0x6f3f3260
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], 0x53e2e0d4
sub dword [ebp - 0x30], 0x20f72fed
sub dword [ebp - 0x10], 0x59426468
add dword [ebp - 0x34], 0x7eb23f02
add dword [ebp - 0xc4], 0x4be70b74
add dword [ebp - 0x6c], 0x587a40ff
sub dword [ebp - 0x70], 0x35f8327b
sub dword [ebp - 0xbc], 0x17b46774
add dword [ebp - 0xd8], 0xad5b5c3
sub dword [ebp - 0xa8], 0x6035c410
add dword [ebp - 0x70], 0x6b4cc8d
sub dword [ebp - 0x30], 0x13d68917
add dword [ebp - 0x40], 0x3ffebaac
add dword [ebp - 0x98], 0x486f612d
mov eax, 0x469f679a
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x5c], 0xf5aec2f
mov eax, 0x623b68cf
mul dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb8]
mov eax, 0x5985461b
mul dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
sub dword [ebp - 0xc0], 0x2e934027
sub dword [ebp - 0xc], 0x67214fba
mov eax, 0x7d44d3f2
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov eax, 0x371b1140
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
add dword [ebp - 0x34], 0x4ae24cc8
sub dword [ebp - 0x58], 0x5876c8f4
sub dword [ebp - 0x60], 0x7af276dd
mov eax, 0x43da4102
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x7c], 0x5db1bb1c
sub dword [ebp - 0x28], 0x4986957d
add dword [ebp - 0xcc], 0x7b4a0612
mov eax, 0x497fa546
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, 0x4e60e5b0
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0xa8], 0x50ca9d5f
sub dword [ebp - 0x84], 0x36f0d924
add dword [ebp - 0x34], 0x37232d4
sub dword [ebp - 0xd0], 0x496599ea
add dword [ebp - 0x80], 0x3931244f
mov eax, 0x1d65dbf4
mul dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
mov eax, 0x7c345942
mul dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
mov eax, 0x7bb8e3d6
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
mov eax, 0x3c23a4cf
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x3c], 0x2dd74ac
mov eax, 0x64933737
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, 0x5c60e6a5
mul dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa8]
sub dword [ebp - 0xa0], 0x4185dc25
sub dword [ebp - 0x60], 0x119a58f
mov eax, 0x144771bb
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0xd8], 0x2731df9b
mov eax, 0x38fe7280
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x20], 0x1a689096
sub dword [ebp - 0x98], 0x1f1eb731
mov eax, 0x9c5e9b5
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0xc0], 0x308e6872
xor esi, esi
xor edi, edi
cmp edi, 0x911
jge 0x405c7c
push esi
call dword [sym.imp.USER32.dll_GetSysColor]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp edi, 0x166f93c
jg 0x405c8d
inc edi
cmp edi, 0x379d171
jl 0x405c61
cmp dword [0x2488094], 0x400
jne 0x405cdb
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalShrink]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.00407fe8
push esi
call fcn.00407f6e
push esi
push esi
call fcn.00407fa8
push esi
push esi
push esi
call fcn.004085c0
add esp, 0x1c
xor edi, edi
cmp edi, 0x16d22
jge 0x405cec
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 0x12e8a06
jg 0x405d0a
inc edi
cmp edi, 0x30375
jl 0x405cdd
mov eax, dword [0x460c74]
mov dword [0x2488094], eax
call fcn.004053c3
mov edi, 0x2ec37
cmp dword [0x2488094], 0x51f
jne 0x405d38
lea eax, [ebp - 0x4dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec edi
jne 0x405d1e
pop edi
xor eax, eax
pop esi
leave
ret 0x10