Function at 0x401640
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4431c9
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x454100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
xor eax, eax
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
call fcn.0041f130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
xor eax, eax
mov byte [ebp - 0x31a], 0
mov byte [ebp - 0x319], 0
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], eax
call fcn.0041f130
xor eax, eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x32c]
call fcn.0041f0d0
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x32c]
call fcn.00416940
mov byte [ebp - 4], 2
push dword [ebp - 0x32c]
call fcn.0044037e
mov ebx, dword [ebp - 0x24c]
add esp, 4
mov edi, dword [ebp - 0x250]
test ebx, ebx
je 0x40175e
mov esi, dword [edi]
test esi, esi
je 0x401742
push dword [esi]
call fcn.0044037e
push 0xc
push esi
call fcn.004403b3
add esp, 0xc
dec ebx
lea eax, [ebx*4]
push eax
lea eax, [edi + 4]
push eax
push edi
call sub.msvcrt.dll_memmove
add esp, 0xc
mov dword [ebp - 0x24c], ebx
xor esi, esi
test ebx, ebx
je 0x401839
jmp 0x401770
mov ecx, dword [edi + esi*4]
mov edi, dword [ecx + 4]
cmp edi, 1
jbe 0x401829
mov ecx, dword [ecx]
cmp word [ecx], 0x2d
jne 0x401829
movzx edx, word [ecx + 2]
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x4017a0
lea eax, [edx + 0x20]
movzx eax, ax
jmp 0x4017a2
mov eax, edx
cmp ax, 0x79
jne 0x4017e0
mov byte [ebp - 0x31a], 1
cmp edi, 2
je 0x401829
cmp byte [0x45afa8], 0
jne 0x4017d1
push 0x10
push 0x44a774
push str.Bad_command
push 0
call dword [0x448960]
mov dword [ebp - 0x320], 1
jmp 0x4021b3
cmp ax, 0x6f
jne 0x401814
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x268]
call fcn.0041f260
lea eax, [ebp - 0x268]
push eax
call fcn.00420a90
add esp, 4
cmp dword [ebp - 0x264], 0
setne byte [ebp - 0x319]
jmp 0x401829
cmp ax, 0x70
jne 0x401829
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x280]
call fcn.0041f260
inc esi
cmp esi, ebx
jae 0x401839
mov edi, dword [ebp - 0x250]
jmp 0x401770
mov al, byte [ebp - 0x31a]
lea ecx, [ebp - 0x25c]
mov byte [0x45afa8], al
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
call fcn.0041f130
mov byte [ebp - 4], 4
xor ecx, ecx
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x258], 0
push 0x105
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push dword [0x45afac]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
ja 0x4018ba
test eax, eax
je 0x4018ba
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041f260
xor eax, eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
call fcn.0041f130
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x25c]
call fcn.00421110
add esp, 8
test al, al
jne 0x401921
cmp byte [0x45afa8], al
jne 0x401912
push 0x10
push 0x44a774
push str.Error_1329484
push 0
call dword [0x448960]
mov dword [ebp - 0x320], 1
jmp 0x40219a
push 0x18
call fcn.00440383
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x334], edi
mov dword [edi + 0x14], eax
mov dword [edi + 4], eax
mov dword [edi], vtable.CCodecs.0
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov word [edi + 0x14], ax
mov byte [ebp - 4], 6
mov eax, dword [edi]
push edi
mov dword [ebp - 0x314], edi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x447370]
call esi
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00409d90
test eax, eax
je 0x4019d2
lea ecx, [ebp - 0x32c]
cmp eax, 0x8007000e
jne 0x401990
mov edx, 0xbb8
call fcn.00411380
jmp 0x401997
mov edx, eax
call fcn.00417900
cmp byte [0x45afa8], 0
jne 0x4019b5
push 0x10
push 0x44a774
push dword [ebp - 0x32c]
push 0
call dword [0x448960]
push dword [ebp - 0x32c]
call fcn.0044037e
add esp, 4
mov dword [ebp - 0x320], 1
jmp 0x402186
push 0xa0
call fcn.00440383
mov esi, eax
mov dword [ebp - 0x330], esi
push 0xa0
push 0
push esi
mov byte [ebp - 4], 8
call sub.msvcrt.dll_memset
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x24]
add esp, 0x10
mov dword [esi], vtable.CExtractCallbackImp.3.0
mov dword [esi + 4], vtable.CExtractCallbackImp.4.0
mov dword [esi + 8], vtable.CExtractCallbackImp.0
mov dword [esi + 0xc], vtable.CExtractCallbackImp.2.0
mov dword [esi + 0x10], vtable.CExtractCallbackImp.1.0
mov dword [esi + 0x1a], 0x1000000
mov dword [esi + 0x1e], 0
mov byte [esi + 0x22], 0
call fcn.0041f130
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call fcn.0041f130
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0041f130
mov byte [ebp - 4], 0xb
lea edi, [esi + 0x58]
mov ecx, edi
mov dword [esi + 0x50], 0
mov word [esi + 0x54], 0
call fcn.0041f130
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xc
call fcn.0041f130
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xd
call fcn.0041f130
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xe
call fcn.0041f130
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 0xf
call fcn.0041f130
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 0x10
call fcn.0041f130
mov byte [ebp - 4], 0x11
mov eax, dword [esi]
push esi
mov dword [ebp - 0x318], esi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x447370]
call esi
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x330]
mov ecx, esi
call fcn.0040fa60
cmp dword [ebp - 0x27c], 0
mov ecx, edi
setne al
mov byte [esi + 0x21], al
lea eax, [ebp - 0x280]
push eax
call fcn.0041f160
mov dword [ebp - 0x2dc], 0
mov word [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c4], 0x10000
mov dword [ebp - 0x2c0], 0x10000
mov dword [ebp - 0x2bb], 0
mov word [ebp - 0x2b6], 0
mov dword [ebp - 0x2b4], 0xffffffff
mov dword [ebp - 0x2b0], 0xffffffff
mov byte [ebp - 0x2bc], 1
mov byte [ebp - 0x2b7], 1
call fcn.0041f130
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x13
call fcn.0041f130
mov dword [ebp - 0x294], 0
xor eax, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
call fcn.0041f130
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 0x15
push eax
push dword [ebp - 0x25c]
call fcn.00421050
add esp, 8
test al, al
jne 0x401bff
cmp byte [0x45afa8], al
jne 0x401bf0
push 0x10
push 0x44a774
push str.Error_1329485
push 0
call dword [0x448960]
mov dword [ebp - 0x320], 1
jmp 0x402148
cmp byte [ebp - 0x319], 0
lea eax, [ebp - 0x268]
jne 0x401c14
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.0041f160
mov cl, byte [ebp - 0x31a]
xor eax, eax
test cl, cl
mov byte [ebp - 0x292], cl
mov dword [ebp - 0x2d4], 0
setne al
mov byte [ebp - 0x291], 0
mov dword [ebp - 0x2d0], eax
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x17
call fcn.00402770
push 0xc
call fcn.00440383
add esp, 4
mov dword [ebp - 0x320], eax
xor ecx, ecx
mov byte [ebp - 4], 0x18
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x274]
push ecx
mov ecx, eax
call fcn.0041efc0
mov byte [ebp - 4], 0x17
mov edx, eax
mov ecx, dword [ebp - 0x240]
lea eax, [ecx + 1]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x244]
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0x238]
call fcn.00402770
push 0xc
call fcn.00440383
add esp, 4
mov dword [ebp - 0x320], eax
xor ecx, ecx
mov byte [ebp - 4], 0x19
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x274]
push ecx
mov ecx, eax
call fcn.0041efc0
mov byte [ebp - 4], 0x17
mov edx, eax
mov ecx, dword [ebp - 0x234]
push 0x34
push 0
lea eax, [ecx + 1]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x238]
mov dword [eax + ecx*4], edx
lea eax, [ebp - 0x310]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x310], 0
lea ecx, [ebp - 0x30c]
call fcn.0041f130
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push 0x449bcc
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x1b
call fcn.0041f0d0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x1c
call fcn.00402770
push 0xc
call fcn.00440383
add esp, 4
mov dword [ebp - 0x320], eax
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x32c]
push ecx
mov ecx, eax
call fcn.0041efc0
mov ecx, dword [ebp - 0x228]
mov edx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 0x1b
mov dword [eax + ecx*4], edx
push dword [ebp - 0x32c]
call fcn.0044037e
add esp, 4
mov dword [ebp - 0x220], 0x1010100
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x310]
push 0xffffffffffffffff
push eax
push 1
call fcn.00421290
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x401e87
mov eax, dword [ebp - 0x22c]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x401e83
push dword [edi]
call fcn.0044037e
push 0xc
push edi
call fcn.004403b3
add esp, 0xc
test esi, esi
jne 0x401e63
push dword [ebp - 0x22c]
call fcn.0044037e
mov byte [ebp - 0x319], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
cmp byte [ebp - 0x31a], 0
lea eax, [ebp - 0x319]
mov ecx, dword [ebp - 0x334]
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 0x1f
mov edi, dword [ebp - 0x330]
push edi
push eax
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.004161d0
mov esi, dword [ebp - 0x224]
add esp, 0x24
mov dword [ebp - 0x320], eax
test esi, esi
je 0x401f58
lea esp, [esp]
mov eax, dword [ebp - 0x228]
dec esi
push 0x20
push dword [eax + esi*4]
call fcn.004403b3
add esp, 8
test esi, esi
jne 0x401f40
push dword [ebp - 0x228]
call fcn.0044037e
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x32c]
call fcn.0044037e
mov esi, dword [ebp - 0x320]
add esp, 8
test esi, esi
jne 0x401f92
cmp dword [edi + 0x4c], esi
jne 0x401fec
cmp byte [edi + 0x1f], 0
jne 0x401fec
mov dword [ebp - 0x320], esi
jmp 0x401ff6
cmp esi, 0x80004004
jne 0x401fa6
mov dword [ebp - 0x320], 0xff
jmp 0x401ff6
cmp byte [ebp - 0x319], 0
jne 0x401fda
cmp esi, 1
jne 0x401fd3
cmp byte [0x45afa8], 0
jne 0x401fec
push 0x10
push 0x44a774
push str.Error_in_archive
push 0
call dword [0x448960]
jmp 0x401fec
mov ecx, esi
call fcn.004015d0
mov dword [ebp - 0x320], 8
cmp esi, 0x8007000e
je 0x401ff6
mov dword [ebp - 0x320], 2
mov esi, dword [ebp - 0x2e4]
test esi, esi
je 0x402024
mov eax, dword [ebp - 0x2e8]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x402020
mov ecx, edi
call fcn.00401310
push 0x10
push edi
call fcn.004403b3
add esp, 8
test esi, esi
jne 0x402000
push dword [ebp - 0x2e8]
call fcn.0044037e
mov esi, dword [ebp - 0x2f0]
add esp, 4
test esi, esi
je 0x402064
lea esp, [esp]
mov eax, dword [ebp - 0x2f4]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x402060
mov ecx, edi
call fcn.00401310
push 0x10
push edi
call fcn.004403b3
add esp, 8
test esi, esi
jne 0x402040
push dword [ebp - 0x2f4]
call fcn.0044037e
mov esi, dword [ebp - 0x2fc]
add esp, 4
test esi, esi
je 0x4020a4
lea esp, [esp]
mov eax, dword [ebp - 0x300]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x4020a0
mov ecx, edi
call fcn.00402240
push 0x34
push edi
call fcn.004403b3
add esp, 8
test esi, esi
jne 0x402080
push dword [ebp - 0x300]
call fcn.0044037e
push dword [ebp - 0x30c]
call fcn.0044037e
mov esi, dword [ebp - 0x234]
add esp, 8
test esi, esi
je 0x4020f4
jmp 0x4020d0
mov eax, dword [ebp - 0x238]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x4020f0
push dword [edi]
call fcn.0044037e
push 0xc
push edi
call fcn.004403b3
add esp, 0xc
test esi, esi
jne 0x4020d0
push dword [ebp - 0x238]
call fcn.0044037e
mov esi, dword [ebp - 0x240]
add esp, 4
test esi, esi
je 0x402134
lea esp, [esp]
mov eax, dword [ebp - 0x244]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x402130
push dword [edi]
call fcn.0044037e
push 0xc
push edi
call fcn.004403b3
add esp, 0xc
test esi, esi
jne 0x402110
push dword [ebp - 0x244]
call fcn.0044037e
mov esi, dword [ebp - 0x330]
add esp, 4
push dword [ebp - 0x28c]
call fcn.0044037e
push dword [ebp - 0x2a0]
call fcn.0044037e
push dword [ebp - 0x2ac]
call fcn.0044037e
add esp, 0xc
mov byte [ebp - 4], 0x20
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x447370]
call esi
mov edi, dword [ebp - 0x334]
mov byte [ebp - 4], 0x21
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x447370]
call esi
push dword [ebp - 0x274]
call fcn.0044037e
push dword [ebp - 0x25c]
call fcn.0044037e
add esp, 8
mov edi, dword [ebp - 0x250]
test ebx, ebx
je 0x4021df
lea ecx, [ecx]
mov esi, dword [edi + ebx*4 - 4]
dec ebx
test esi, esi
je 0x4021db
push dword [esi]
call fcn.0044037e
push 0xc
push esi
call fcn.004403b3
add esp, 0xc
test ebx, ebx
jne 0x4021c0
push edi
call fcn.0044037e
push dword [ebp - 0x268]
call fcn.0044037e
push dword [ebp - 0x280]
call fcn.0044037e
mov eax, dword [ebp - 0x320]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00440370
mov esp, ebp
pop ebp
ret