Function at 0x40110f
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4251b2
call fcn.004246d0
sub esp, 0x140
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.0041d4c0
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push dword [0x42e240]
push dword [0x4271a8]
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
call fcn.004161fe
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x44]
push eax
call fcn.00403153
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004022b2
mov byte [ebp - 4], bl
push dword [ebp - 0x44]
call fcn.0040381e
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00403110
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403110
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004050b1
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x38]
call fcn.00405493
test al, al
jne 0x4011d1
push dword [0x42e240]
push str.GetFullPathName_Error
call edi
push dword [ebp - 0x2c]
call fcn.0040381e
push dword [ebp - 0x38]
call fcn.0040381e
add esp, 0x10
jmp 0x401850
push dword [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040381e
cmp dword [ebp - 0x4c], ebx
pop ecx
jbe 0x4011ec
push ebx
lea ecx, [ebp - 0x50]
call fcn.00401e19
lea ecx, [ebp - 0xe4]
call fcn.0040236e
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xe4]
push eax
push 6
push 0x4271b0
mov byte [ebp - 4], 5
call fcn.004025e0
cmp al, bl
jne 0x401293
push dword [0x42e240]
push str.Command_line_error:
call edi
pop ecx
mov esi, 0x42e240
pop ecx
mov ecx, esi
call fcn.004039e4
push dword [0x42e240]
push dword [ebp - 0xd0]
call edi
pop ecx
pop ecx
mov ecx, esi
call fcn.004039e4
mov ecx, esi
push dword [ebp - 0xc4]
call fcn.004039f7
mov ecx, eax
call fcn.004039e4
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.004023b6
push dword [ebp - 0x38]
call fcn.0040381e
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00401e8e
push 7
jmp 0x40185e
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 4], 4
cmp byte [eax], bl
jne 0x401876
cmp byte [eax + 0x14], bl
jne 0x401876
xor esi, esi
cmp dword [ebp - 0xdc], ebx
jne 0x4012c4
mov dword [ebp - 0x20], 1
jmp 0x401315
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x20]
mov esi, dword [eax]
mov ecx, esi
call section..text
test al, al
jne 0x401312
push dword [0x42e240]
mov edi, dword [esi]
push str.ERROR:_Unknown_command:
call dword [sym.imp.MSVCRT.dll_fputs]
pop ecx
mov esi, 0x42e240
pop ecx
mov ecx, esi
call fcn.004039e4
mov ecx, esi
push edi
call fcn.004039f7
mov ecx, eax
call fcn.004039e4
push 7
pop ebx
jmp 0x401723
push 1
pop esi
lea ecx, [ebp - 0x20]
call fcn.00401053
lea ecx, [ebp - 0xac]
mov edi, eax
call fcn.004161fe
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.004161fe
cmp esi, dword [ebp - 0xdc]
mov byte [ebp - 4], 8
jne 0x40137a
push dword [0x427204]
lea ecx, [ebp - 0x44]
call fcn.00403196
push edi
push 1
mov edx, eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 9
call fcn.00401072
mov byte [ebp - 4], 8
push dword [ebp - 0x44]
call fcn.0040381e
cmp esi, dword [ebp - 0xdc]
pop ecx
jae 0x4013a1
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax + esi*4]
cmp dword [edx + 4], ebx
je 0x4013ff
push edi
push 1
lea ecx, [ebp - 0xac]
call fcn.00401072
inc esi
cmp esi, dword [ebp - 0xdc]
jb 0x40137c
mov eax, dword [ebp - 0xe4]
mov cl, byte [eax + 0x3c]
mov al, byte [eax + 0x50]
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0x11], al
call fcn.00403110
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 0xa
je 0x4013dd
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0xb8]
mov eax, dword [eax + 0x58]
push dword [eax]
call fcn.004032b3
mov ecx, dword [ebp - 0x38]
call fcn.00405af1
test al, al
jne 0x40141a
mov eax, dword [str._cannot_find_sfx]
push 0x429880
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x88]
push 0x429870
push eax
mov dword [ebp - 0x88], str.Empty_file_path
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x74]
call fcn.00403110
mov eax, dword [ebp - 0xe4]
mov byte [ebp - 4], 0xb
cmp byte [eax + 0x64], bl
je 0x401446
mov eax, dword [eax + 0x6c]
lea ecx, [ebp - 0x74]
push dword [eax]
call fcn.004032b3
lea ecx, [ebp - 0x74]
call fcn.00405e97
push ebx
lea ecx, [ebp - 0xac]
call fcn.0040479d
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401dd2
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x68]
push eax
call fcn.00401dd2
mov eax, dword [ebp - 0xac]
push 0x18
mov eax, dword [eax]
lea edi, [eax + 0xc]
call fcn.004037f7
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x4014ac
mov ecx, eax
call fcn.004018b0
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x4014b1
mov dword [ebp - 0x18], ebx
mov esi, ebx
cmp esi, ebx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xec], esi
je 0x4014c5
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.0040d34a
cmp eax, ebx
je 0x4014e5
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push 0x429860
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], 2
je 0x401861
push 0x178
call fcn.004037f7
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 0x10
je 0x401510
mov ecx, eax
call fcn.004019b3
mov esi, eax
jmp 0x401512
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xe8], esi
je 0x401526
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x42e4c0]
mov ecx, esi
push eax
push 0x42e238
push eax
mov byte [ebp - 4], 0x11
call fcn.00401c87
mov al, byte [ebp - 0x11]
lea ecx, [esi + 0xe4]
mov byte [esi + 0xe1], al
lea eax, [ebp - 0xb8]
push eax
call fcn.004032b3
lea ecx, [ebp - 0x114]
call fcn.0040191f
cmp dword [ebp - 0x20], ebx
mov al, byte [ebp - 0x12]
mov byte [ebp - 0xee], al
mov byte [ebp - 4], 0x12
sete cl
mov byte [ebp - 0xed], cl
xor ecx, ecx
cmp al, bl
lea eax, [ebp - 0x74]
setne cl
mov dword [ebp - 0x10c], ecx
push eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 0xef], bl
mov dword [ebp - 0x110], ebx
call fcn.004032b3
lea ecx, [ebp - 0x2c]
call fcn.00403110
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
lea eax, [ebp - 0x14c]
lea ecx, [esi + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
neg eax
sbb eax, eax
push esi
and eax, ecx
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x68]
push edi
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x94]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040d69b
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x14
call fcn.00401f09
mov byte [ebp - 4], 0x13
push dword [ebp - 0x44]
call fcn.0040381e
cmp dword [ebp - 0x28], ebx
pop ecx
je 0x40165b
mov edi, dword [0x42e4c0]
mov ecx, edi
call fcn.004039e4
push dword [edi]
push str.Error:
call dword [sym.imp.MSVCRT.dll_fputs]
pop ecx
pop ecx
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.004039f7
cmp dword [ebp - 0x1c], ebx
jne 0x40165b
mov dword [ebp - 0x1c], 0x80004005
mov eax, dword [esi + 0x138]
mov edx, dword [esi + 0x13c]
mov ecx, eax
or ecx, edx
jne 0x40174e
mov edi, dword [esi + 0x158]
lea ecx, [esi + 0x158]
or edi, dword [ecx + 4]
jne 0x40174e
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4016a4
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push 0x429860
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x2c]
call fcn.0040381e
push dword [ebp - 0x108]
call fcn.0040381e
pop ecx
cmp esi, ebx
pop ecx
mov byte [ebp - 4], 0xf
je 0x4016c7
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4016d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00401e8e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.00401e8e
push dword [ebp - 0x74]
call fcn.0040381e
push dword [ebp - 0xb8]
call fcn.0040381e
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
call fcn.00401e8e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00401e48
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.004023b6
push dword [ebp - 0x38]
call fcn.0040381e
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00401e8e
mov eax, ebx
jmp 0x4018a1
or eax, edx
je 0x401775
mov edi, dword [0x42e4c0]
mov ecx, edi
call fcn.004039e4
push dword [edi]
push str.Archive_Errors
call dword [sym.imp.MSVCRT.dll_fputs]
pop ecx
pop ecx
mov ecx, edi
call fcn.004039e4
mov eax, dword [esi + 0x158]
or eax, dword [esi + 0x15c]
je 0x4017b9
mov edi, dword [0x42e4c0]
mov ecx, edi
call fcn.004039e4
push dword [edi]
push str.Sub_items_Errors:
call dword [sym.imp.MSVCRT.dll_fputs]
pop ecx
pop ecx
push dword [esi + 0x15c]
mov ecx, edi
push dword [esi + 0x158]
call fcn.00403c27
mov ecx, eax
call fcn.004039e4
push dword [ebp - 0x2c]
call fcn.0040381e
push dword [ebp - 0x108]
call fcn.0040381e
pop ecx
cmp esi, ebx
pop ecx
mov byte [ebp - 4], 0xf
je 0x4017dc
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4017ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00401e8e
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.00401e8e
push dword [ebp - 0x74]
call fcn.0040381e
push dword [ebp - 0xb8]
call fcn.0040381e
pop ecx
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
call fcn.00401e8e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00401e48
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.004023b6
push dword [ebp - 0x38]
call fcn.0040381e
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401e8e
push 2
pop eax
jmp 0x4018a1
lea eax, [ebp - 0x7c]
push 0x429860
push eax
mov dword [ebp - 0x7c], 0x80004001
call sub.MSVCRT.dll__CxxThrowException
call fcn.0040105d
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.004023b6
push dword [ebp - 0x38]
call fcn.0040381e
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00401e8e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret