Function at 0x401039
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x422b07
call fcn.00422000
sub esp, 0xe4
push ebx
xor ebx, ebx
push esi
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, str.comctl32.dll
call fcn.004018bc
cmp eax, 0x40047
mov dword [0x42bb68], eax
sbb al, al
lea ecx, [ebp - 0x78]
inc al
mov byte [0x42b050], al
call fcn.0040237f
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xe], bl
call fcn.0040237f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00415bd5
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.004023c3
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00401d00
push dword [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00401f15
cmp dword [ebp - 0x44], ebx
pop ecx
jbe 0x4010d3
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401a1d
xor esi, esi
cmp dword [ebp - 0x44], ebx
jbe 0x401153
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + esi*4]
mov edx, dword [eax + 4]
cmp edx, 1
jbe 0x40114d
mov eax, dword [eax]
cmp word [eax], 0x2d
jne 0x40114d
mov cx, word [eax + 2]
cmp cx, 0x41
jb 0x401103
cmp cx, 0x5a
ja 0x401103
add ecx, 0x20
cmp cx, 0x79
jne 0x401118
cmp edx, 2
mov byte [ebp - 0xd], 1
jne 0x40119d
jmp 0x40114d
cmp cx, 0x6f
jne 0x40113b
add eax, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.0040243f
lea ecx, [ebp - 0x60]
call fcn.0040445d
cmp dword [ebp - 0x5c], ebx
setne byte [ebp - 0xe]
jmp 0x40114d
cmp cx, 0x70
jne 0x40114d
add eax, 4
lea ecx, [ebp - 0x78]
push eax
call fcn.0040243f
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x4010da
push edi
lea ecx, [ebp - 0x84]
call fcn.0040237f
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.004035da
lea ecx, [ebp - 0x6c]
call fcn.0040237f
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.00403966
test al, al
jne 0x4011b1
mov edx, str.Error_1329484
xor ecx, ecx
call fcn.0040f519
jmp 0x4012be
mov edx, str.Bad_command
xor ecx, ecx
call fcn.0040f519
push 1
pop ebx
jmp 0x4015a1
push 0x18
call fcn.00401eee
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4011cf
mov ecx, eax
call fcn.004016bc
mov edi, eax
jmp 0x4011d1
xor edi, edi
cmp edi, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0xbc], edi
je 0x4011e5
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040ce84
cmp eax, ebx
je 0x401200
mov ecx, eax
call fcn.00401000
jmp 0x4012b0
push 0x70
call fcn.00401eee
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x40121e
mov ecx, eax
call fcn.00401796
mov esi, eax
jmp 0x401220
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
je 0x401231
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00411263
cmp dword [ebp - 0x74], ebx
lea ecx, [esi + 0x60]
setne al
mov byte [esi + 0x5c], al
lea eax, [ebp - 0x78]
push eax
call fcn.004024a9
lea ecx, [ebp - 0xac]
call fcn.00401706
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0040237f
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00403a0f
test al, al
jne 0x4012c5
mov edx, 0x42b0ac
xor ecx, ecx
call fcn.0040f519
push dword [ebp - 0x30]
call fcn.00401f15
push dword [ebp - 0xa0]
call fcn.00401f15
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x4012b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x4012be
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 1
jmp 0x40158a
cmp byte [ebp - 0xe], bl
lea eax, [ebp - 0x60]
jne 0x4012d0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004024a9
mov al, byte [ebp - 0xd]
xor ecx, ecx
cmp al, bl
mov byte [ebp - 0x86], al
setne cl
mov dword [ebp - 0xa4], ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0x85], bl
call fcn.00415bd5
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00415bd5
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xd
call fcn.004019d6
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x54]
push eax
call fcn.004019d6
lea ecx, [ebp - 0xf0]
call fcn.0040163e
push 0x42b0a8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.004023c3
push 1
lea ecx, [ebp - 0x24]
pop eax
mov byte [ebp - 4], 0xf
push eax
push eax
push eax
push eax
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.00402f46
push dword [ebp - 0x24]
call fcn.00401f15
pop ecx
mov byte [ebp - 0xf], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00415bd5
cmp byte [ebp - 0xd], bl
push ebx
lea eax, [ebp - 0xf]
push esi
push eax
lea edx, [ebp - 0xb8]
sete al
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x11
call fcn.00414a3a
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00401b17
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00401f15
pop ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x4014af
cmp dword [esi + 0x50], ebx
jne 0x4013f5
cmp byte [esi + 0x54], bl
je 0x40144b
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.0040166e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00419d02
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00419d02
push dword [ebp - 0x30]
call fcn.00401f15
push dword [ebp - 0xa0]
call fcn.00401f15
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x40157a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40157a
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.0040166e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00419d02
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00419d02
push dword [ebp - 0x30]
call fcn.00401f15
push dword [ebp - 0xa0]
call fcn.00401f15
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x401498
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x40158b
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x40158b
cmp ecx, 0x80004004
jne 0x401514
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.0040166e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00419d02
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00419d02
push dword [ebp - 0x30]
call fcn.00401f15
push dword [ebp - 0xa0]
call fcn.00401f15
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00408fb3
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x40150d
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, 0xff
jmp 0x40158b
cmp byte [ebp - 0xf], bl
jne 0x4015d4
cmp ecx, 1
jne 0x4015cf
mov edx, str.Error_in_archive
xor ecx, ecx
call fcn.0040f519
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.0040166e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00419d02
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00419d02
push dword [ebp - 0x30]
call fcn.00401f15
push dword [ebp - 0xa0]
call fcn.00401f15
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00408fb3
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x401588
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 2
pop ebx
push dword [ebp - 0x6c]
call fcn.00401f15
push dword [ebp - 0x84]
call fcn.00401f15
pop ecx
pop ecx
pop edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00419d02
push dword [ebp - 0x60]
call fcn.00401f15
push dword [ebp - 0x78]
call fcn.00401f15
pop ecx
mov eax, ebx
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
call fcn.00401000
cmp dword [ebp - 0x18], 0x8007000e
jne 0x401532
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.0040166e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00419d02
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00419d02
push dword [ebp - 0x30]
call fcn.00401f15
push dword [ebp - 0xa0]
call fcn.00401f15
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00408fb3
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x401637
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 8
jmp 0x40158a