Function at 0x40100a
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x426b87
call fcn.00425a20
sub esp, 0x170
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.0041eb60
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push dword [0x4302a0]
push dword [0x4295d8]
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.004179f0
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x54]
push eax
call fcn.0040333e
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004023bb
mov byte [ebp - 4], bl
push dword [ebp - 0x54]
call fcn.00403b98
pop ecx
lea ecx, [ebp - 0x48]
call fcn.004032fb
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004032fb
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040541f
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
call fcn.00405807
test al, al
jne 0x4010cc
push dword [0x4302a0]
push str.GetFullPathName_Error
call edi
push dword [ebp - 0x30]
call fcn.00403b98
push dword [ebp - 0x48]
call fcn.00403b98
add esp, 0x10
jmp 0x40184d
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403b98
cmp dword [ebp - 0x38], ebx
pop ecx
jbe 0x4010e7
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00401f6a
lea ecx, [ebp - 0xd0]
call fcn.0040247e
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0xd0]
push eax
push 6
push 0x4295e0
mov byte [ebp - 4], 5
call fcn.004026f9
cmp al, bl
jne 0x401198
push dword [0x4302a0]
push str.Command_line_error:
call edi
pop ecx
mov esi, 0x4302a0
pop ecx
mov ecx, esi
call fcn.00403ce1
push dword [0x4302a0]
push dword [ebp - 0xbc]
call edi
pop ecx
pop ecx
mov ecx, esi
call fcn.00403ce1
mov ecx, esi
push dword [ebp - 0xb0]
call fcn.00403cf4
mov ecx, eax
call fcn.00403ce1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004024c6
push dword [ebp - 0x48]
call fcn.00403b98
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.00401fdf
push 7
jmp 0x40185b
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 4], 4
cmp byte [eax], bl
jne 0x401873
cmp byte [eax + 0x14], bl
jne 0x401873
xor esi, esi
cmp dword [ebp - 0xc8], ebx
jne 0x4011c9
mov dword [ebp - 0x20], 1
jmp 0x401216
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0x20]
mov esi, dword [eax]
mov ecx, esi
call fcn.00401e16
test al, al
jne 0x401213
push dword [0x4302a0]
mov ebx, dword [esi]
push str.ERROR:_Unknown_command:
call edi
pop ecx
mov esi, 0x4302a0
pop ecx
mov ecx, esi
call fcn.00403ce1
mov ecx, esi
push ebx
call fcn.00403cf4
mov ecx, eax
call fcn.00403ce1
push 7
pop ebx
jmp 0x4016a1
push 1
pop esi
lea ecx, [ebp - 0x20]
call fcn.00401000
lea ecx, [ebp - 0xec]
mov edi, eax
call fcn.004018ad
cmp esi, dword [ebp - 0xc8]
mov byte [ebp - 4], 7
jne 0x40126c
push dword [0x429634]
lea ecx, [ebp - 0x54]
call fcn.00403381
push edi
push 1
mov edx, eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.00401ec3
mov byte [ebp - 4], 7
push dword [ebp - 0x54]
call fcn.00403b98
cmp esi, dword [ebp - 0xc8]
pop ecx
jae 0x401293
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax + esi*4]
cmp dword [edx + 4], ebx
je 0x4012f7
push edi
push 1
lea ecx, [ebp - 0xec]
call fcn.00401ec3
inc esi
cmp esi, dword [ebp - 0xc8]
jb 0x40126e
mov eax, dword [ebp - 0xd0]
mov cl, byte [eax + 0x3c]
mov al, byte [eax + 0x50]
mov byte [ebp - 0x16], cl
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x15], al
call fcn.004032fb
cmp byte [ebp - 0x15], bl
mov byte [ebp - 4], 9
je 0x4012cf
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xa4]
mov eax, dword [eax + 0x58]
push dword [eax]
call fcn.0040349e
mov ecx, dword [ebp - 0x48]
call fcn.004061af
test al, al
jne 0x40130c
mov eax, dword [str._cannot_find_sfx]
push 0x42bc88
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x80]
push 0x42bc78
push eax
mov dword [ebp - 0x80], str.Empty_file_path
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x7c]
call fcn.004032fb
mov eax, dword [ebp - 0xd0]
mov byte [ebp - 4], 0xa
cmp byte [eax + 0x64], bl
je 0x401338
mov eax, dword [eax + 0x6c]
lea ecx, [ebp - 0x7c]
push dword [eax]
call fcn.0040349e
lea ecx, [ebp - 0x7c]
call fcn.00406715
push ebx
lea ecx, [ebp - 0xec]
call fcn.0040503d
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.0040d484
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00402285
lea ecx, [ebp - 0x60]
call fcn.0040d484
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
call fcn.00402285
mov eax, dword [ebp - 0xec]
push 0x18
mov eax, dword [eax]
add eax, 0xc
mov dword [ebp - 0x14], eax
call fcn.00403b64
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x4013b1
mov ecx, eax
call fcn.004018c9
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4013b6
mov dword [ebp - 0x1c], ebx
mov esi, ebx
cmp esi, ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xf4], esi
je 0x4013ca
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0040da12
cmp eax, ebx
je 0x4013f0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push 0x42bc68
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], 2
je 0x40185e
push 0x170
call fcn.00403b64
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x40141b
mov ecx, eax
call fcn.004019fc
mov esi, eax
jmp 0x40141d
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xf0], esi
je 0x401431
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [0x430550]
mov ecx, esi
push eax
push 0x430290
push eax
mov byte [ebp - 4], 0x10
call fcn.00401d19
mov al, byte [ebp - 0x15]
lea ecx, [esi + 0xdc]
mov byte [esi + 0xda], al
lea eax, [ebp - 0xa4]
push eax
call fcn.0040349e
lea ecx, [ebp - 0x144]
call fcn.00401926
cmp dword [ebp - 0x20], ebx
mov al, byte [ebp - 0x16]
mov byte [ebp - 0xfa], al
mov byte [ebp - 4], 0x11
sete cl
mov byte [ebp - 0xf9], cl
xor ecx, ecx
cmp al, bl
lea eax, [ebp - 0x7c]
setne cl
mov dword [ebp - 0x138], ecx
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 0xfb], bl
mov dword [ebp - 0x13c], ebx
call fcn.0040349e
lea ecx, [ebp - 0x30]
call fcn.004032fb
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
lea eax, [ebp - 0x17c]
lea ecx, [esi + 4]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, esi
neg eax
sbb eax, eax
push esi
and eax, ecx
lea edi, [esi + 0x10]
push eax
mov eax, esi
neg eax
sbb eax, eax
mov ecx, dword [ebp - 0x1c]
and eax, edi
lea edx, [ebp - 0x98]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x60]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040c23b
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x13
call fcn.0040205a
mov byte [ebp - 4], 0x12
push dword [ebp - 0x54]
call fcn.00403b98
cmp dword [edi + 0xac], ebx
pop ecx
je 0x40154f
push 1
lea ecx, [edi + 8]
call fcn.0041224b
cmp dword [ebp - 0x2c], ebx
je 0x40158e
mov edi, dword [0x430550]
mov ecx, edi
mov dword [ebp - 0x24], edi
call fcn.00403ce1
push dword [edi]
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push str.Error:
call edi
pop ecx
pop ecx
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
call fcn.00403cf4
cmp dword [ebp - 0x14], ebx
jne 0x401594
mov dword [ebp - 0x14], 0x80004005
jmp 0x401594
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
mov ecx, dword [esi + 0x130]
mov edx, dword [esi + 0x134]
cmp ecx, ebx
jne 0x4016cc
cmp edx, ebx
jne 0x4016cc
cmp dword [esi + 0x138], ebx
lea eax, [esi + 0x138]
jne 0x4016cc
cmp dword [eax + 4], ebx
jne 0x4016cc
cmp dword [esi + 0x158], ebx
lea eax, [esi + 0x158]
jne 0x4016cc
cmp dword [eax + 4], ebx
jne 0x4016cc
cmp dword [esi + 0x148], ebx
lea eax, [esi + 0x148]
jne 0x4016cc
cmp dword [eax + 4], ebx
jne 0x4016cc
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40161f
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push 0x42bc68
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x30]
call fcn.00403b98
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x144]
call fcn.004019e5
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x401645
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x401656
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.00401fdf
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00401fdf
push dword [ebp - 0x7c]
call fcn.00403b98
push dword [ebp - 0xa4]
call fcn.00403b98
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x16
call fcn.00401fdf
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00401f99
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004024c6
push dword [ebp - 0x48]
call fcn.00403b98
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.00401fdf
mov eax, ebx
jmp 0x40189e
or ecx, edx
je 0x4016f4
mov ecx, dword [0x430550]
mov dword [ebp - 0x14], ecx
call fcn.00403ce1
mov eax, dword [ebp - 0x14]
push dword [eax]
push str.Cant_open_as_archive
call edi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.00403ce1
mov ecx, dword [esi + 0x138]
lea eax, [esi + 0x138]
or ecx, dword [eax + 4]
je 0x401729
mov ecx, dword [0x430550]
mov dword [ebp - 0x14], ecx
call fcn.00403ce1
mov eax, dword [ebp - 0x14]
push dword [eax]
push str.Archive_Errors
call edi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.00403ce1
mov eax, dword [esi + 0x158]
or eax, dword [esi + 0x15c]
je 0x40176e
mov ecx, dword [0x430550]
mov dword [ebp - 0x14], ecx
call fcn.00403ce1
mov eax, dword [ebp - 0x14]
push dword [eax]
push str.Sub_items_Errors:
call edi
pop ecx
pop ecx
push dword [esi + 0x15c]
mov ecx, dword [ebp - 0x14]
push dword [esi + 0x158]
call fcn.00403fc8
mov ecx, eax
call fcn.00403ce1
mov eax, dword [esi + 0x148]
or eax, dword [esi + 0x14c]
je 0x4017b3
mov ecx, dword [0x430550]
mov dword [ebp - 0x14], ecx
call fcn.00403ce1
mov eax, dword [ebp - 0x14]
push dword [eax]
push str.Open_Errors:
call edi
pop ecx
pop ecx
push dword [esi + 0x14c]
mov ecx, dword [ebp - 0x14]
push dword [esi + 0x148]
call fcn.00403fc8
mov ecx, eax
call fcn.00403ce1
push dword [ebp - 0x30]
call fcn.00403b98
pop ecx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x144]
call fcn.004019e5
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x4017d9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4017ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.00401fdf
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00401fdf
push dword [ebp - 0x7c]
call fcn.00403b98
push dword [ebp - 0xa4]
call fcn.00403b98
pop ecx
pop ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x15
call fcn.00401fdf
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00401f99
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004024c6
push dword [ebp - 0x48]
call fcn.00403b98
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401fdf
push 2
pop eax
jmp 0x40189e
lea eax, [ebp - 0x70]
push 0x42bc68
push eax
mov dword [ebp - 0x70], 0x80004001
call sub.MSVCRT.dll__CxxThrowException
call fcn.00401e69
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.004024c6
push dword [ebp - 0x48]
call fcn.00403b98
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x3c]
call fcn.00401fdf
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret