Function at 0x411d50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd30
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xd20], eax
mov dword [ebp - 0xd24], esi
mov dword [ebp - 0xd30], edi
test edi, edi
je 0x411d8c
movsx eax, byte [edi]
test eax, eax
jne 0x411d9e
push str.Call_to_editvariable_with_no_file_name
push str.Warning
call fcn.0040b5b0
add esp, 8
push edi
lea eax, [ebp - 0x104]
push str._s.__temp
push eax
call fcn.004090d0
push 0
call fcn.004128c0
add esp, 0x10
cmp eax, 0xa
jb 0x412107
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xd28], 0
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0040bef0
add esp, 8
test eax, eax
jne 0x411e18
xor esi, esi
nop word [eax + eax]
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0040bef0
add esp, 8
test eax, eax
jne 0x411e12
push 0xc8
call ebx
inc esi
cmp esi, 0xa
jl 0x411df0
mov esi, dword [ebp - 0xd24]
lea eax, [ebp - 0x104]
push 0x458acc
push eax
call fcn.0040bf90
mov edi, eax
add esp, 8
test edi, edi
je 0x412052
push 0x458978
push dword [ebp - 0xd30]
call fcn.0040bf90
add esp, 8
mov dword [ebp - 0xd2c], eax
xor ebx, ebx
test eax, eax
je 0x411f79
push eax
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.0043b333
add esp, 0xc
test eax, eax
je 0x411f5f
nop word [eax + eax]
push dword [ebp - 0xd20]
lea eax, [ebp - 0x904]
push eax
call fcn.0040aae0
add esp, 8
test eax, eax
lea eax, [ebp - 0x904]
jne 0x411ed2
push esi
push eax
call fcn.00411bc0
mov esi, eax
add esp, 8
test esi, esi
je 0x411ecb
push esi
call fcn.00411ca0
add esp, 4
test eax, eax
je 0x411ecb
push esi
push 0x458ae4
push edi
call fcn.0040c0c0
add esp, 0xc
mov ebx, 1
jmp 0x411f37
push eax
call fcn.00411ca0
add esp, 4
test eax, eax
je 0x411f37
lea ecx, [ebp - 0x904]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411ee8
sub ecx, edx
lea eax, [ebp - 0x904]
lea esi, [ebp + ecx - 0x905]
cmp esi, eax
jb 0x411f1a
push esi
call fcn.00411ca0
add esp, 4
test eax, eax
jne 0x411f1a
dec esi
lea eax, [ebp - 0x904]
cmp esi, eax
jae 0x411f02
lea eax, [ebp - 0x904]
mov byte [esi + 1], 0
cmp esi, eax
jbe 0x411f37
push eax
push 0x458ae4
push edi
call fcn.0040c0c0
add esp, 0xc
push dword [ebp - 0xd2c]
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.0043b333
mov esi, dword [ebp - 0xd24]
add esp, 0xc
test eax, eax
jne 0x411e80
push dword [ebp - 0xd2c]
call fcn.0043b1ee
add esp, 4
test ebx, ebx
jne 0x411faa
push dword [ebp - 0xd24]
jmp 0x411f7a
push esi
push dword [ebp - 0xd20]
call fcn.00411bc0
mov esi, eax
add esp, 8
test esi, esi
je 0x411faa
push esi
call fcn.00411ca0
add esp, 4
test eax, eax
je 0x411faa
push esi
push 0x458ae4
push edi
call fcn.0040c0c0
add esp, 0xc
push edi
call fcn.0043b1ee
mov edi, dword [ebp - 0xd30]
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.00411ce0
push edi
push dword [ebp - 0xd20]
call fcn.0040abc0
mov esi, dword [ebp - 0xd24]
add esp, 0x14
test esi, esi
je 0x412015
movsx ecx, byte [esi]
test ecx, ecx
je 0x412015
test eax, eax
je 0x412019
mov ecx, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412010
test dl, dl
je 0x41200c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412010
add eax, 2
add ecx, 2
test dl, dl
jne 0x411ff0
xor eax, eax
jmp 0x412015
sbb eax, eax
or eax, 1
test eax, eax
je 0x41203c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call ebx
mov edi, dword [ebp - 0xd28]
inc edi
mov dword [ebp - 0xd28], edi
cmp edi, 0xa
jl 0x411dd3
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a28a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov ecx, esp
push eax
push ecx
call fcn.00408c00
add esp, 8
lea eax, [ebp - 0xd1c]
push eax
call fcn.0040bb00
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41207e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0040b6b0
add esp, 4
push eax
push str.Disk_access_error_in_editvariable_nCant_open__s_for_writing._nGetLastError_returned__s
push str.Error
push str.ERROR
call fcn.0040f420
add esp, 8
push eax
call fcn.0040b5b0
mov eax, dword [ebp - 0xd08]
add esp, 0x10
cmp eax, 8
jb 0x4120f4
mov ecx, dword [ebp - 0xd1c]
inc eax
cmp eax, 0x7fffffff
ja 0x41213e
add eax, eax
cmp eax, 0x1000
jb 0x4120eb
test cl, 0x1f
jne 0x412143
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412148
sub ecx, eax
cmp ecx, 4
jb 0x41214d
cmp ecx, 0x23
ja 0x412152
mov ecx, eax
push ecx
call fcn.0041ddb9
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a28a
mov esp, ebp
pop ebp
ret
push 0
call fcn.004128c0
shl eax, 0xa
push eax
lea eax, [ebp - 0xd04]
push str.Wasatch___Fatal_error__disk_space___ld_bytes__insufficient_for_system_operation
push eax
call fcn.0040b5f0
lea eax, [ebp - 0xd04]
push eax
push str.Error
call fcn.0040b5b0
add esp, 0x18
push 0
call fcn.0043b9c9
call fcn.00433921
call fcn.00433921
call fcn.00433921
call fcn.00433921
call fcn.00433921
int3