Function at 0x401039
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x41e3c1
call fcn.0041d870
sub esp, 0xf8
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
lea ecx, [ebp - 0x84]
call fcn.00401b7a
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
mov byte [ebp - 0xe], bl
mov byte [ebp - 0x10], bl
call fcn.00401b7a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00412892
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401b9a
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402b26
push dword [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00402dbe
cmp dword [ebp - 0x20], ebx
pop ecx
jle 0x4010bc
push 1
push ebx
lea ecx, [ebp - 0x24]
call fcn.00401b17
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
jle 0x4011d5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, 0x4270f0
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi]
call fcn.00402e9d
cmp eax, ebx
jne 0x4010ea
mov byte [ebp - 0xe], 1
jmp 0x4011c6
push 2
lea eax, [ebp - 0x30]
pop edi
mov ecx, esi
push edi
push eax
call fcn.00401ca1
mov ecx, dword [eax]
mov edx, 0x4270e8
mov byte [ebp - 4], 4
call fcn.00402e9d
push dword [ebp - 0x30]
cmp eax, ebx
sete byte [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00402dbe
cmp byte [ebp - 0xd], bl
pop ecx
push edi
je 0x40115e
lea eax, [ebp - 0xc4]
mov ecx, esi
push eax
call fcn.00401c80
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.00401c42
push dword [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00402dbe
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00404f31
cmp dword [ebp - 0x74], ebx
setne byte [ebp - 0x10]
jmp 0x4011c6
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call fcn.00401ca1
mov ecx, dword [eax]
mov edx, 0x4270e0
mov byte [ebp - 4], 6
call fcn.00402e9d
push dword [ebp - 0xb8]
cmp eax, ebx
sete byte [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00402dbe
cmp byte [ebp - 0xd], bl
pop ecx
je 0x4011c6
lea eax, [ebp - 0xd0]
push edi
push eax
mov ecx, esi
call fcn.00401c80
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 7
call fcn.00401c42
push dword [ebp - 0xd0]
mov byte [ebp - 4], 2
call fcn.00402dbe
pop ecx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x4010c8
lea ecx, [ebp - 0x60]
call fcn.00401b7a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.00403b60
lea ecx, [ebp - 0x6c]
call fcn.00401b7a
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.00404243
test al, al
jne 0x40123f
mov edx, str.Error_1329484
xor ecx, ecx
call fcn.0041837c
push dword [ebp - 0x6c]
call fcn.00402dbe
push dword [ebp - 0x60]
call fcn.00402dbe
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
call fcn.00401ae2
push dword [ebp - 0x24]
call fcn.00402dbe
pop ecx
push 1
pop ebx
jmp 0x40169f
push 0x18
call fcn.00402d97
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x40125d
mov ecx, eax
call fcn.004017dd
mov esi, eax
jmp 0x40125f
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 9
mov dword [ebp - 0xac], esi
je 0x401273
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0040b277
cmp eax, ebx
je 0x4012b2
mov ecx, eax
call fcn.00401000
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x401297
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x6c]
call fcn.00402dbe
push dword [ebp - 0x60]
call fcn.00402dbe
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
jmp 0x401226
push 0x54
call fcn.00402d97
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x4012d0
mov ecx, eax
call fcn.00401887
mov edi, eax
jmp 0x4012d2
xor edi, edi
cmp edi, ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], edi
je 0x4012e3
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.0040cc53
cmp dword [ebp - 0x80], ebx
lea ecx, [edi + 0x48]
setne al
mov byte [edi + 0x44], al
lea eax, [ebp - 0x84]
push eax
call fcn.00401c42
lea ecx, [ebp - 0xa8]
call fcn.00401851
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.00401b7a
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
call fcn.004044bf
test al, al
jne 0x40138b
mov edx, 0x4270a8
xor ecx, ecx
call fcn.0041837c
push dword [ebp - 0x54]
call fcn.00402dbe
push dword [ebp - 0x98]
call fcn.00402dbe
mov eax, dword [ebp - 0x18]
pop ecx
cmp eax, ebx
pop ecx
mov byte [ebp - 4], 0xc
je 0x401362
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x401370
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x6c]
call fcn.00402dbe
push dword [ebp - 0x60]
call fcn.00402dbe
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
jmp 0x401226
cmp byte [ebp - 0x10], bl
lea eax, [ebp - 0x78]
jne 0x401396
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x98]
call fcn.00401c42
mov al, byte [ebp - 0xe]
xor ecx, ecx
cmp al, bl
mov byte [ebp - 0xa6], al
setne cl
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xa5], bl
call fcn.00412892
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00412892
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x14
call fcn.00401a6c
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00401a6c
lea ecx, [ebp - 0x104]
call fcn.00401734
push 0x4270a4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call fcn.00401b9a
push 1
lea ecx, [ebp - 0x30]
pop eax
mov byte [ebp - 4], 0x16
push eax
push eax
push eax
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.00403571
push dword [ebp - 0x30]
call fcn.00402dbe
pop ecx
mov byte [ebp - 0xf], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp byte [ebp - 0xe], bl
push ebx
lea eax, [ebp - 0xf]
push edi
push eax
lea edx, [ebp - 0x30]
sete al
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.0040248f
push dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x15
call fcn.00402dbe
pop ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x4015a5
cmp dword [edi + 0x38], ebx
jne 0x401499
cmp byte [edi + 0x3c], bl
je 0x401534
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00401764
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
call fcn.00401ae2
push dword [ebp - 0x3c]
call fcn.00402dbe
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x19
call fcn.00401ae2
push dword [ebp - 0x48]
call fcn.00402dbe
push dword [ebp - 0x54]
call fcn.00402dbe
push dword [ebp - 0x98]
call fcn.00402dbe
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4014f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x401506
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x6c]
call fcn.00402dbe
push dword [ebp - 0x60]
call fcn.00402dbe
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call fcn.00401ae2
push dword [ebp - 0x24]
call fcn.00402dbe
pop ecx
push 2
jmp 0x401239
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00401764
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1b
call fcn.00401ae2
push dword [ebp - 0x3c]
call fcn.00402dbe
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1c
call fcn.00401ae2
push dword [ebp - 0x48]
call fcn.00402dbe
push dword [ebp - 0x54]
call fcn.00402dbe
push dword [ebp - 0x98]
call fcn.00402dbe
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.0040a915
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x401681
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x401681
cmp ecx, 0x80004004
jne 0x40160a
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00401764
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00401ab3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.00401ab3
push dword [ebp - 0x54]
call fcn.00402dbe
push dword [ebp - 0x98]
call fcn.00402dbe
pop ecx
mov byte [ebp - 4], 0xc
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040a915
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x401603
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ebx, 0xff
jmp 0x401681
cmp byte [ebp - 0xf], bl
jne 0x4016ca
cmp ecx, 1
jne 0x4016c5
mov edx, str.Error_in_archive
xor ecx, ecx
call fcn.0041837c
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00401764
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00401ab3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.00401ab3
push dword [ebp - 0x54]
call fcn.00402dbe
push dword [ebp - 0x98]
call fcn.00402dbe
pop ecx
mov byte [ebp - 4], 0xc
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040a915
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x40167e
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 2
pop ebx
push dword [ebp - 0x6c]
call fcn.00402dbe
push dword [ebp - 0x60]
call fcn.00402dbe
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00401ab3
push dword [ebp - 0x78]
call fcn.00402dbe
push dword [ebp - 0x84]
call fcn.00402dbe
pop ecx
mov eax, ebx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
call fcn.00401000
cmp dword [ebp - 0x14], 0x8007000e
jne 0x401628
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00401764
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.00401ab3
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.00401ab3
push dword [ebp - 0x54]
call fcn.00402dbe
push dword [ebp - 0x98]
call fcn.00402dbe
pop ecx
mov byte [ebp - 4], 0xc
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040a915
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x40172d
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 8
jmp 0x401680