Function at 0x422890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 8], 0
jmp 0x4228a8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jae 0x4237e2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
imul edx, edx, 0x30
add edx, 0x4500c0
mov dword [0x5100c0], edx
mov eax, dword [0x5100c0]
mov ecx, dword [eax]
add ecx, dword [0x520108]
mov edx, dword [eax + 4]
adc edx, dword [0x52010c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
push 0
push 0x2000
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00414310
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sbb eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0
jg 0x422a7a
jl 0x422931
cmp dword [ebp - 0x28], 0
jae 0x422a7a
push 0x401
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
mov ecx, dword [0x5200ec]
push ecx
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push 0x5100c4
call fcn.00405f89
add esp, 0x10
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 2
mov edx, dword [ebp + 0xc]
cmp dword [edx], 1
jne 0x422a6e
mov eax, dword [0x520108]
or eax, dword [0x52010c]
je 0x422a6e
push 0x401
push str.___attempting_to_re_compensate__n
push 0x5100c4
call fcn.00405f89
add esp, 8
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov ecx, dword [ebp + 0x14]
mov edx, dword [0x520108]
mov dword [ecx], edx
mov eax, dword [0x52010c]
mov dword [ecx + 4], eax
mov dword [0x520108], 0
mov dword [0x52010c], 0
mov ecx, dword [0x5100c0]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
push 0
push 0x2000
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00414310
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
sbb ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], 0
jg 0x422a6c
jl 0x422a29
cmp dword [ebp - 0x28], 0
jae 0x422a6c
push 0x401
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
mov edx, dword [0x5200ec]
push edx
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push 0x5100c4
call fcn.00405f89
add esp, 0x10
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 3
jmp 0x42289f
jmp 0x422a7a
mov dword [ebp + 0x20], 3
jmp 0x42289f
mov eax, dword [ebp - 0x20]
cmp eax, dword [0x520100]
jne 0x422a94
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [0x520104]
je 0x422b46
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [0x5200f0]
push ecx
call fcn.0040a3b6
add esp, 0x10
mov dword [0x520100], eax
mov dword [0x520104], edx
push 0x2000
mov edx, dword [0x5200cc]
push edx
mov eax, dword [0x5200f0]
push eax
call fcn.0041925a
add esp, 0xc
mov dword [0x5200d4], eax
cmp dword [0x5200d4], 0
jg 0x422b26
push 0x401
mov ecx, dword [ebp - 0x20]
push ecx
push str.lseek
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push 0x5100c4
call fcn.00405f89
add esp, 0x14
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 3
jmp 0x42289f
mov ecx, dword [ebp - 0x18]
add ecx, dword [0x5200cc]
mov dword [0x5200d0], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5200d4]
sub eax, edx
mov dword [0x5200d4], eax
jmp 0x422b71
mov ecx, dword [0x5200d0]
sub ecx, dword [0x5200cc]
mov edx, dword [ebp - 0x18]
sub ecx, edx
add ecx, dword [0x5200d4]
mov dword [0x5200d4], ecx
mov eax, dword [ebp - 0x18]
add eax, dword [0x5200cc]
mov dword [0x5200d0], eax
push 4
push 0x4500b0
call fcn.00427ad0
add esp, 8
test eax, eax
jne 0x422bca
push 0x401
mov ecx, dword [ebp - 0x28]
push ecx
push 0x44a2e4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push 0x5100c4
call fcn.00405f89
add esp, 0x14
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 3
jmp 0x42289f
push 4
push 0x44aa10
push 0x4500b0
call fcn.00406b9a
add esp, 0xc
test eax, eax
je 0x422dbd
push 0x401
mov ecx, dword [ebp - 0x28]
push ecx
push str.local_header_sig
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push 0x5100c4
call fcn.00405f89
add esp, 0x14
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 1
jne 0x422c3d
mov edx, dword [0x520108]
or edx, dword [0x52010c]
jne 0x422c65
mov eax, dword [0x520108]
or eax, dword [0x52010c]
jne 0x422db8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov ecx, dword [edx]
or ecx, dword [eax + 4]
je 0x422db8
push 0x401
push str.___attempting_to_re_compensate__n
push 0x5100c4
call fcn.00405f89
add esp, 8
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov edx, dword [0x520108]
or edx, dword [0x52010c]
je 0x422cc8
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x520108]
mov dword [eax], ecx
mov edx, dword [0x52010c]
mov dword [eax + 4], edx
mov dword [0x520108], 0
mov dword [0x52010c], 0
jmp 0x422cdc
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [0x520108], ecx
mov edx, dword [eax + 4]
mov dword [0x52010c], edx
mov eax, dword [0x5100c0]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00427970
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x422d0c
push 4
push 0x4500b0
call fcn.00427ad0
add esp, 8
test eax, eax
jne 0x422d58
cmp dword [ebp - 0xc], 3
je 0x422d4c
push 0x401
mov eax, dword [ebp - 0x28]
push eax
push 0x44a2e8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push 0x5100c4
call fcn.00405f89
add esp, 0x14
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 3
jmp 0x42289f
push 4
push 0x44aa10
push 0x4500b0
call fcn.00406b9a
add esp, 0xc
test eax, eax
je 0x422db6
push 0x401
mov eax, dword [ebp - 0x28]
push eax
push str.local_header_sig
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push 0x5100c4
call fcn.00405f89
add esp, 0x14
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [ebp + 0x20], 3
jmp 0x42289f
jmp 0x422dbd
jmp 0x42289f
call fcn.00425030
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x422e07
push 0x421
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push str.file__lu:__bad_local_header_n
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov edx, dword [ebp - 0xc]
mov dword [ebp + 0x20], edx
jmp 0x42289f
push 6
movzx eax, word [0x520136]
push eax
call fcn.00428710
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x422e83
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x20]
jle 0x422e30
mov edx, dword [ebp - 0xc]
mov dword [ebp + 0x20], edx
cmp dword [ebp - 0xc], 1
jle 0x422e83
push 0x401
push 0x44a2ec
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str._s:__bad_filename_length___s__n
push 0x5100c4
call fcn.00405f89
add esp, 0x10
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
jmp 0x42289f
cmp dword [0x520110], 0
je 0x422ea4
mov eax, dword [0x520110]
push eax
call fcn.00406722
add esp, 4
mov dword [0x520110], 0
push 3
movzx ecx, word [0x520138]
push ecx
call fcn.00428710
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x422f20
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jle 0x422ecd
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0x20], eax
cmp dword [ebp - 0xc], 1
jle 0x422f20
push 0x401
push str.local
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str._s:__bad_extra_field_length___s__n
push 0x5100c4
call fcn.00405f89
add esp, 0x10
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
jmp 0x42289f
mov ecx, dword [0x5100c0]
cmp dword [ecx + 0x2c], 0
je 0x422ff1
push 0x520228
mov edx, dword [0x5100c0]
mov eax, dword [edx + 0x2c]
push eax
call fcn.00407150
add esp, 8
test eax, eax
je 0x422fd2
push 0x401
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push 0x4000
push 0x51c0c4
mov ecx, dword [0x5100c0]
mov edx, dword [ecx + 0x2c]
push edx
call fcn.004206f0
add esp, 0xc
push eax
push str._s:__mismatching__local__filename___s___n_________continuing_with__central__filename_version_n
push 0x5100c4
call fcn.00405f89
add esp, 0x10
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov eax, dword [0x5100c0]
mov ecx, dword [eax + 0x2c]
push ecx
push 0x520228
call fcn.00408550
add esp, 8
cmp dword [ebp + 0x20], 1
jge 0x422fd2
mov dword [ebp + 0x20], 1
mov edx, dword [0x5100c0]
mov eax, dword [edx + 0x2c]
push eax
call fcn.00406722
add esp, 4
mov ecx, dword [0x5100c0]
mov dword [ecx + 0x2c], 0
movzx edx, word [0x520134]
test edx, edx
jne 0x4230e1
mov eax, dword [0x520118]
mov dword [ebp - 0x40], eax
mov ecx, dword [0x52011c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x5100c0]
mov eax, dword [edx + 0x28]
and eax, 1
je 0x423031
mov ecx, dword [ebp - 0x40]
sub ecx, 0xc
mov edx, dword [ebp - 0x3c]
sbb edx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [0x520120]
cmp eax, dword [ebp - 0x40]
jne 0x42304a
mov ecx, dword [0x520124]
cmp ecx, dword [ebp - 0x3c]
je 0x4230e1
push 0x401
push 0x44a2fc
push 0
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00427640
add esp, 0x10
push eax
push 0x44a300
push 0
mov ecx, dword [0x520124]
push ecx
mov edx, dword [0x520120]
push edx
call fcn.00427640
add esp, 0x10
push eax
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str._s:__ucsize__s____csize__s_for_STORED_entry_n_________continuing_with__compressed__size_value_n
push 0x5100c4
call fcn.00405f89
add esp, 0x14
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov eax, dword [ebp - 0x40]
mov dword [0x520120], eax
mov ecx, dword [ebp - 0x3c]
mov dword [0x520124], ecx
cmp dword [ebp + 0x20], 1
jge 0x4230e1
mov dword [ebp + 0x20], 1
mov edx, dword [0x5100c0]
mov eax, dword [edx + 0x28]
and eax, 1
je 0x4231e1
mov ecx, dword [0x44ffe4]
push ecx
call fcn.0041dff0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4231e1
cmp dword [ebp - 0xc], 1
jne 0x42318b
cmp dword [0x450028], 0
je 0x423127
cmp dword [0x45001c], 0
jne 0x42317c
cmp dword [0x450028], 0
jne 0x423139
cmp dword [0x45001c], 0
jne 0x42317c
push 0x401
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str.___skipping:___22s__incorrect_password_n
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4231dc
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jle 0x423199
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0x20], eax
push 0x401
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str.___skipping:___22s__unable_to_get_password_n
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
jmp 0x42289f
cmp dword [0x450028], 0
jne 0x42379e
cmp dword [0x44fff4], 0
jne 0x42379e
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x5100c0]
movzx edx, byte [ecx + 0x21]
test edx, edx
jne 0x4232c3
push 0x2f
push 0x520228
call fcn.0040b3f4
add esp, 8
test eax, eax
jne 0x4232c3
mov dword [ebp - 0x44], 0x520228
mov eax, dword [ebp - 0x44]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4232c3
mov edx, dword [ebp - 0x44]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x4232aa
cmp dword [0x5201f4], 0
jne 0x4232a4
push 0x21
mov ecx, dword [0x5200ec]
push ecx
push str.warning:___s_appears_to_use_backslashes_as_path_separators_n
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov dword [0x5201f4], 1
cmp dword [ebp + 0x20], 0
jne 0x4232a4
mov dword [ebp + 0x20], 1
mov edx, dword [ebp - 0x44]
mov byte [edx], 0x2f
mov eax, dword [ebp - 0x44]
push eax
call fcn.004071d8
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
movsx edx, byte [ecx]
test edx, edx
jne 0x42324a
cmp dword [ebp - 0x30], 0
jne 0x42335e
movsx eax, byte [0x520228]
cmp eax, 0x2f
jne 0x42335e
push 0x401
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str.warning:__stripped_absolute_path_spec_from__s_n
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
cmp dword [ebp + 0x20], 0
jne 0x42332d
mov dword [ebp + 0x20], 1
mov dword [ebp - 0x48], 0x520229
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
mov al, byte [edx]
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0x48]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
test edx, edx
jne 0x423334
movsx ecx, byte [0x520228]
cmp ecx, 0x2f
je 0x42332d
mov edx, dword [ebp - 0x30]
push edx
call fcn.0042c050
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0xffff80ff
mov dword [ebp - 0x34], eax
je 0x423388
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp - 0x34]
jge 0x423388
mov edx, dword [ebp - 0x34]
mov dword [ebp + 0x20], edx
mov eax, dword [ebp - 0xc]
and eax, 0x7f00
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x100
jle 0x4234a8
cmp dword [ebp - 0x34], 0x1000
jne 0x423422
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0042cb70
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x4c], 0
jne 0x4233fe
cmp dword [ebp - 0xc], 0
je 0x4233fc
push 0x401
push str.warning:__cannot_alloc_memory_for_dir_times_permissions_UID_GID_n
push 0x5100c4
call fcn.00405f89
add esp, 8
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
cmp dword [ebp + 0x20], 0
jne 0x4233fc
mov dword [ebp + 0x20], 1
jmp 0x42341d
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x4c]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4234a3
cmp dword [ebp - 0x34], 0x1100
jne 0x42348d
cmp dword [0x450024], 0
je 0x42343d
mov dword [ebp - 0x58], str.hard_disk
jmp 0x423444
mov dword [ebp - 0x58], 0x44ec97
push 0x401
mov ecx, dword [ebp - 0x58]
push ecx
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str.___skipping:___22s___svolume_label_n
push 0x5100c4
call fcn.00405f89
add esp, 0x10
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
jmp 0x4234a3
cmp dword [ebp - 0x34], 0x200
jle 0x4234a3
cmp dword [ebp + 0x20], 2
jge 0x4234a3
mov dword [ebp + 0x20], 2
jmp 0x42289f
push 0x520228
call fcn.00429010
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
je 0x4234cf
cmp dword [ebp - 0x5c], 0
je 0x4234e7
cmp dword [ebp - 0x5c], 1
je 0x423514
jmp 0x423557
cmp dword [0x450000], 0
je 0x4234e5
cmp dword [ebp - 0x30], 0
jne 0x4234e5
mov dword [ebp - 4], 2
jmp 0x423557
cmp dword [0x44fff0], 0
jne 0x423512
cmp dword [0x450074], 2
jne 0x423502
mov dword [ebp - 4], 1
jmp 0x423512
cmp dword [0x450074], 1
je 0x423512
mov dword [ebp - 0x2c], 1
jmp 0x423557
cmp dword [0x44fff0], 0
jne 0x423526
cmp dword [0x450074], 2
je 0x423535
cmp dword [0x450030], 0
je 0x42353e
cmp dword [ebp - 0x30], 0
jne 0x42353e
mov dword [ebp - 4], 1
jmp 0x423557
cmp dword [0x450074], 1
je 0x423557
cmp dword [0x44fff0], 0
jne 0x423557
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0
je 0x423771
push 0x81
push 0x4000
push 0x5180c4
push 0x520228
call fcn.004206f0
add esp, 0xc
push eax
push str.replace__s___y_es___n_o___A_ll___N_one___r_ename:
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
call fcn.0040a5db
push eax
push 0xa
push 0x4500b4
call fcn.0040a976
add esp, 0xc
test eax, eax
jne 0x4235f9
push 1
push str._NULL_n_EOF_or_read_error__treating_as___N_one__...__n
push 0x5100c4
call fcn.00405f89
add esp, 8
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
mov byte [0x4500b4], 0x4e
cmp dword [ebp + 0x20], 0
jne 0x4235f9
mov dword [ebp + 0x20], 1
movsx edx, byte [0x4500b4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
sub eax, 0xa
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x6f
ja case.0x423620.1
mov ecx, dword [ebp - 0x60]
movzx edx, byte [ecx + 0x423808]
jmp dword [edx*4 + 0x4237ec]
push 0x81
push str.new_name:
push 0x5100c4
call fcn.00405f89
add esp, 8
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
call fcn.0040a5db
push eax
push 0x104
push 0x520228
call fcn.0040a976
add esp, 0xc
push 0x520228
call fcn.00403da0
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
push 0x520228
call fcn.004275f0
add esp, 8
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x4236a6
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x520228], 0
cmp dword [ebp - 0x50], 0
je case.0x423620.72
push 0x520228
push 0x520228
call dword [sym.imp.USER32.dll_OemToCharA]
mov dword [ebp - 0x30], 1
jmp 0x423202
mov dword [0x450074], 1
jmp 0x423771
mov dword [0x450074], 2
mov dword [ebp - 4], 1
jmp 0x423771
push str.ENTER
push 0x4500b4
call fcn.00408550
add esp, 8
push 0x4500b4
call fcn.00403da0
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0x4500b4
call fcn.004275f0
add esp, 8
movsx edx, byte [eax]
cmp edx, 0xa
jne 0x42373f
mov eax, dword [ebp - 0x50]
sub eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx + 0x4500b4], 0
push 1
push 0x4500b4
push str.error:__invalid_response___s__n
push 0x5100c4
call fcn.00405f89
add esp, 0xc
push eax
push 0x5100c4
push 0x44ffe0
call dword [0x52040c]
add esp, 0x10
jmp 0x423561
cmp dword [ebp - 4], 0
je 0x42379e
mov edx, dword [0x5206a8]
add edx, dword [0x520118]
mov eax, dword [0x5206ac]
adc eax, dword [0x52011c]
mov dword [0x5206a8], edx
mov dword [0x5206ac], eax
jmp 0x42289f
mov dword [0x5201f8], 0
call fcn.00421b20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4237dd
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x20]
jle 0x4237c4
mov edx, dword [ebp - 0xc]
mov dword [ebp + 0x20], edx
cmp dword [ebp - 0xc], 0x64
jne 0x4237cf
mov eax, dword [ebp + 0x20]
jmp 0x4237e5
cmp dword [0x5201f8], 1
jle 0x4237dd
mov eax, dword [ebp + 0x20]
jmp 0x4237e5
jmp 0x42289f
mov eax, dword [ebp + 0x20]
mov esp, ebp
pop ebp
ret