Function at 0x402670
Capabilities:
Check if file exists
Create cabinet on windows
Extract cabinet on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6dc
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x4026cd
cmp word [ebx], 0x2d
jne 0x4026cd
movzx eax, word [ebx + 2]
sub eax, 0x64
cmp ax, 0x12
ja case.0x402962.1
movzx eax, ax
jmp dword [eax*4 + 0x4064a4]
add dword [0x40800c], 1
mov ebx, edi
lea esi, [esi]
lea edi, [ebx + 4]
mov ebx, dword [ebx + 8]
sub esi, 1
test ebx, ebx
jne 0x402689
cmp esi, 2
jle case.0x402962.1
cmp word [ebx], 0
je case.0x402962.1
cmp word [ebx + 2], 0
je 0x402860
lea esi, [esi]
nop
mov dword [esp], str.Usage:_cabarc__options__command_file.cab__files...___dest_dir__n_nCommands:_n___L___List_the_contents_of_the_cabinet_n___N___Create_a_new_cabinet_n___X___Extract_files_from_the_cabinet_into_dest_dir_n_nOptions:_n___d_size__Set_maximum_disk_size_n___h_______Display_this_help_n___i_id____Set_cabinet_id_n___m_type__Set_compression_type__mszipnone__n___p_______Preserve_directory_names_n___r_______Recurse_into_directories_n___s_size__Reserve_space_in_the_cabinet_header_n___v_______More_verbose_output_n
mov ebx, 1
call fcn.00401010
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa
lea ebx, [edi + 4]
sub esi, 1
mov dword [esp + 4], 0
mov eax, dword [edi + 8]
mov dword [esp], eax
call sub.ucrtbase.dll_wcstol
mov dword [0x408010], eax
jmp 0x4026c0
mov dword [0x408018], 1
mov ebx, edi
jmp 0x4026c0
mov dword [0x408014], 1
mov ebx, edi
jmp 0x4026c0
mov dword [esp + 4], str.none
mov eax, dword [edi + 8]
sub esi, 1
lea ebx, [edi + 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x402830
mov dword [section..data], 0
jmp 0x4026c0
mov dword [esp + 8], 0xa
lea ebx, [edi + 4]
sub esi, 1
mov dword [esp + 4], 0
mov eax, dword [edi + 8]
mov dword [esp], eax
call sub.ucrtbase.dll_wcstol
mov dword [0x40801c], eax
jmp 0x4026c0
mov dword [esp], str.Usage:_cabarc__options__command_file.cab__files...___dest_dir__n_nCommands:_n___L___List_the_contents_of_the_cabinet_n___N___Create_a_new_cabinet_n___X___Extract_files_from_the_cabinet_into_dest_dir_n_nOptions:_n___d_size__Set_maximum_disk_size_n___h_______Display_this_help_n___i_id____Set_cabinet_id_n___m_type__Set_compression_type__mszipnone__n___p_______Preserve_directory_names_n___r_______Recurse_into_directories_n___s_size__Reserve_space_in_the_cabinet_header_n___v_______More_verbose_output_n
xor ebx, ebx
call fcn.00401010
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa
lea ebx, [edi + 4]
sub esi, 1
mov dword [esp + 4], 0
mov eax, dword [edi + 8]
mov dword [esp], eax
call sub.ucrtbase.dll_wcstol
mov dword [0x405004], eax
cmp eax, 0xc34f
jg 0x4026c0
mov dword [esp], str.cabarc:_Cabinet_size_must_be_at_least_50000_n
mov ebx, 1
call fcn.00401010
jmp 0x4026f9
mov dword [esp + 4], str.mszip
mov eax, dword [edi + 8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x403166
mov dword [section..data], 1
jmp 0x4026c0
mov edx, dword [edi + 8]
xor eax, eax
call fcn.004010a0
mov dword [esp + 4], 0x104
mov ecx, eax
mov dword [ebp - 0x68c], eax
lea eax, [ebp - 0x680]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x670]
mov dword [esp + 8], eax
mov dword [esp], ecx
call sub.kernel32.dll_GetFullPathNameA
sub esp, 0x10
test eax, eax
je 0x402cbc
mov edx, dword [ebp - 0x680]
test edx, edx
je 0x402cbc
lea ecx, [ebp - 0x56c]
lea eax, [edi + 8]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov ecx, dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [ebp - 0x698], eax
lea eax, [esi - 2]
mov dword [ebp - 0x694], edx
mov dword [ebp - 0x69c], ecx
mov dword [ebp - 0x690], eax
call ecx
mov edx, dword [ebp - 0x694]
lea eax, [edi + 0xc]
cmp dword [ebp - 0x690], 1
mov dword [ebp - 0x694], eax
mov ecx, eax
lea edi, [edi + esi*4]
mov byte [edx], 0
je 0x402939
lea esi, [esi]
mov eax, dword [ecx]
movzx edx, word [eax]
test dx, dx
je 0x402932
lea esi, [esi]
cmp dx, 0x2f
jne 0x402926
mov edx, 0x5c
mov word [eax], dx
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x402918
add ecx, 4
cmp edi, ecx
jne 0x402908
mov eax, dword [ebp - 0x694]
mov dword [section..bss], eax
lea eax, [ebp - 0x56c]
mov dword [0x408008], eax
movzx eax, word [ebx]
sub eax, 0x4c
cmp ax, 0x2c
ja case.0x402962.1
movzx eax, ax
jmp dword [eax*4 + 0x4064f0]
cmp dword [ebp - 0x690], 1
je 0x4029a8
mov eax, dword [ebp - 0x698]
mov edx, dword [eax + esi*4 - 0xc]
cmp word [edx], 0
je 0x4029a8
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x402984
cmp word [eax - 2], 0x5c
jne 0x4029a8
mov eax, dword [ebp - 0x698]
mov dword [0x408004], edx
mov dword [eax + esi*4 - 0xc], 0
lea ebx, [ebp - 0x33c]
test byte [0x405008], 8
jne 0x403357
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0x4017b0
mov dword [esp + 0x14], 0x401820
mov dword [esp + 0x10], 0x4018b0
mov dword [esp + 0xc], 0x402640
mov dword [esp + 8], 0x401350
mov dword [esp + 4], 0x401380
mov dword [esp], 0x401070
call sub.cabinet.dll_FDICreate
mov dword [esp + 0x18], 0
mov esi, eax
lea eax, [ebp - 0x670]
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
mov eax, dword [0x408008]
mov dword [esp + 0x10], 0x401df0
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.cabinet.dll_FDICopy
test eax, eax
jne 0x402a5c
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
test byte [0x405008], 4
jne 0x40366f
mov dword [esp], esi
call sub.cabinet.dll_FDIDestroy
jmp 0x4026f9
mov eax, dword [0x405004]
lea esi, [ebp - 0x11a]
mov dword [ebp - 0x338], 0x7fffffff
lea ebx, [ebp - 0x33c]
mov dword [esp], esi
mov dword [ebp - 0x33c], eax
mov eax, dword [0x408010]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x334], eax
mov eax, dword [0x40801c]
mov dword [ebp - 0x32c], 0
mov word [ebp - 0x31c], ax
lea eax, [ebp - 0x670]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x31a], 0
call eax
mov dword [esp], esi
mov esi, 0x5c
call sub.ucrtbase.dll_strlen
lea ecx, [ebp - 0x56c]
mov edx, 1
mov word [ebp + eax - 0x11a], si
lea eax, [ebp - 0x21a]
call fcn.00402440
lea eax, [ebp - 0x67c]
mov dword [esp + 0x2c], ebx
xor ebx, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x4013b0
mov dword [esp + 0x24], 0x4018e0
mov dword [esp + 0x20], fcn.00401750
mov dword [esp + 0x1c], fcn.004017e0
mov dword [esp + 0x18], fcn.00401850
mov dword [esp + 0x14], fcn.004025e0
mov dword [esp + 0x10], fcn.00401270
mov dword [esp + 0xc], 0x401380
mov dword [esp + 8], 0x401070
mov dword [esp + 4], 0x4025a0
mov dword [esp], eax
call sub.cabinet.dll_FCICreate
mov edi, dword [section..bss]
mov esi, eax
mov eax, dword [edi]
test eax, eax
jne 0x402bb6
jmp 0x402c07
mov dword [esp + 8], section..text
mov dword [esp + 4], 0x402530
mov dword [esp], esi
call sub.cabinet.dll_FCIFlushFolder
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
je 0x4034b6
mov dword [esp + 4], 0x40660c
mov dword [esp], eax
call sub.kernel32.dll_lstrcmpW
sub esp, 8
test eax, eax
je 0x402b90
mov ebx, dword [edi]
mov dword [esp], ebx
call sub.kernel32.dll_GetFileAttributesW
sub esp, 4
cmp eax, 0xffffffff
je 0x403044
test al, 0x10
je 0x402ed2
mov eax, dword [0x408018]
test eax, eax
je 0x402da6
mov edx, ebx
mov eax, esi
call fcn.004014f0
mov ebx, eax
test ebx, ebx
jne 0x402ba8
mov ebx, 1
mov dword [esp], esi
call sub.cabinet.dll_FCIDestroy
jmp 0x4026f9
lea eax, [ebp - 0x33c]
mov dword [esp + 0x1c], 0xffffffff
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x4017b0
mov dword [esp + 0x14], 0x401820
mov dword [esp + 0x10], 0x4018b0
mov dword [esp + 0xc], 0x402640
mov dword [esp + 8], 0x401350
mov dword [esp + 4], 0x401380
mov dword [esp], 0x401070
call sub.cabinet.dll_FDICreate
mov dword [esp + 0x18], 0
mov esi, eax
lea eax, [ebp - 0x670]
mov dword [esp + 0x14], 0
mov dword [esp + 8], eax
mov eax, dword [0x408008]
mov dword [esp + 0x10], 0x4019b0
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.cabinet.dll_FDICopy
test eax, eax
jne 0x402a5c
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
jmp 0x402a5c
mov ebx, 1
test byte [0x405008], 2
je 0x4026f9
mov eax, dword [ebp - 0x68c]
test eax, eax
je 0x4035d8
shr eax, 0x10
je 0x403294
mov esi, dword [ebp - 0x68c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sub.kernel32.dll_IsBadStringPtrA
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x402f10
cmp byte [esi], 0
mov ecx, esi
je 0x4035a3
mov edx, eax
lea eax, [eax + 1]
cmp byte [ecx + edx + 1], 0
jne 0x402d16
mov byte [ebp - 0x33c], 0x22
lea eax, [ebp - 0x33b]
lea edi, [ebp - 0x219]
jmp 0x402d6a
cmp cl, 9
je 0x402fd3
cmp cl, 0xa
jne 0x403003
mov ecx, 0x6e5c
add eax, 2
mov word [eax - 2], cx
lea ecx, [edx - 1]
cmp eax, edi
ja 0x402ee2
test edx, edx
jle 0x402ee2
mov edx, ecx
add dword [ebp - 0x68c], 1
mov ecx, dword [ebp - 0x68c]
movzx ecx, byte [ecx - 1]
cmp cl, 0xd
je 0x402fe4
jle 0x402d37
cmp cl, 0x22
je 0x403033
cmp cl, 0x5c
jne 0x402ff5
mov esi, 0x5c5c
add eax, 2
mov word [eax - 2], si
jmp 0x402d55
test ebx, ebx
je 0x40334d
mov eax, ebx
shr eax, 0x10
je 0x403270
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sub.kernel32.dll_IsBadStringPtrW
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x402eb8
cmp word [ebx], 0
je 0x4035ba
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x402de3
mov eax, 0x224c
mov dword [ebp - 0x690], esi
lea edx, [ebp - 0x466]
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x346]
mov dword [ebp - 0x68c], ebx
mov esi, eax
jmp 0x402e45
cmp ax, 9
je 0x402f53
cmp ax, 0xa
jne 0x402f71
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
lea eax, [ecx - 1]
cmp edx, esi
ja 0x402e84
test ecx, ecx
jle 0x402e84
mov ecx, eax
add dword [ebp - 0x68c], 2
mov eax, dword [ebp - 0x68c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x402f42
jbe 0x402e18
cmp ax, 0x22
je 0x402fc2
cmp ax, 0x5c
jne 0x402f64
mov edi, 0x5c5c
add edx, 2
mov word [edx - 2], di
jmp 0x402e38
mov byte [edx], 0x22
mov esi, dword [ebp - 0x690]
test eax, eax
jle 0x4035d0
mov ebx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x468]
mov dword [esp], eax
call fcn.00403f30
mov edx, eax
mov dword [esp + 4], edx
mov ebx, 1
mov dword [esp], str.cabarc:_Cannot_add__s__its_a_directory__use__r_for_recursive_add__n
call fcn.00401010
jmp 0x402c0c
mov edx, ebx
mov eax, esi
call fcn.00401420
mov ebx, eax
jmp 0x402c03
mov byte [eax], 0x22
test ecx, ecx
jle 0x4035b2
mov ecx, 0x2e2e
mov byte [eax + 3], 0x2e
lea edx, [eax + 4]
mov word [eax + 1], cx
lea eax, [ebp - 0x33c]
mov byte [edx], 0
mov dword [esp], eax
call fcn.00403f30
mov edx, eax
mov dword [esp + 0x10], edx
mov ebx, 1
mov dword [esp + 0xc], str.cannot_get_full_name_for__s_n
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x405008
mov dword [esp], 1
call fcn.00401920
jmp 0x4026f9
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
jmp 0x402e38
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
jmp 0x402e38
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x40328a
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdeffci_get_open_info]
and edi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov byte [edx - 1], al
mov byte [edx - 2], bl
jmp 0x402e38
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
jmp 0x402e38
mov ebx, 0x745c
add eax, 2
mov word [eax - 2], bx
jmp 0x402d55
mov esi, 0x725c
add eax, 2
mov word [eax - 2], si
jmp 0x402d55
lea esi, [ecx - 0x20]
mov ebx, esi
cmp bl, 0x5e
jbe 0x4032b2
mov ebx, 0x785c
add eax, 4
mov word [eax - 4], bx
mov ebx, ecx
and ecx, 0xf
shr bl, 4
movzx ecx, byte [ecx + str.0123456789abcdeffci_get_open_info]
movzx esi, bl
movzx ebx, byte [esi + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 1], cl
mov byte [eax - 2], bl
jmp 0x402d55
mov ecx, 0x225c
add eax, 2
mov word [eax - 2], cx
jmp 0x402d55
test ebx, ebx
je 0x4036d2
mov eax, ebx
shr eax, 0x10
je 0x40369c
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sub.kernel32.dll_IsBadStringPtrW
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x40314c
cmp word [ebx], 0
je 0x4036e6
mov ecx, edx
lea edx, [edx + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x403083
lea edx, [ebp - 0x346]
mov dword [ebp - 0x68c], ebx
lea eax, [ebp - 0x466]
mov word [ebp - 0x468], 0x224c
mov dword [ebp - 0x690], edx
jmp 0x4030e4
cmp dx, 9
je 0x40333c
cmp dx, 0xa
jne 0x4032da
mov ebx, 0x6e5c
add eax, 2
mov word [eax - 2], bx
lea edx, [ecx - 1]
cmp eax, dword [ebp - 0x690]
ja 0x403123
test ecx, ecx
jle 0x403123
mov ecx, edx
add dword [ebp - 0x68c], 2
mov edx, dword [ebp - 0x68c]
movzx edx, word [edx - 2]
cmp dx, 0xd
je 0x4032bc
jbe 0x4030b3
cmp dx, 0x22
je 0x40332b
cmp dx, 0x5c
jne 0x4032cd
mov edx, 0x5c5c
add eax, 2
mov word [eax - 2], dx
jmp 0x4030d3
mov byte [eax], 0x22
test edx, edx
jle 0x4036fc
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
lea eax, [ebp - 0x468]
mov byte [edx], 0
mov dword [esp], eax
call fcn.00403f30
mov dword [esp + 4], eax
mov ebx, 1
mov dword [esp], str.cannot_open__s_n
call fcn.00401010
jmp 0x402c0c
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x403795
mov eax, ebx
shr eax, 0x10
je 0x40364d
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sub.kernel32.dll_IsBadStringPtrW
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x403256
cmp word [ebx], 0
je 0x4036b4
mov esi, edx
lea edx, [edx + 1]
cmp word [ebx + esi*2 + 2], 0
jne 0x4031a8
mov word [ebp - 0x33c], 0x224c
lea eax, [ebp - 0x33a]
lea edi, [ebp - 0x21a]
jmp 0x4031f9
cmp dx, 9
je 0x403436
cmp dx, 0xa
jne 0x403454
mov edx, 0x6e5c
add eax, 2
mov word [eax - 2], dx
lea edx, [esi - 1]
test esi, esi
jle 0x40322d
cmp eax, edi
ja 0x40322d
mov esi, edx
movzx edx, word [ebx]
add ebx, 2
cmp dx, 0xd
je 0x403425
jbe 0x4031cc
cmp dx, 0x22
je 0x4034a5
cmp dx, 0x5c
jne 0x403447
mov edx, 0x5c5c
add eax, 2
mov word [eax - 2], dx
jmp 0x4031ec
mov byte [eax], 0x22
test edx, edx
jle 0x4036ca
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
lea eax, [ebp - 0x33c]
mov byte [edx], 0
mov dword [esp], eax
call fcn.00403f30
mov dword [esp + 4], eax
mov ebx, 1
mov dword [esp], str.cabarc:_Unknown_compression_type__s_n
call fcn.00401010
jmp 0x4026f9
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00401b60
mov edx, eax
jmp 0x402eb8
mov byte [edx], al
add edx, 1
jmp 0x402e38
movzx eax, word [ebp - 0x68c]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401b60
mov edx, eax
jmp 0x402f10
mov byte [eax], cl
add eax, 1
jmp 0x402d55
mov edx, 0x725c
add eax, 2
mov word [eax - 2], dx
jmp 0x4030d3
lea edi, [edx - 0x20]
cmp di, 0x5e
jbe 0x403629
mov edi, edx
mov byte [eax], 0x5c
add eax, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov edi, edx
shr di, 8
and edi, 0xf
mov byte [eax - 4], bl
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov edi, edx
and edx, 0xf
shr di, 4
movzx edx, byte [edx + str.0123456789abcdeffci_get_open_info]
and edi, 0xf
mov byte [eax - 3], bl
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 1], dl
mov byte [eax - 2], bl
jmp 0x4030d3
mov ebx, 0x225c
add eax, 2
mov word [eax - 2], bx
jmp 0x4030d3
mov edi, 0x745c
add eax, 2
mov word [eax - 2], di
jmp 0x4030d3
mov edx, str._null_
jmp 0x402eb8
mov eax, dword [ebp - 0x68c]
test eax, eax
je 0x40375a
shr eax, 0x10
je 0x403768
mov esi, dword [ebp - 0x68c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call sub.kernel32.dll_IsBadStringPtrA
push edx
push edx
test eax, eax
jne 0x403761
cmp byte [esi], 0
je 0x403781
mov edx, dword [ebp - 0x68c]
mov ecx, eax
lea eax, [eax + 1]
cmp byte [edx + ecx + 1], 0
jne 0x403397
mov byte [ebp - 0x33c], 0x22
lea eax, [ebp - 0x33b]
lea esi, [ebp - 0x219]
jmp 0x4033ed
cmp dl, 9
je 0x403633
cmp dl, 0xa
jne 0x4035f0
mov word [eax], 0x6e5c
add eax, 2
lea edx, [ecx - 1]
test ecx, ecx
jle 0x403704
cmp eax, esi
ja 0x403704
mov ecx, edx
add dword [ebp - 0x68c], 1
mov edx, dword [ebp - 0x68c]
movzx edx, byte [edx - 1]
cmp dl, 0xd
je 0x403640
jle 0x4033be
cmp dl, 0x22
je 0x40361c
cmp dl, 0x5c
jne 0x4035e2
mov word [eax], 0x5c5c
add eax, 2
jmp 0x4033d8
mov ecx, 0x725c
add eax, 2
mov word [eax - 2], cx
jmp 0x4031ec
mov edx, 0x745c
add eax, 2
mov word [eax - 2], dx
jmp 0x4031ec
lea ecx, [edx - 0x20]
cmp cx, 0x5e
jbe 0x403665
mov ecx, edx
mov byte [eax], 0x5c
add eax, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 4], cl
mov ecx, edx
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 3], cl
mov ecx, edx
and edx, 0xf
shr cx, 4
movzx edx, byte [edx + str.0123456789abcdeffci_get_open_info]
and ecx, 0xf
movzx ecx, byte [ecx + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 1], dl
mov byte [eax - 2], cl
jmp 0x4031ec
mov ecx, 0x225c
add eax, 2
mov word [eax - 2], cx
jmp 0x4031ec
test ebx, ebx
je 0x402c07
mov dword [esp + 0xc], section..text
xor ebx, ebx
mov dword [esp + 8], 0x402530
mov dword [esp + 4], 0
mov dword [esp], esi
call sub.cabinet.dll_FCIFlushCabinet
test eax, eax
jne 0x402c0c
mov ebx, dword [0x408008]
test ebx, ebx
je 0x403871
mov eax, ebx
shr eax, 0x10
je 0x403855
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call sub.kernel32.dll_IsBadStringPtrA
push ecx
push ecx
test eax, eax
jne 0x40386a
cmp byte [ebx], 0
je 0x403841
mov ecx, eax
lea eax, [eax + 1]
cmp byte [ebx + ecx + 1], 0
jne 0x403524
mov byte [ebp - 0x468], 0x22
lea eax, [ebp - 0x467]
jmp 0x403574
cmp dl, 9
je 0x4037ac
cmp dl, 0xa
jne 0x4037c1
mov word [eax], 0x6e5c
add eax, 2
lea edi, [ebp - 0x345]
lea edx, [ecx - 1]
cmp eax, edi
ja 0x403807
test ecx, ecx
jle 0x403807
mov ecx, edx
movzx edi, byte [ebx]
add ebx, 1
mov edx, edi
cmp dl, 0xd
je 0x40379f
jle 0x40353f
cmp dl, 0x22
je 0x4037ed
cmp dl, 0x5c
jne 0x4037b9
mov word [eax], 0x5c5c
add eax, 2
jmp 0x403559
mov word [ebp - 0x33c], 0x2222
lea eax, [ebp - 0x33b]
lea edx, [eax + 1]
jmp 0x402efd
mov word [ebp - 0x468], 0x224c
lea edx, [ebp - 0x466]
mov byte [ebp - 0x466], 0x22
lea eax, [edx + 1]
jmp 0x402ea5
mov edx, str._null_
jmp 0x402f10
lea edi, [edx - 0x20]
mov ebx, edi
cmp bl, 0x5e
jbe 0x4036dc
mov ebx, edx
and edx, 0xf
mov word [eax], 0x785c
add eax, 4
shr bl, 4
movzx edx, byte [edx + str.0123456789abcdeffci_get_open_info]
movzx edi, bl
movzx ebx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 1], dl
mov byte [eax - 2], bl
jmp 0x4033d8
mov word [eax], 0x225c
add eax, 2
jmp 0x4033d8
mov byte [eax], dl
add eax, 1
jmp 0x4030d3
mov word [eax], 0x745c
add eax, 2
jmp 0x4033d8
mov word [eax], 0x725c
add eax, 2
jmp 0x4033d8
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00401b60
jmp 0x403256
mov byte [eax], dl
add eax, 1
jmp 0x4031ec
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.FDICopy___failed:_code__u_n
mov dword [esp + 8], str.extract_cabinet
mov dword [esp + 4], 0x405008
mov dword [esp], 2
call fcn.00401920
jmp 0x402a5c
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00401b60
jmp 0x40314c
mov word [ebp - 0x33c], 0x224c
lea eax, [ebp - 0x33a]
mov byte [ebp - 0x33a], 0x22
lea edx, [eax + 1]
jmp 0x403245
mov eax, str._null_
jmp 0x40314c
mov byte [eax], dl
add eax, 1
jmp 0x4033d8
mov word [ebp - 0x468], 0x224c
lea eax, [ebp - 0x466]
mov byte [ebp - 0x466], 0x22
lea edx, [eax + 1]
jmp 0x40313b
mov byte [eax], 0x22
test edx, edx
jle 0x403790
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
lea ebx, [ebp - 0x33c]
mov byte [edx], 0
mov dword [esp], ebx
call fcn.00403f30
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Extracting_file_s__from_cabinet__s_n
mov dword [esp + 8], str.wmain
mov dword [esp + 4], 0x405008
mov dword [esp], 3
call fcn.00401920
jmp 0x4029bb
mov eax, str._null_
jmp 0x40372d
mov eax, str._invalid_
jmp 0x40372d
movzx eax, word [ebp - 0x68c]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401b60
jmp 0x40372d
mov word [ebp - 0x33c], 0x2222
lea eax, [ebp - 0x33b]
lea edx, [eax + 1]
jmp 0x40371c
mov eax, str._null_
jmp 0x403256
mov word [eax], 0x725c
add eax, 2
jmp 0x403559
mov word [eax], 0x745c
add eax, 2
jmp 0x403559
lea edx, [edi - 0x20]
cmp dl, 0x5e
jbe 0x4037fa
mov edx, edi
and edi, 0xf
mov word [eax], 0x785c
add eax, 4
shr dl, 4
movzx edx, dl
movzx edx, byte [edx + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 2], dl
movzx edx, byte [edi + str.0123456789abcdeffci_get_open_info]
mov byte [eax - 1], dl
jmp 0x403559
mov word [eax], 0x225c
add eax, 2
jmp 0x403559
mov edx, edi
add eax, 1
mov byte [eax - 1], dl
jmp 0x403559
mov byte [eax], 0x22
test edx, edx
jle 0x403850
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
lea eax, [ebp - 0x468]
mov byte [edx], 0
mov dword [esp], eax
call fcn.00403f30
mov dword [esp + 4], eax
mov dword [esp], str.cabarc:_Failed_to_create_cabinet__s_n
call fcn.00401010
jmp 0x402c07
mov word [ebp - 0x468], 0x2222
lea eax, [ebp - 0x467]
lea edx, [eax + 1]
jmp 0x40381b
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00401b60
jmp 0x40382c
mov eax, str._invalid_
jmp 0x40382c
mov eax, str._null_
jmp 0x40382c