Function at 0x401866
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x42a2d1
call fcn.00427a54
sub esp, 0x98
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push str.comctl32.dll
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4018e1
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4018d8
push 0x14
lea eax, [ebp - 0x34]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x34], 0x14
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
js 0x4018d8
movzx esi, word [ebp - 0x30]
movzx eax, word [ebp - 0x2c]
shl esi, 0x10
or esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
cmp esi, 0x40047
mov dword [0x433148], esi
lea ecx, [ebp]
sbb al, al
inc al
mov byte [section..data], al
call fcn.0040227e
lea ecx, [ebp + 0x30]
mov dword [ebp - 4], ebx
mov byte [ebp + 0x73], bl
mov byte [ebp + 0x72], bl
call fcn.0040227e
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp + 0x54]
call fcn.00402248
lea edx, [ebp + 0x60]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x54]
call fcn.00401dee
push dword [ebp + 0x54]
mov byte [ebp - 4], 2
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
cmp dword [ebp + 0x64], 0
pop ecx
jbe 0x401956
push ebx
lea ecx, [ebp + 0x60]
call fcn.004016ce
mov esi, ebx
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x64], 0
jbe 0x4019f0
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax + esi*4]
mov edi, dword [ecx + 4]
cmp edi, ebx
jbe 0x4019e6
mov ecx, dword [ecx]
cmp word [ecx], 0x2d
jne 0x4019e6
movzx edx, word [ecx + 2]
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x40198f
lea eax, [edx + 0x20]
movzx eax, ax
jmp 0x401991
mov eax, edx
cmp ax, 0x79
jne 0x4019b0
mov byte [ebp + 0x73], bl
cmp edi, 2
je 0x4019e6
mov edx, str.Bad_command
xor ecx, ecx
call fcn.004108bf
jmp 0x401c96
cmp ax, 0x6f
jne 0x4019d4
lea eax, [ecx + 4]
push eax
lea ecx, [ebp + 0x30]
call fcn.00402370
lea ecx, [ebp + 0x30]
call fcn.0040521b
cmp dword [ebp + 0x34], 0
setne byte [ebp + 0x72]
jmp 0x4019e6
cmp ax, 0x70
jne 0x4019e6
lea eax, [ecx + 4]
push eax
lea ecx, [ebp]
call fcn.00402370
inc esi
cmp esi, dword [ebp + 0x64]
jb 0x401965
lea ecx, [ebp + 0xc]
call fcn.0040227e
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.004037b8
lea ecx, [ebp + 0x18]
call fcn.0040227e
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x18]
mov byte [ebp - 4], 5
call fcn.00403bab
test al, al
jne 0x401a30
mov edx, str.Error_1329484
xor ecx, ecx
call fcn.004108bf
jmp 0x401c84
push 0x18
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov dword [ebp + 0x6c], esi
pop ecx
test esi, esi
je 0x401a5b
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], 0x42c5e4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov word [esi + 0x14], ax
jmp 0x401a5d
xor esi, esi
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x401a6a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0040e561
test eax, eax
je 0x401a85
mov ecx, eax
call fcn.00401707
jmp 0x401c76
push 0xb8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 0x6c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x401aa6
mov ecx, eax
call fcn.004012d6
mov edi, eax
jmp 0x401aa8
xor edi, edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], edi
test edi, edi
je 0x401ab9
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00412ba4
cmp dword [ebp + 4], 0
lea ecx, [edi + 0x68]
setne al
mov byte [edi + 0x64], al
lea eax, [ebp]
push eax
call fcn.004022a2
lea ecx, [ebp - 0x70]
call fcn.004013e0
xor eax, eax
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040227e
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00403b60
test al, al
jne 0x401b17
mov edx, str.Error_1329485
xor ecx, ecx
call fcn.004108bf
jmp 0x401c51
cmp byte [ebp + 0x72], 0
lea ecx, [ebp - 0x18]
lea eax, [ebp + 0x30]
cmove eax, ecx
lea ecx, [ebp - 0x60]
push eax
call fcn.004022a2
mov cl, byte [ebp + 0x73]
xor eax, eax
test cl, cl
mov byte [ebp - 0x36], cl
setne al
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x35], al
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp + 0x3c]
call fcn.004015e9
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp + 0x48]
call fcn.004015e9
lea ecx, [ebp - 0xa4]
call fcn.004012a0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.00401658
xor eax, eax
mov byte [ebp + 0x71], al
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
cmp byte [ebp + 0x73], 0
lea edx, [ebp + 0x24]
push eax
push edi
lea eax, [ebp + 0x71]
mov byte [ebp - 4], 0x12
push eax
sete al
mov ecx, esi
movzx eax, al
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.00416772
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x6c], eax
call fcn.0040148d
push dword [ebp + 0x54]
mov byte [ebp - 4], 0x10
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp + 0x6c]
pop ecx
test eax, eax
jne 0x401c07
cmp dword [edi + 0x58], eax
jne 0x401c33
cmp byte [edi + 0x5c], al
jne 0x401c33
xor ebx, ebx
jmp 0x401c36
cmp eax, 0x80004004
jne 0x401c15
mov ebx, 0xff
jmp 0x401c36
cmp byte [ebp + 0x71], 0
jne 0x401cce
cmp eax, ebx
jne 0x401cc4
mov edx, str.Error_in_archive
xor ecx, ecx
call fcn.004108bf
push 2
pop ebx
lea ecx, [ebp - 0xa4]
call fcn.0040154f
lea ecx, [ebp + 0x48]
call fcn.004014eb
lea ecx, [ebp + 0x3c]
call fcn.004014eb
push dword [ebp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push dword [ebp - 0x44]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push dword [ebp - 0x60]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 0xc
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1b
call dword [eax + 8]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x401c84
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp + 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push dword [ebp + 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
pop ecx
lea ecx, [ebp + 0x60]
call fcn.004014eb
push dword [ebp + 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
push dword [ebp]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x74]
pop ebp
ret
mov ecx, eax
call fcn.00401707
mov eax, dword [ebp + 0x6c]
cmp eax, 0x8007000e
jne 0x401c33
push 8
jmp 0x401c35