Function at 0x401179
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x418aa2
call fcn.004184b0
sub esp, 0x17c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
push dword [0x420044]
mov ecx, 0x4213f0
call fcn.00405066
lea ecx, [ebp - 0x68]
call fcn.00401fec
mov edi, 0x41b390
mov dword [ebp - 0x68], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401b2e
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004042a9
push dword [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00404e71
mov eax, dword [ebp - 0x5c]
pop ecx
lea ecx, [ebp - 0x48]
push dword [eax]
call fcn.00401b8f
push 1
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00401ab2
push 6
lea ecx, [ebp - 0x98]
call fcn.00404381
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x98]
push eax
push 0x41b188
mov byte [ebp - 4], 4
call fcn.004044f6
jmp 0x40123b
push ebx
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 3
call fcn.0040487c
cmp byte [eax], bl
jne 0x401822
push 1
lea ecx, [ebp - 0x98]
pop esi
push esi
call fcn.0040487c
cmp byte [eax], bl
jne 0x401822
cmp dword [ebp - 0x88], ebx
jne 0x40127a
mov dword [ebp - 0x18], esi
jmp 0x4012a2
cmp dword [ebp - 0x88], esi
jle 0x401287
call fcn.004018f8
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x18]
push ecx
mov eax, dword [eax]
push eax
call fcn.0040101b
test al, al
jne 0x4012a2
call fcn.004018f8
lea ecx, [ebp - 0x18]
call fcn.00401000
lea ecx, [ebp - 0xd8]
mov esi, eax
call fcn.00401c94
push ebx
lea eax, [ebp - 0x90]
push esi
push eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 7
push eax
call fcn.00401132
push 3
lea ecx, [ebp - 0x98]
call fcn.0040487c
mov al, byte [eax]
push dword [0x420048]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x12], al
call fcn.00401b2e
lea eax, [ebp - 0x74]
push 4
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.00401c6d
push dword [ebp - 0x28]
mov byte [ebp - 4], 9
push dword [eax]
call fcn.004052ad
push dword [ebp - 0x74]
cmp eax, ebx
setne byte [ebp - 0x13]
call fcn.00404e71
push dword [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00404e71
cmp byte [ebp - 0x13], bl
pop ecx
pop ecx
je 0x40133f
push dword [0x420048]
lea ecx, [ebp - 0x48]
call fcn.00401c10
push 4
lea ecx, [ebp - 0x98]
call fcn.0040487c
mov al, byte [eax]
push 0xf
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.00402007
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 0xa
je 0x401387
push 4
lea ecx, [ebp - 0x98]
call fcn.0040487c
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x3c]
push dword [eax]
call fcn.00401bd2
lea ecx, [ebp - 0x158]
call fcn.00401b16
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x48]
call fcn.00406d6c
test al, al
jne 0x4013c5
mov eax, dword [0x420068]
push 0x41be48
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x188]
shr eax, 4
test al, 1
je 0x4013ee
mov eax, dword [0x420068]
push 0x41be48
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xac]
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0xf
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.00402007
push 5
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call fcn.0040487c
cmp byte [eax], bl
je 0x401439
push 5
lea ecx, [ebp - 0x98]
call fcn.0040487c
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x54]
push dword [eax]
call fcn.00401bd2
lea eax, [ebp - 0x54]
push eax
call fcn.00407139
lea ecx, [ebp - 0x30]
call fcn.00401fec
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.00401fec
mov dword [ebp - 0x7c], edi
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401a6b
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x7c]
push eax
call fcn.00401a6b
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax]
add eax, 0xc
cmp dword [ebp - 0x18], 2
mov dword [ebp - 0x1c], eax
je 0x4017ea
push 0x48
call fcn.00404e4a
pop ecx
mov dword [ebp - 0xa4], eax
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x4014a8
mov ecx, eax
call fcn.00401943
mov esi, eax
jmp 0x4014aa
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xa4], esi
je 0x4014be
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x420fd0]
lea ecx, [esi + 0x10]
mov dword [esi + 0x40], eax
mov al, byte [ebp - 0x11]
mov byte [esi + 0xc], al
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00401bd2
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc4], 0x41b37c
mov byte [ebp - 0xbc], bl
call fcn.00401b16
mov dword [ebp - 0xc4], 0x41b368
mov eax, dword [0x420fd0]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov al, byte [ebp - 0x11]
mov byte [ebp - 0xbc], al
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00401bd2
lea ecx, [ebp - 0x148]
call fcn.00401878
cmp dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x12
mov byte [ebp - 0x148], bl
sete al
mov byte [ebp - 0x147], al
xor eax, eax
cmp byte [ebp - 0x12], bl
mov dword [ebp - 0x144], ebx
setne al
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00401bd2
mov al, byte [ebp - 0x12]
push esi
mov byte [ebp - 0x134], al
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x7c]
push dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409cd0
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x2c]
mov edx, ecx
or edx, eax
jne 0x4016b5
mov edx, dword [esi + 0x30]
or edx, dword [esi + 0x34]
jne 0x4016b5
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4015e9
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push 0x41be38
push eax
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x11
call fcn.00401a13
push dword [ebp - 0xb8]
call fcn.00404e71
cmp esi, ebx
pop ecx
mov byte [ebp - 4], 0xe
je 0x401612
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 0x7c], edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x16
call fcn.004054c2
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.00405496
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x17
call fcn.004054c2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00405496
push dword [ebp - 0x54]
call fcn.00404e71
push dword [ebp - 0x158]
call fcn.00404e71
push dword [ebp - 0x3c]
call fcn.00404e71
add esp, 0xc
mov dword [ebp - 0xd8], 0x41b360
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x18
call fcn.004054c2
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.00405496
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.004044a1
push dword [ebp - 0x48]
call fcn.00404e71
pop ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 4], 0x19
jmp 0x401849
mov edx, ecx
or edx, eax
je 0x4016e9
mov edx, 0x405058
push edx
push eax
push ecx
mov ecx, dword [0x420fd0]
push str.Archive_Errors:
push edx
call fcn.0040504a
mov ecx, eax
call fcn.00405066
mov ecx, eax
call fcn.0040511a
mov ecx, eax
call fcn.0040504a
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov eax, ecx
or eax, edx
je 0x401723
mov eax, 0x405058
push eax
push edx
push ecx
mov ecx, dword [0x420fd0]
push str.Sub_items_Errors:
push eax
call fcn.0040504a
mov ecx, eax
call fcn.00405066
mov ecx, eax
call fcn.0040511a
mov ecx, eax
call fcn.0040504a
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x11
call fcn.00401a13
push dword [ebp - 0xb8]
call fcn.00404e71
cmp esi, ebx
pop ecx
mov byte [ebp - 4], 0xe
je 0x40174c
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 0x7c], edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.004054c2
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xd
call fcn.00405496
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x14
call fcn.004054c2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00405496
push dword [ebp - 0x54]
call fcn.00404e71
push dword [ebp - 0x158]
call fcn.00404e71
push dword [ebp - 0x3c]
call fcn.00404e71
add esp, 0xc
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.00401caf
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.004044a1
push dword [ebp - 0x48]
call fcn.00404e71
pop ecx
mov dword [ebp - 0x68], edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0x15
call fcn.004054c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00405496
push 2
pop eax
jmp 0x40185f
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x11]
push ecx
push ebx
push 1
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00402dc5
cmp eax, ebx
je 0x401612
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
push 0x41be38
push eax
call sub.MSVCRT.dll__CxxThrowException
call fcn.0040100a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.004044a1
push dword [ebp - 0x48]
call fcn.00404e71
pop ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.004054c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00405496
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret