Function at 0x401039
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x428547
call fcn.00427540
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.0040195e
cmp eax, 0x40047
mov dword [0x432188], eax
sbb al, al
lea ecx, [ebp - 0x78]
inc al
mov byte [0x432060], al
call fcn.00402557
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xe], bl
call fcn.00402557
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00417500
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040259a
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00401d95
push dword [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00402078
cmp dword [ebp - 0x44], ebx
pop ecx
jbe 0x4010d3
push ebx
lea ecx, [ebp - 0x48]
call fcn.00401ac4
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.00402696
lea ecx, [ebp - 0x60]
call fcn.004048da
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.00402696
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x4010da
push edi
lea ecx, [ebp - 0x84]
call fcn.00402557
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.0040386e
lea ecx, [ebp - 0x6c]
call fcn.00402557
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.00403c55
test al, al
jne 0x4011b1
mov edx, str.Error_1329484
xor ecx, ecx
call fcn.00410188
jmp 0x4012c1
mov edx, str.Bad_command
xor ecx, ecx
call fcn.00410188
push 1
pop ebx
jmp 0x4015a4
push 0x18
call fcn.00402051
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4011cf
mov ecx, eax
call fcn.004016bf
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.0040dba9
cmp eax, ebx
je 0x401200
mov ecx, eax
call fcn.00401000
jmp 0x4012b3
push 0xa8
call fcn.00402051
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x401221
mov ecx, eax
call fcn.004017c1
mov esi, eax
jmp 0x401223
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
je 0x401234
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00411f07
cmp dword [ebp - 0x74], ebx
lea ecx, [esi + 0x68]
setne al
mov byte [esi + 0x64], al
lea eax, [ebp - 0x78]
push eax
call fcn.004026fa
lea ecx, [ebp - 0xac]
call fcn.0040172d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00402557
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00403cfc
test al, al
jne 0x4012c8
mov edx, 0x42b4f8
xor ecx, ecx
call fcn.00410188
push dword [ebp - 0x30]
call fcn.00402078
push dword [ebp - 0xa0]
call fcn.00402078
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x4012b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x4012c1
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 1
jmp 0x40158d
cmp byte [ebp - 0xe], bl
lea eax, [ebp - 0x60]
jne 0x4012d3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004026fa
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.00417500
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00417500
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401a7d
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x54]
push eax
call fcn.00401a7d
lea ecx, [ebp - 0xf0]
call fcn.00401641
push 0x42b4f4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.0040259a
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.004032d4
push dword [ebp - 0x24]
call fcn.00402078
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.00417500
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.00415d10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.00401bbe
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00402078
pop ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x4014b2
cmp dword [esi + 0x58], ebx
jne 0x4013f8
cmp byte [esi + 0x5c], bl
je 0x40144e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00401671
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00411b22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00411b22
push dword [ebp - 0x30]
call fcn.00402078
push dword [ebp - 0xa0]
call fcn.00402078
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x40157d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40157d
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00401671
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00411b22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00411b22
push dword [ebp - 0x30]
call fcn.00402078
push dword [ebp - 0xa0]
call fcn.00402078
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 7
je 0x40149b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x40158e
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x40158e
cmp ecx, 0x80004004
jne 0x401517
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00401671
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00411b22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00411b22
push dword [ebp - 0x30]
call fcn.00402078
push dword [ebp - 0xa0]
call fcn.00402078
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00408c26
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x401510
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, 0xff
jmp 0x40158e
cmp byte [ebp - 0xf], bl
jne 0x4015d7
cmp ecx, 1
jne 0x4015d2
mov edx, str.Error_in_archive
xor ecx, ecx
call fcn.00410188
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00401671
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00411b22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00411b22
push dword [ebp - 0x30]
call fcn.00402078
push dword [ebp - 0xa0]
call fcn.00402078
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00408c26
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x40158b
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 2
pop ebx
push dword [ebp - 0x6c]
call fcn.00402078
push dword [ebp - 0x84]
call fcn.00402078
pop ecx
pop ecx
pop edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00411b22
push dword [ebp - 0x60]
call fcn.00402078
push dword [ebp - 0x78]
call fcn.00402078
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 0x401535
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00401671
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00411b22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00411b22
push dword [ebp - 0x30]
call fcn.00402078
push dword [ebp - 0xa0]
call fcn.00402078
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00408c26
cmp edi, ebx
mov byte [ebp - 4], 5
je 0x40163a
mov eax, dword [edi]
push edi
call dword [eax + 8]
push 8
jmp 0x40158d