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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4f0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0xe0], 0x15d924d2
mov dword [esp + 0xcc], 0x4bb40cf0
mov dword [esp + 0x48], 0x7dad9422
mov dword [esp + 0xbc], 0x67ddc676
mov dword [esp + 0x74], 0x56fec753
mov dword [esp + 0x44], 0x248b75b1
mov dword [esp + 0xd8], 0x37fb0254
mov dword [esp + 0x88], 0x62a90cd
mov dword [esp + 0x94], 0x63bd5e7d
mov dword [esp + 0xf0], 0x5e2692a
mov dword [esp + 0xac], 0xa06b71e
mov dword [esp + 0x80], 0x730114e9
mov dword [esp + 0xa0], 0xd5ccf26
mov dword [esp + 0x68], 0x5183b44c
mov dword [esp + 0x60], 0x3265d940
mov dword [esp + 0xd0], 0x15b9115d
mov dword [esp + 0xf4], 0x6c974256
mov dword [esp + 0xf8], 0x24ce5d0c
mov dword [esp + 0xd4], 0x319cbc9
mov dword [esp + 0xc8], 0x4b27580
mov dword [esp + 0xe4], 0x4939ee25
mov dword [esp + 0x4c], 0x6162b14b
mov dword [esp + 0xe8], 0x5127908d
mov dword [esp + 0xdc], 0x289d39ae
mov dword [esp + 0x58], 0x5db30388
mov dword [esp + 0x8c], 0x5d860743
mov dword [esp + 0xb4], 0x7e4940f9
mov dword [esp + 0xc0], 0xf6e0f8c
mov dword [esp + 0x50], 0x303d28ea
mov dword [esp + 0xb8], 0x9906e6f
mov dword [esp + 0xa4], 0x6f986cfd
mov dword [esp + 0x5c], 0xfde4876
mov dword [esp + 0x78], 0x247196e9
mov dword [esp + 0xc4], 0x78932ae3
mov dword [esp + 0x98], 0x21c6d9dd
mov dword [esp + 0x84], 0x15181f6e
mov dword [esp + 0x54], 0x7c753e0
mov dword [esp + 0x64], 0x518566b
mov dword [esp + 0xec], 0x146e8b62
mov dword [esp + 0x70], 0x62206efa
mov dword [esp + 0xb0], 0x43fb53fe
mov dword [esp + 0xa8], 0x2b07c81a
mov dword [esp + 0xfc], 0x6e6f15ed
mov dword [esp + 0x6c], 0x6bb82a93
mov dword [esp + 0x7c], 0x9a1655f
mov dword [esp + 0x90], 0x6b242cad
mov dword [esp + 0x9c], 0x3f3af9a1
add dword [esp + 0xcc], 0x122e1d3b
mov eax, 0x166a06c6
mul dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
sub dword [esp + 0x48], 0x6337ae46
mov eax, 0x183f561c
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov eax, 0x7565b57c
mul dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
mov eax, 0x2e6d401d
mul dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
mov eax, 0x6c3655e1
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
add dword [esp + 0xbc], 0x2e4a5ba2
mov eax, 0x21200883
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov eax, 0x77b927f9
mul dword [esp + 0x74]
mov eax, dword [esp + 0x74]
add dword [esp + 0x48], 0x6b2c7883
sub dword [esp + 0x48], 0x7ec95af5
mov eax, 0x223af739
mul dword [esp + 0x94]
mov eax, dword [esp + 0x94]
sub dword [esp + 0x74], 0x7da966ae
sub dword [esp + 0xe0], 0x5b7e128c
add dword [esp + 0x88], 0x3e702a2c
sub dword [esp + 0x74], 0x6223291f
sub dword [esp + 0xf0], 0x4b677060
add dword [esp + 0xf0], 0x75c7cf02
add dword [esp + 0xe0], 0x2d5368ce
mov eax, 0x693414c4
mul dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
sub dword [esp + 0xe0], 0x2ec75bac
add dword [esp + 0xbc], 0x49790e4a
add dword [esp + 0xf0], 0x7fc2217c
mov eax, 0x74b8d86
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub dword [esp + 0xcc], 0x6461417b
add dword [esp + 0xa0], 0x2679c13d
add dword [esp + 0xac], 0x137d07e0
add dword [esp + 0x60], 0x6ab43537
add dword [esp + 0xa0], 0xa269628
add dword [esp + 0x74], 0x57cbd328
mov eax, 0x7e1ebd20
mul dword [esp + 0xf4]
mov eax, dword [esp + 0xf4]
sub dword [esp + 0xac], 0xb5ca9e1
add dword [esp + 0xc8], 0x71e86e8
add dword [esp + 0xbc], 0x27e081c7
mov eax, 0xf816eb3
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
add dword [esp + 0x88], 0x4755e0cf
sub dword [esp + 0x68], 0x1cfb9bc1
sub dword [esp + 0x80], 0x3bfc0edb
add dword [esp + 0x60], 0x45a4f8c3
add dword [esp + 0x94], 0x4a2454e7
sub dword [esp + 0xd8], 0x36072ba
add dword [esp + 0xa0], 0x4ce0432b
mov eax, 0x1410f425
mul dword [esp + 0x58]
mov eax, dword [esp + 0x58]
sub dword [esp + 0xd4], 0xf9d3ee5
mov eax, 0x44c4bfeb
mul dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov eax, 0x395cd4f3
mul dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
sub dword [esp + 0x94], 0xa831aea
add dword [esp + 0x60], 0x3b93354a
sub dword [esp + 0x60], 0x7bf666db
mov eax, 0x6002109d
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
sub dword [esp + 0xac], 0x748a878b
mov eax, 0x449659a
mul dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov eax, 0x3905f1a8
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov eax, 0x4ec474dd
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x94], 0x57652359
sub dword [esp + 0xd0], 0x1036145e
add dword [esp + 0xbc], 0x67bc9e46
mov eax, 0x56401ef1
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
add dword [esp + 0xd0], 0x6b5073c6
mov eax, 0x6cf3cb0f
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
add dword [esp + 0xd0], 0x10158205
mov eax, 0x6ada1481
mul dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
mov eax, 0x72766dfd
mul dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
sub dword [esp + 0xd8], 0x75cbb3c3
mov eax, 0x67e22850
mul dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
mov eax, 0x5e5bd6b
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0xe0], 0x7554acf1
sub dword [esp + 0xc8], 0x3f492bec
mov eax, 0x2819ee07
mul dword [esp + 0xf8]
mov eax, dword [esp + 0xf8]
mov eax, 0x7a28c4b6
mul dword [esp + 0x94]
mov eax, dword [esp + 0x94]
mov eax, 0x5266e742
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
add dword [esp + 0xdc], 0x1bb8e50d
sub dword [esp + 0xb8], 0x4b618a32
sub dword [esp + 0xf0], 0x280dc50
add dword [esp + 0xf8], 0x65ca44cd
add dword [esp + 0x88], 0x3236a671
sub dword [esp + 0x94], 0x6530902e
sub dword [esp + 0x94], 0x57439b19
sub dword [esp + 0xe8], 0x5bbd97fb
sub dword [esp + 0x58], 0x30e498a3
mov eax, 0x4c7e8237
mul dword [esp + 0xac]
mov eax, dword [esp + 0xac]
mov eax, 0x3a5a4cb
mul dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov eax, 0x116b42fb
mul dword [esp + 0xf0]
mov eax, dword [esp + 0xf0]
mov eax, 0x7b57c77d
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
mov eax, 0x5805d7ee
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov eax, 0x7a6deb4f
mul dword [esp + 0xa0]
mov eax, dword [esp + 0xa0]
mov eax, 0x53336353
mul dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov eax, 0x3b37f5a6
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub dword [esp + 0x58], 0x4ece7d6b
mov eax, 0x21c1658d
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
add dword [esp + 0x50], 0x22b718ea
add dword [esp + 0xc0], 0x78a1cfb3
mov eax, 0x8c51e7
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
add dword [esp + 0x5c], 0x49a08c14
sub dword [esp + 0xb0], 0x40fe7c7b
mov eax, 0x55e3ab0
mul dword [esp + 0xf4]
mov eax, dword [esp + 0xf4]
add dword [esp + 0xa4], 0x464441a
add dword [esp + 0xcc], 0x6f95881d
mov eax, 0x5384528
mul dword [esp + 0xe0]
mov eax, dword [esp + 0xe0]
add dword [esp + 0xec], 0xcd4a049
mov eax, 0x52c75241
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
sub dword [esp + 0x90], 0x5c7a58d3
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
xor esi, esi
cmp esi, 0x92f
jge 0x405df6
push 0
call edi
push 0
call ebx
cmp esi, 0x160debc
jg 0x405e07
inc esi
cmp esi, 0x379d1d5
jl 0x405de6
cmp dword [0x5e7654], 0x400
jne 0x405e7f
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DrawStateA]
push 0
call fcn.0040623d
add esp, 4
push 0
push 0
call fcn.004067ba
push 0
push 0
call fcn.00406277
add esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00406120
fstp st(0)
add esp, 8
mov ebp, dword [sym.imp.USER32.dll_GetCaretPos]
mov edi, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
cmp esi, 0x16d22
jge 0x405e9f
push 0
call ebp
push 0
call edi
call ebx
cmp esi, 0x12e8a06
jg 0x405eb6
inc esi
cmp esi, 0x30375
jl 0x405e93
mov eax, dword [0x444c8c]
mov dword [0x5e7654], eax
call fcn.00405380
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5e7654], ebx
jne 0x405ee9
lea ecx, [esp + 0x100]
push ecx
push 0
call esi
dec edi
jne 0x405ed5
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10