Function at 0x40100a
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x427167
call fcn.004261b0
sub esp, 0x15c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.0041f250
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push dword [0x431270]
push dword [0x42a1c8]
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00402139
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x44]
push eax
call fcn.00403248
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00402305
mov byte [ebp - 4], bl
push dword [ebp - 0x44]
call fcn.00403915
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00403205
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403205
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00405158
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x38]
call fcn.00405540
test al, al
jne 0x4010cc
push dword [0x431270]
push str.GetFullPathName_Error
call edi
push dword [ebp - 0x2c]
call fcn.00403915
push dword [ebp - 0x38]
call fcn.00403915
add esp, 0x10
jmp 0x401752
push dword [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403915
cmp dword [ebp - 0x4c], ebx
pop ecx
jbe 0x4010e7
push ebx
lea ecx, [ebp - 0x50]
call fcn.00401e44
lea ecx, [ebp - 0xcc]
call fcn.004023c8
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xcc]
push eax
push 6
push 0x42a1d0
mov byte [ebp - 4], 5
call fcn.00402643
cmp al, bl
jne 0x40118e
push dword [0x431270]
push str.Command_line_error:
call edi
pop ecx
mov esi, 0x431270
pop ecx
mov ecx, esi
call fcn.00403afe
push dword [0x431270]
push dword [ebp - 0xb8]
call edi
pop ecx
pop ecx
mov ecx, esi
call fcn.00403afe
mov ecx, esi
push dword [ebp - 0xac]
call fcn.00403b11
mov ecx, eax
call fcn.00403afe
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.00402410
push dword [ebp - 0x38]
call fcn.00403915
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00419ed0
push 7
jmp 0x401760
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 4], 4
cmp byte [eax], bl
jne 0x401778
cmp byte [eax + 0x14], bl
jne 0x401778
xor esi, esi
cmp dword [ebp - 0xc4], ebx
jne 0x4011bf
mov dword [ebp - 0x20], 1
jmp 0x401210
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0x20]
mov esi, dword [eax]
mov ecx, esi
call fcn.00401cf0
test al, al
jne 0x40120d
push dword [0x431270]
mov edi, dword [esi]
push str.ERROR:_Unknown_command:
call dword [sym.imp.MSVCRT.dll_fputs]
pop ecx
mov esi, 0x431270
pop ecx
mov ecx, esi
call fcn.00403afe
mov ecx, esi
push edi
call fcn.00403b11
mov ecx, eax
call fcn.00403afe
push 7
pop ebx
jmp 0x401622
push 1
pop esi
lea ecx, [ebp - 0x20]
call fcn.00401000
lea ecx, [ebp - 0xe8]
mov edi, eax
call fcn.004017b2
cmp esi, dword [ebp - 0xc4]
mov byte [ebp - 4], 7
jne 0x401266
push dword [0x42a224]
lea ecx, [ebp - 0x44]
call fcn.0040328b
push edi
push 1
mov edx, eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 8
call fcn.00401d9d
mov byte [ebp - 4], 7
push dword [ebp - 0x44]
call fcn.00403915
cmp esi, dword [ebp - 0xc4]
pop ecx
jae 0x40128d
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + esi*4]
cmp dword [edx + 4], ebx
je 0x4012eb
push edi
push 1
lea ecx, [ebp - 0xe8]
call fcn.00401d9d
inc esi
cmp esi, dword [ebp - 0xc4]
jb 0x401268
mov eax, dword [ebp - 0xcc]
mov cl, byte [eax + 0x3c]
mov al, byte [eax + 0x50]
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0x11], al
call fcn.00403205
cmp byte [ebp - 0x11], bl
mov byte [ebp - 4], 9
je 0x4012c9
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xa0]
mov eax, dword [eax + 0x58]
push dword [eax]
call fcn.004033a8
mov ecx, dword [ebp - 0x38]
call fcn.00405d59
test al, al
jne 0x401306
mov eax, dword [str._cannot_find_sfx]
push 0x42cb08
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x88]
push 0x42caf8
push eax
mov dword [ebp - 0x88], str.Empty_file_path
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x74]
call fcn.00403205
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 4], 0xa
cmp byte [eax + 0x64], bl
je 0x401332
mov eax, dword [eax + 0x6c]
lea ecx, [ebp - 0x74]
push dword [eax]
call fcn.004033a8
lea ecx, [ebp - 0x74]
call fcn.004062bf
push ebx
lea ecx, [ebp - 0xe8]
call fcn.00404d6d
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 ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.004020f5
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0040217b
lea ecx, [ebp - 0x68]
call fcn.004020f5
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x68]
push eax
call fcn.0040217b
mov eax, dword [ebp - 0xe8]
push 0x18
mov eax, dword [eax]
lea edi, [eax + 0xc]
call fcn.004038ee
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x4013a8
mov ecx, eax
call fcn.004017ce
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x4013ad
mov dword [ebp - 0x18], ebx
mov esi, ebx
cmp esi, ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xec], esi
je 0x4013c1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0040fb4b
cmp eax, ebx
je 0x4013e1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push 0x42cae8
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], 2
je 0x401763
push 0x178
call fcn.004038ee
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x40140c
mov ecx, eax
call fcn.0040190b
mov esi, eax
jmp 0x40140e
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xf0], esi
je 0x401422
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x4314f8]
mov ecx, esi
push eax
push 0x431260
push eax
mov byte [ebp - 4], 0x10
call fcn.00401bfe
mov al, byte [ebp - 0x11]
lea ecx, [esi + 0xe4]
mov byte [esi + 0xe1], al
lea eax, [ebp - 0xa0]
push eax
call fcn.004033a8
lea ecx, [ebp - 0x130]
call fcn.0040183d
cmp dword [ebp - 0x20], ebx
mov al, byte [ebp - 0x12]
mov byte [ebp - 0xf2], al
mov byte [ebp - 4], 0x11
sete cl
mov byte [ebp - 0xf1], cl
xor ecx, ecx
cmp al, bl
lea eax, [ebp - 0x74]
setne cl
mov dword [ebp - 0x124], ecx
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 0xf3], bl
mov dword [ebp - 0x128], ebx
call fcn.004033a8
lea ecx, [ebp - 0x2c]
call fcn.00403205
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 - 0x168]
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 - 0x130]
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], 0x14
call fcn.0040e32e
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x13
call fcn.00401eff
mov byte [ebp - 4], 0x12
push dword [ebp - 0x44]
call fcn.00403915
cmp dword [ebp - 0x28], ebx
pop ecx
je 0x401557
mov edi, dword [0x4314f8]
mov ecx, edi
call fcn.00403afe
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.00403b11
cmp dword [ebp - 0x1c], ebx
jne 0x401557
mov dword [ebp - 0x1c], 0x80004005
mov eax, dword [esi + 0x138]
mov edx, dword [esi + 0x13c]
mov ecx, eax
or ecx, edx
jne 0x40164d
mov edi, dword [esi + 0x158]
lea ecx, [esi + 0x158]
or edi, dword [ecx + 4]
jne 0x40164d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4015a0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push 0x42cae8
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x2c]
call fcn.00403915
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
call fcn.004018f4
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x4015c6
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4015d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00419ed0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00419ed0
push dword [ebp - 0x74]
call fcn.00403915
push dword [ebp - 0xa0]
call fcn.00403915
pop ecx
pop ecx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
call fcn.00419ed0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.00401e73
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.00402410
push dword [ebp - 0x38]
call fcn.00403915
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00419ed0
mov eax, ebx
jmp 0x4017a3
or eax, edx
je 0x401674
mov edi, dword [0x4314f8]
mov ecx, edi
call fcn.00403afe
push dword [edi]
push str.Archive_Errors
call dword [sym.imp.MSVCRT.dll_fputs]
pop ecx
pop ecx
mov ecx, edi
call fcn.00403afe
mov eax, dword [esi + 0x158]
or eax, dword [esi + 0x15c]
je 0x4016b8
mov edi, dword [0x4314f8]
mov ecx, edi
call fcn.00403afe
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.00403d09
mov ecx, eax
call fcn.00403afe
push dword [ebp - 0x2c]
call fcn.00403915
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
call fcn.004018f4
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x4016de
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4016ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00419ed0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00419ed0
push dword [ebp - 0x74]
call fcn.00403915
push dword [ebp - 0xa0]
call fcn.00403915
pop ecx
pop ecx
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x15
call fcn.00419ed0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.00401e73
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.00402410
push dword [ebp - 0x38]
call fcn.00403915
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00419ed0
push 2
pop eax
jmp 0x4017a3
lea eax, [ebp - 0x7c]
push 0x42cae8
push eax
mov dword [ebp - 0x7c], 0x80004001
call sub.MSVCRT.dll__CxxThrowException
call fcn.00401d43
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 2
call fcn.00402410
push dword [ebp - 0x38]
call fcn.00403915
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00419ed0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret