Function at 0x405d60
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Get disk information
Get file size
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c3b9
mov eax, dword fs:[0]
push eax
sub esp, 0xb20
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4a5830
push 0x230
mov dword [0x469a34], 0xa
call fcn.0042908b
mov ebx, eax
mov dword [ebp - 0xb24], eax
add esp, 8
mov dword [ebp - 0xb1c], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x405e01
push 0x218
lea eax, [ebx + 0x18]
mov dword [ebx], 0
push 0
push eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
call fcn.0042a3f0
add esp, 0xc
jmp 0x405e09
xor ebx, ebx
mov dword [ebp - 0xb24], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x405e32
push 2
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_001_n
mov dword [0x469a34], 2
call fcn.00414760
add esp, 8
jmp 0x406bcb
push 0x4a5830
push 0x3ab10
call fcn.0042908b
mov esi, eax
add esp, 8
mov dword [ebp - 0xb1c], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x406058
push 0x162c
push 0
push esi
call fcn.0042a3f0
push 0x2b4e
lea eax, [esi + 0x162e]
mov byte [esi + 0x162c], 0
push 0
push eax
call fcn.0042a3f0
push 0x4308
lea eax, [esi + 0x4180]
mov dword [esi + 0x417c], 0
push 0
push eax
call fcn.0042a3f0
push 0x208
lea eax, [esi + 0x8490]
mov dword [esi + 0x8488], 0
push 0
push eax
mov dword [esi + 0x848c], 0
call fcn.0042a3f0
push 0x271c0
lea eax, [esi + 0x86ac]
mov dword [esi + 0x8698], 0
push 0
push eax
mov dword [esi + 0x869c], 0
mov dword [esi + 0x86a0], 0
mov dword [esi + 0x86a4], 0
mov dword [esi + 0x86a8], 0
call fcn.0042a3f0
push 0x8240
lea eax, [esi + 0x2f870]
mov dword [esi + 0x2f86c], 0
push 0
push eax
call fcn.0042a3f0
add esp, 0x48
mov dword [esi + 0x37ab0], 0
lea eax, [esi + 0x37abc]
mov dword [esi + 0x37ab4], 0
mov dword [esi + 0x37ab8], 0
push 0x1a42
push 0
push eax
call fcn.0042a3f0
push 0x39c
lea eax, [esi + 0x3950c]
mov dword [esi + 0x39500], 0
push 0
push eax
mov dword [esi + 0x39504], 0
mov dword [esi + 0x39508], 0
call fcn.0042a3f0
push 0x200
lea eax, [esi + 0x398ac]
mov dword [esi + 0x398a8], 0
push 0
push eax
call fcn.0042a3f0
mov dword [esi + 0x39aac], 0
mov dword [esi + 0x39ab0], 0
mov dword [esi + 0x39ab4], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x39ab8], 0
mov dword [esi + 0x39abc], 0
mov dword [esi + 0x39ac0], 0
mov byte [ebp - 4], 3
lea eax, [esi + 0x39cc8]
push 0x208
push 0
push eax
call fcn.0042a3f0
push 0xa28
mov dword [esi + 0x39ed0], 0
lea eax, [esi + 0x39ed4]
push 0
push eax
call fcn.0042a3f0
push 0x208
lea eax, [esi + 0x3a904]
mov dword [esi + 0x3a8fc], 0
push 0
push eax
mov dword [esi + 0x3a900], 0
call fcn.0042a3f0
add esp, 0x48
mov dword [esi + 0x3ab0c], 0
mov byte [ebp - 4], 1
jmp 0x40605a
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x14], esi
test esi, esi
jne 0x406084
push ebx
call fcn.00404010
push 2
mov dword [0x469a34], 2
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_002_n
jmp 0x406bc3
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4060b8
push ebx
call fcn.00404010
push 0xb
mov dword [0x469a34], 0xb
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_003_n
jmp 0x406bc3
lea eax, [ebp - 0x218]
push eax
call fcn.0041f6a0
add esp, 4
test eax, eax
jne 0x4060e7
push ebx
call fcn.00404010
push 0xb
mov dword [0x469a34], 0xb
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_004_n
jmp 0x406bc3
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0042f9f7
lea edi, [ebx + 8]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00424770
add esp, 0x14
mov dword [ebx + 4], eax
test eax, eax
jne 0x406135
push ebx
call fcn.00404010
push 2
mov dword [0x469a34], 2
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_005_n
jmp 0x406bc3
push eax
call fcn.00423050
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041fe60
add esp, 8
test eax, eax
je 0x406156
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
call fcn.0041fe90
mov ecx, dword [ebx + 0x14]
push eax
add ecx, 0x8490
push 0x104
push ecx
call fcn.0042f9f7
mov ecx, dword [ebx + 0x10]
add esp, 0x10
mov edi, dword [edi]
xor esi, esi
xor edx, edx
sub ecx, 4
je 0x4061b5
lea eax, [edi + 2]
nop dword [eax + eax]
cmp byte [eax - 2], 0x6c
jne 0x4061a7
cmp byte [eax - 1], 0x73
jne 0x4061a7
cmp byte [eax], 0x66
jne 0x4061a7
cmp byte [eax + 1], 0x78
je 0x4061b0
inc edx
inc eax
sub ecx, 1
jne 0x406190
jmp 0x4061b5
mov esi, 1
xor eax, eax
test esi, esi
cmovne eax, edx
mov dword [ebp - 0xb18], eax
test eax, eax
jne 0x4061e6
push ebx
mov dword [0x469a34], 1
call fcn.00404010
push dword [0x469a34]
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_006_n
jmp 0x406bc3
lea esi, [edi + eax]
mov ecx, 0x17
lea edi, [ebp - 0xb08]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xb08]
cmp cl, 0x6c
jne 0x406ba8
mov eax, ecx
shr eax, 8
cmp al, 0x73
jne 0x406ba8
mov eax, ecx
shr eax, 0x10
cmp al, 0x66
jne 0x406ba8
shr ecx, 0x18
cmp cl, 0x78
jne 0x406ba8
cmp word [ebp - 0xad4], 0
je 0x406406
xor eax, eax
mov dword [ebp - 0xa70], 0
mov dword [ebp - 0xa6c], 0
mov dword [ebp - method.KCommandLine_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.KCommandLine_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 0xa70], 0
mov dword [ebp - 0xa6c], 7
mov word [ebp - 0xa80], ax
mov dword [ebp - 4], 4
mov dword [ebp - 0xa68], eax
mov dword [ebp - 0xa64], eax
mov dword [ebp - 0xa60], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0xa5c], eax
mov dword [ebp - 0xa58], eax
mov dword [ebp - 0xa54], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0xa40], eax
mov dword [ebp - 0xa3c], eax
mov dword [ebp - 0xa40], eax
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x22
jne 0x4062f8
nop
movzx eax, word [esi + 2]
mov ecx, esi
add esi, 2
test ax, ax
je 0x406319
cmp eax, 0x22
jne 0x4062e0
lea esi, [ecx + 4]
jmp 0x406319
push eax
call fcn.0042fcef
add esp, 4
test eax, eax
jne 0x406319
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.0042fcef
add esp, 4
test eax, eax
je 0x406305
movzx eax, word [esi]
test ax, ax
je 0x40633e
mov ecx, eax
push ecx
call fcn.0042fcef
add esp, 4
test eax, eax
je 0x40633e
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x406323
test esi, esi
lea ecx, [ebp - 0xa50]
mov eax, 0x450450
cmovne eax, esi
push eax
call fcn.00408a60
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
lea ecx, [ebp - 0xa84]
cmovae eax, dword [ebp - 0xa50]
push eax
call fcn.00406eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa50]
call fcn.00403400
mov dword [ebp - 4], 8
lea eax, [ebp - 0xad4]
push eax
lea ecx, [ebp - 0xa84]
call fcn.00406c30
test al, al
je 0x4063c2
mov eax, dword [ebp - 0xb00]
test al, 4
je 0x4063b9
xor eax, 4
or dword [ebp - 0xb04], 0x8000000
jmp 0x4063bc
or eax, 4
mov dword [ebp - 0xb00], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.KCommandLine_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.virtual_0], vtable.KCommandLine_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0xa5c]
call fcn.004085f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa68]
call fcn.004085f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa80]
call fcn.00403400
mov eax, dword [ebp - 0xb00]
mov ecx, eax
and ecx, 4
je 0x406429
test al, 8
mov edx, 1
movzx eax, byte [0x469cd8]
cmovne eax, edx
mov byte [0x469cd8], al
test ecx, ecx
jne 0x4064f1
push 0x104
lea eax, [ebp - 0x628]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ax, word [ebp - 0x628]
cmp ax, 0x5c
jne 0x406458
mov edi, 4
jmp 0x406481
mov word [ebp - 0xa4c], ax
xor eax, eax
mov word [ebp - 0xa46], ax
lea eax, [ebp - 0xa4c]
push eax
mov dword [ebp - 0xa4a], 0x5c003a
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4064f1
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0xb14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 3
je 0x4064e0
cmp edi, 6
je 0x4064e0
cmp dword [ebp - 0xb14], 0x1e8480
jmp 0x4064ea
cmp dword [ebp - 0xb14], 0x989680
seta al
test al, al
je 0x40651b
cmp byte [0x469cd8], 0
jne 0x40651b
push 0
push 0x406e50
push 0
push 0xa5
push dword [0x469abc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x469cd4], eax
jmp 0x406520
mov eax, dword [0x469cd4]
test eax, eax
je 0x406580
cmp byte [0x469cd8], 0
je 0x406550
push 4
push 1
push 1
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [0x469cd4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x406575
push 0
push eax
call fcn.004228a0
add esp, 8
push 5
push dword [0x469cd4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x469cd4]
call dword [sym.imp.USER32.dll_UpdateWindow]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x469cd0], eax
test dword [ebp - 0xb04], 0x100000
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jne 0x40677e
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0xaf8]
mov dword [ebp - 0xb14], ecx
cmp ecx, edx
je 0x4065d2
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x4065d2
push ebx
mov dword [0x469a34], 6
call fcn.00404010
push dword [0x469a34]
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_008_n
jmp 0x406bc3
mov edi, dword [ebp - 0xb18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0xb10], 0
push edi
mov dword [ebp - 0xb2c], eax
mov eax, dword [ebx + 8]
push 0x40
mov dword [ebp - 0xb0c], eax
call esi
mov esi, eax
mov dword [ebp - 0xb28], esi
test esi, esi
je 0x406758
cmp edi, dword [ebp - 0xb14]
ja 0x406748
push edi
push dword [ebp - 0xb0c]
push esi
call fcn.0042a760
add dword [ebp - 0xb0c], edi
push 0
push edi
push esi
call fcn.00406bf0
add edi, 0x5c
movzx edx, ax
add esp, 0x18
mov dword [ebp - 0xb20], edi
cmp edi, dword [ebp - 0xb14]
ja 0x406748
mov eax, dword [ebp - 0xb0c]
lea edi, [ebp - 0xaac]
mov esi, eax
mov ecx, 0x17
add eax, 0x5c
mov dword [ebp - 0xb0c], eax
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0xa98]
mov dword [ebp - 0xb1c], eax
xor eax, eax
push edx
mov word [ebp - 0xa98], ax
lea eax, [ebp - 0xaac]
push 0x5c
push eax
call fcn.00406bf0
mov edi, dword [ebp - 0xb18]
add esp, 0xc
mov ebx, dword [ebp - 0xb28]
movzx eax, ax
mov dword [ebp - 0xb10], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0xb20]
mov esi, dword [ebp - 0xb14]
sub esi, ecx
lea eax, [ecx + edi]
cmp eax, dword [ebp - 0xb14]
cmovbe esi, edi
push esi
push dword [ebp - 0xb0c]
add ecx, esi
push ebx
mov dword [ebp - 0xb20], ecx
call fcn.0042a760
add dword [ebp - 0xb0c], esi
add esp, 0xc
cmp esi, edi
je 0x406701
cmp dword [ebp - 0xb2c], 1
jne 0x406701
push dword [ebp - 0xb10]
lea eax, [esi - 1]
push eax
jmp 0x406708
push dword [ebp - 0xb10]
push esi
push ebx
call fcn.00406bf0
movzx eax, ax
add esp, 0xc
mov dword [ebp - 0xb10], eax
cmp esi, edi
jne 0x40672a
push 0
call fcn.004248c0
add esp, 4
jmp 0x4066b0
mov ebx, dword [ebp - 0xb24]
xor ecx, ecx
cmp ax, word [ebp - 0xb1c]
mov esi, dword [ebp - 0xb28]
sete cl
mov dword [ebp - 0xb10], ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0xb10], 0
jne 0x406778
push ebx
mov dword [0x469a34], 6
call fcn.00404010
push dword [0x469a34]
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_009_n
jmp 0x406bc3
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0xafc]
push 0x40
call esi
mov esi, eax
test esi, esi
jne 0x4067ae
push ebx
mov dword [0x469a34], 2
call fcn.00404010
push dword [0x469a34]
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_010_n
jmp 0x406bc3
mov edi, dword [ebp - 0xb18]
mov eax, dword [ebx + 8]
add edi, 0x5c
push dword [ebp - 0xafc]
add eax, edi
push eax
push esi
call fcn.0042a760
mov eax, dword [ebp - 0xaee]
add esp, 0xc
test eax, eax
je 0x406835
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x37ab0], ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x37ab0]
test ecx, ecx
jne 0x40681a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call fcn.00404010
push 2
mov dword [0x469a34], 2
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_011_n
jmp 0x406bc3
mov eax, dword [ebx + 8]
add edi, dword [ebp - 0xafc]
push dword [ebp - 0xaee]
add eax, edi
push eax
push ecx
call fcn.0042a760
add esp, 0xc
push esi
push dword [ebx + 0x14]
call fcn.004046b0
add esp, 8
push esi
test eax, eax
jne 0x406868
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call fcn.00404010
push 1
mov dword [0x469a34], 1
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_012_n
jmp 0x406bc3
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebx + 0x14]
lea esi, [ebp - 0xb08]
mov eax, dword [ebp - 0xb04]
mov ecx, 0x17
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x14]
mov dword [ecx + 0x8488], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xb00]
mov dword [eax + 0x848c], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xae6]
mov dword [ecx + 0x39508], eax
mov eax, dword [ebx + 0x14]
movzx ecx, word [ebp - 0xae2]
mov dword [eax + 0x398a8], ecx
mov eax, dword [ebx + 0x14]
movzx ecx, word [ebp - 0xade]
mov dword [eax + 0x3a8fc], ecx
mov eax, dword [ebx + 0x14]
movzx ecx, word [ebp - 0xae0]
mov dword [eax + 0x39ac4], ecx
mov eax, dword [ebx + 0x14]
add eax, 0x1014
push eax
push str.szUserDefinedExtractSubPath___s__phase_013_n
call fcn.00414760
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0x8488]
shr eax, 3
and al, 1
movzx eax, al
push eax
lea eax, [ecx + 0x1014]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push dword [ecx + 0x86a4]
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0041eef0
add esp, 0x24
test al, al
jne 0x40694d
push ebx
call fcn.00404010
push 0xb
mov dword [0x469a34], 0xb
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_014_n
jmp 0x406bc3
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406956
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jae 0x406b8f
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x406b8f
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x420]
push ecx
add eax, 0xc04
push 0x104
push eax
call fcn.0042f9f7
mov eax, dword [ebx + 0x14]
add esp, 0xc
test byte [eax + 0x8488], 4
je 0x406a12
lea ecx, [eax + 0xc04]
add eax, 0x8490
push eax
push ecx
push ecx
call fcn.00421dd0
add esp, 0xc
test al, al
jne 0x4069e7
push ebx
call fcn.00404010
push 0xb
mov dword [0x469a34], 0xb
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_014_2_path_too_long__n
jmp 0x406bc3
mov eax, dword [ebx + 0x14]
add eax, 0xc04
push eax
call esi
test eax, eax
jne 0x406a12
push ebx
call fcn.00404010
push 0xb
mov dword [0x469a34], 0xb
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_014_3_path_too_long__n
jmp 0x406bc3
mov eax, dword [ebx + 0x14]
lea ecx, [eax + 0xc04]
add eax, 0xe0c
push ecx
push 0x104
push eax
call fcn.0042f9f7
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov eax, dword [eax + 0x8488]
and eax, 8
cmp dword [ebp - 0xaee], 0
jne 0x406a48
test eax, eax
je 0x406aa8
push 0x800
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x8698], ecx
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x8698]
test eax, eax
jne 0x406a89
push ebx
call fcn.00404010
push 2
mov dword [0x469a34], 2
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_015_n
jmp 0x406bc3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x869c], ecx
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x86a0], 0x800
mov eax, dword [ebp - 0xaea]
add eax, dword [ebp - 0xb18]
push 0x4a5830
push 0xd8
mov dword [ebx], eax
call fcn.0042908b
mov edx, eax
add esp, 8
mov dword [ebp - 0xb1c], edx
mov dword [ebp - 4], 0xc
test edx, edx
je 0x406afa
mov ecx, dword [ebp - 0xad8]
movsx eax, cx
shr ecx, 0x10
test ecx, ecx
mov ecx, edx
push eax
setne al
movzx eax, al
push eax
call fcn.00425b80
jmp 0x406afc
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x406b26
push ebx
call fcn.00404010
push 2
mov dword [0x469a34], 2
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_016_n
jmp 0x406bc3
lea eax, [ebp - 0x830]
push eax
push 0x104
push 0x469ac0
call fcn.0042f9f7
mov eax, dword [ebx]
lea edx, [ebp - 0x830]
mov dword [0x469cc8], eax
add esp, 0xc
mov ecx, dword [ebx + 0xc]
push dword [ebx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
test eax, eax
jne 0x406b74
push ebx
call fcn.00404010
push 3
mov dword [0x469a34], 3
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_017_n
jmp 0x406bc3
push dword [ebx + 0x14]
mov ecx, 0x46a118
call fcn.00403620
mov dword [0x469a34], 0
mov eax, ebx
jmp 0x406bcd
push ebx
call fcn.00404010
push 0xb
mov dword [0x469a34], 0xb
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_014_1_path_too_long__n
jmp 0x406bc3
push ebx
mov dword [0x469a34], 1
call fcn.00404010
push dword [0x469a34]
push str.ArchiveSfxOpen___Error_Exit__code__d__phase_007_n
call fcn.00414760
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret