Function at 0x405610
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 + 0xf0], 0x3aac7726
mov dword [esp + 0x70], 0x18782366
mov dword [esp + 0xd0], 0x5a881180
mov dword [esp + 0xe8], 0x40e64611
mov dword [esp + 0x50], 0x72d60d10
mov dword [esp + 0x68], 0x3ac58dfe
mov dword [esp + 0xe4], 0x9223d06
mov dword [esp + 0xa8], 0x188c083a
mov dword [esp + 0x44], 0x2376c8ef
mov dword [esp + 0xa0], 0x39ac066b
mov dword [esp + 0xa4], 0x7b73a174
mov dword [esp + 0x48], 0x214a56fc
mov dword [esp + 0x98], 0x174dbcce
mov dword [esp + 0xb4], 0x20b33711
mov dword [esp + 0x60], 0x2e7ee852
mov dword [esp + 0x7c], 0x79df2041
mov dword [esp + 0x90], 0x6685eec7
mov dword [esp + 0x40], 0x52c4a8be
mov dword [esp + 0x38], 0x472ec5e7
mov dword [esp + 0x8c], 0x758d9c76
mov dword [esp + 0x64], 0x5bc8b13f
mov dword [esp + 0x9c], 0x3f3421b1
mov dword [esp + 0x88], 0x3f65d091
mov dword [esp + 0xec], 0x79e82885
mov dword [esp + 0xc4], 0x4d338462
mov dword [esp + 0xf4], 0x1a096f44
mov dword [esp + 0x4c], 0x3e871c75
mov dword [esp + 0xdc], 0x1d3b323f
mov dword [esp + 0x5c], 0x61bf0401
mov dword [esp + 0x3c], 0x5ac56c3e
mov dword [esp + 0xcc], 0xb23c81e
mov dword [esp + 0xc8], 0x707bb01d
mov dword [esp + 0xe0], 0xd33e5d5
mov dword [esp + 0xbc], 0x4e7addb2
mov dword [esp + 0xd8], 0x6ec9756
mov dword [esp + 0xf8], 0x36712751
mov dword [esp + 0x58], 0x520deb21
mov dword [esp + 0x84], 0x208f6891
mov dword [esp + 0x94], 0x50aac2ea
mov dword [esp + 0xac], 0x962bdaa
mov dword [esp + 0xc0], 0x50f5e397
mov dword [esp + 0x6c], 0x1d85628c
mov dword [esp + 0x80], 0x4bd6a661
mov dword [esp + 0xd4], 0x6b66704f
mov dword [esp + 0x74], 0x8edeef9
mov dword [esp + 0xfc], 0x52cc4d90
mov dword [esp + 0xb8], 0x4e7f862c
mov dword [esp + 0x54], 0x54b29e2d
mov dword [esp + 0xb0], 0x34035c62
mov dword [esp + 0x78], 0x589ee5c4
sub dword [esp + 0x70], 0x2704801c
add dword [esp + 0x70], 0x54ee7144
add dword [esp + 0x70], 0x71ac0ac8
add dword [esp + 0xf0], 0x25853738
sub dword [esp + 0xf0], 0x1ea0ae35
mov eax, 0x3e12954
mul dword [esp + 0xf0]
mov eax, dword [esp + 0xf0]
add dword [esp + 0x70], 0x2f8c6bd0
mov eax, 0x69d69f3d
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
add dword [esp + 0xd0], 0x613bf221
add dword [esp + 0xe8], 0x74053046
mov eax, 0x3243b82d
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
mov eax, 0x71c11226
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
sub dword [esp + 0xd0], 0x6c838a55
add dword [esp + 0xe8], 0x7f1bc6ef
add dword [esp + 0x70], 0x2eb3f6fe
add dword [esp + 0xd0], 0x736302ec
sub dword [esp + 0x68], 0x284a7b7b
mov eax, 0x5371ac4b
mul dword [esp + 0xf0]
mov eax, dword [esp + 0xf0]
sub dword [esp + 0xa4], 0x8c99997
sub dword [esp + 0xb4], 0x664ec15a
mov eax, 0x3e738323
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
add dword [esp + 0xe8], 0x38385418
mov eax, 0x1c856d98
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov eax, 0x79210ab3
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
mov eax, 0x6617accd
mul dword [esp + 0xa4]
mov eax, dword [esp + 0xa4]
add dword [esp + 0xa4], 0x226d6eed
sub dword [esp + 0x90], 0x55173e22
mov eax, 0x6d4130f8
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov eax, 0x328c4c34
mul dword [esp + 0xe4]
mov eax, dword [esp + 0xe4]
mov eax, 0x4878a06c
mul dword [esp + 0xb4]
mov eax, dword [esp + 0xb4]
mov eax, 0x784a3643
mul dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
add dword [esp + 0xa8], 0x2b94dbf8
mov eax, 0x4df81fb8
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
mov eax, 0x2f8e5f6f
mul dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
mov eax, 0x4dfb3139
mul dword [esp + 0xa4]
mov eax, dword [esp + 0xa4]
mov eax, 0x6ce29c92
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
sub dword [esp + 0x98], 0x7a8bde76
mov eax, 0xf5b2b69
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
add dword [esp + 0xe4], 0x4ff2ac04
add dword [esp + 0xc4], 0x70620324
sub dword [esp + 0x9c], 0x3ddd7780
add dword [esp + 0x8c], 0x1c52f4e
mov eax, 0x7f054035
mul dword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
sub dword [esp + 0x50], 0x14c831ed
mov eax, 0x5d471862
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
add dword [esp + 0x68], 0x6f77ce05
sub dword [esp + 0xe8], 0x3c8f7088
sub dword [esp + 0x4c], 0x646a9968
sub dword [esp + 0x3c], 0x633de251
add dword [esp + 0x5c], 0x6bf6ccfa
add dword [esp + 0xcc], 0x7714245
sub dword [esp + 0xa8], 0x7bf0a8ac
add dword [esp + 0x8c], 0x76a8b586
add dword [esp + 0x4c], 0xe016007
add dword [esp + 0xb4], 0x2c7f6658
add dword [esp + 0xa4], 0x535ca0
mov eax, 0x45b6e055
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov eax, 0x250172f8
mul dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
sub dword [esp + 0x44], 0x7280cb83
mov eax, 0x2360d728
mul dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
add dword [esp + 0x60], 0x25733df6
sub dword [esp + 0x90], 0x61033ae
mov eax, 0x3663f2ca
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
sub dword [esp + 0x68], 0x2005e8b3
mov eax, 0x758fb53d
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
add dword [esp + 0x5c], 0x3b517e0d
add dword [esp + 0x50], 0x2f00fc85
sub dword [esp + 0xcc], 0x17760a7a
add dword [esp + 0x44], 0x5390f81e
sub dword [esp + 0xcc], 0x29fd58e1
add dword [esp + 0x58], 0x32a5e20b
mov eax, 0x72b1999e
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
sub dword [esp + 0x5c], 0x5a515c03
sub dword [esp + 0x38], 0x5ad0ff19
mov eax, 0x233ad291
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
add dword [esp + 0x50], 0x2138f0b0
mov eax, 0x58b9829d
mul dword [esp + 0xf8]
mov eax, dword [esp + 0xf8]
add dword [esp + 0xcc], 0x25d6fbd
add dword [esp + 0x38], 0x46c7f230
sub dword [esp + 0xa0], 0x1dc3ce0
add dword [esp + 0xc8], 0x24aeaec1
add dword [esp + 0x4c], 0x4288b88e
add dword [esp + 0xf8], 0x22aecbe6
mov eax, 0x6352c9cd
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
sub dword [esp + 0xe4], 0x18675cc
sub dword [esp + 0xa4], 0x49d579fb
add dword [esp + 0xcc], 0x2ac3f78c
add dword [esp + 0xc4], 0x4356263c
add dword [esp + 0xbc], 0x297652f6
add dword [esp + 0x60], 0x62381ad3
sub dword [esp + 0x94], 0x1084e705
mov eax, 0x283aaca7
mul dword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
sub dword [esp + 0xbc], 0x1a60e5e9
mov eax, 0x45447fca
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub dword [esp + 0x90], 0x4b01fbf5
sub dword [esp + 0x88], 0x3171708a
mov eax, 0x113affd
mul dword [esp + 0xfc]
mov eax, dword [esp + 0xfc]
sub dword [esp + 0xd4], 0x24985c90
add dword [esp + 0xd4], 0x1ddca726
mov eax, 0x67ef96ba
mul dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
xor esi, esi
nop
cmp esi, 0x92f
jge 0x405cf0
push 0
call edi
push 0
call ebx
cmp esi, 0x160debc
jg 0x405d01
inc esi
cmp esi, 0x379d1d5
jl 0x405ce0
cmp dword [0x5e52cc], 0x400
jne 0x405d79
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.0040616d
add esp, 4
push 0
push 0
call fcn.0040642a
push 0
push 0
call fcn.004061a7
add esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00406050
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
lea ecx, [ecx]
cmp esi, 0x16d22
jge 0x405d9c
push 0
call ebp
push 0
call edi
call ebx
cmp esi, 0x12e8a06
jg 0x405db3
inc esi
cmp esi, 0x30375
jl 0x405d90
mov eax, dword [0x442904]
mov dword [0x5e52cc], eax
call fcn.00405300
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5e52cc], ebx
jne 0x405de6
lea ecx, [esp + 0x100]
push ecx
push 0
call esi
dec edi
jne 0x405dd2
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10