Function at 0x401d70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ca1b
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x45c00c]
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]
push str.comctl32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x401e1c
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x401e15
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], esi
push eax
mov ecx, ebx
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x230], 0x14
call dword [0x4502ac]
call ebx
test eax, eax
js 0x401e15
movzx esi, word [ebp - 0x22c]
movzx eax, word [ebp - 0x228]
shl esi, 0x10
or esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x40047
mov dword [0x45d8dc], esi
push 8
setae byte [0x45c034]
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
push 8
mov byte [ebp - 0x30e], cl
mov byte [ebp - 0x30d], cl
call fcn.00449b46
mov ebx, eax
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x23c], ebx
add esp, 8
mov dword [ebp - 0x234], 3
mov word [ebx], ax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
xor esi, esi
cmp word [edi], si
je 0x401ebc
inc esi
cmp word [edi + esi*2], 0
jne 0x401eb4
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x228], eax
push ecx
push edi
push eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
call sub.msvcrt.dll_memcpy
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.0041d380
mov byte [ebp - 4], 2
push dword [ebp - 0x228]
call fcn.00449b03
mov edi, dword [ebp - 0x244]
add esp, 0x14
test edi, edi
je 0x401f67
mov ecx, dword [ebp - 0x248]
mov esi, dword [ecx]
test esi, esi
je 0x401f4b
push dword [esi]
call fcn.00449b03
push 0xc
push esi
call fcn.00449b38
mov ecx, dword [ebp - 0x248]
add esp, 0xc
dec edi
lea eax, [edi*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov dword [ebp - 0x244], edi
xor esi, esi
test edi, edi
je 0x40207e
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x318], eax
cmp eax, 1
jbe 0x402075
mov ecx, dword [ecx]
cmp word [ecx], 0x2d
jne 0x402075
movzx edx, word [ecx + 2]
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x401fad
lea eax, [edx + 0x20]
movzx eax, ax
jmp 0x401faf
mov eax, edx
cmp ax, 0x79
jne 0x401fec
cmp dword [ebp - 0x318], 2
mov byte [ebp - 0x30e], 1
je 0x402075
push 0x10
push 0x452f54
push str.Bad_command
push 0
call dword [0x4512d8]
mov dword [ebp - 0x314], 1
jmp 0x402aaa
cmp ax, 0x6f
jne 0x402060
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x23c]
call fcn.004217a0
mov eax, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x23c]
test eax, eax
je 0x402057
movzx ecx, word [ebx + eax*2 - 2]
cmp ecx, 0x5c
je 0x402055
cmp ecx, 0x2f
je 0x402055
cmp dword [ebp - 0x234], eax
jne 0x40203f
lea ecx, [ebp - 0x23c]
call fcn.00421600
mov eax, dword [ebp - 0x238]
mov ebx, dword [ebp - 0x23c]
mov ecx, 0x5c
mov word [ebx + eax*2], cx
inc eax
xor ecx, ecx
mov dword [ebp - 0x238], eax
mov word [ebx + eax*2], cx
test eax, eax
setne byte [ebp - 0x30d]
jmp 0x402075
cmp ax, 0x70
jne 0x402075
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x278]
call fcn.004217a0
inc esi
cmp esi, edi
jb 0x401f71
push 8
call fcn.00449b46
mov esi, eax
mov dword [ebp - 0x264], 3
add esp, 4
mov dword [ebp - 0x26c], esi
mov byte [ebp - 4], 4
xor eax, eax
mov word [esi], ax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push 0x105
push eax
push dword [0x45d450]
mov dword [ebp - 0x268], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
ja 0x40214a
test eax, eax
je 0x40214a
xor eax, eax
cmp word [ebp - 0x21c], ax
je 0x40212c
inc eax
mov ebx, eax
cmp word [ebp + eax*2 - 0x21c], 0
jne 0x4020e2
cmp ebx, 3
jbe 0x40212c
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x26c]
mov esi, eax
call fcn.00449b03
add esp, 8
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x264], ebx
mov eax, ebx
mov dword [ebp - 0x268], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 8
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 3
mov word [eax], cx
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 5
push eax
mov edx, esi
call fcn.004221c0
add esp, 8
test al, al
jne 0x4021ac
push 0x10
push 0x452f54
push str.Error_1329484
push 0
call dword [0x4512d8]
mov dword [ebp - 0x314], 1
jmp 0x402a90
push 0x18
call fcn.00449b08
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x318], ebx
mov dword [ebx + 0x14], eax
mov dword [ebx + 4], eax
mov dword [ebx], vtable.CCodecs.0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov word [ebx + 0x14], ax
mov byte [ebp - 4], 6
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x308], ebx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4502ac]
call esi
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.0040cb90
test eax, eax
je 0x402254
lea ecx, [ebp - 0x324]
cmp eax, 0x8007000e
jne 0x40221b
mov edx, 0xbb8
call fcn.00416920
jmp 0x402222
mov edx, eax
call fcn.0041e390
push 0x10
push 0x452f54
push dword [ebp - 0x324]
push 0
call dword [0x4512d8]
push dword [ebp - 0x324]
call fcn.00449b03
add esp, 4
mov dword [ebp - 0x314], 1
jmp 0x402a76
push 0xa4
call fcn.00449b08
mov esi, eax
mov dword [ebp - 0x328], esi
push 0xa4
push 0
push esi
mov byte [ebp - 4], 9
call sub.msvcrt.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.00401b80
mov ebx, eax
mov dword [ebp - 0x328], ebx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x30c], ebx
test ebx, ebx
je 0x4022a7
mov ecx, dword [ebx]
push ebx
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x4502ac]
call esi
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.004144b0
mov ecx, dword [ebp - 0x274]
test ecx, ecx
setne al
mov byte [ebx + 0x54], al
add ebx, 0x58
lea eax, [ebp - 0x278]
cmp eax, ebx
je 0x40231d
cmp ecx, dword [ebx + 8]
jbe 0x402302
lea eax, [ecx + 1]
mov edx, 2
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebx]
mov esi, eax
call fcn.00449b03
mov ecx, dword [ebp - 0x274]
add esp, 8
mov dword [ebx], esi
mov dword [ebx + 8], ecx
lea eax, [ecx*2 + 2]
mov dword [ebx + 4], ecx
push eax
push dword [ebp - 0x278]
push dword [ebx]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 8
mov dword [ebp - 0x2d0], 0
mov word [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 3
mov word [eax], cx
mov byte [ebp - 4], 0xc
push 8
mov dword [ebp - 0x2b0], 0x10000
mov dword [ebp - 0x2ac], 0x10000
mov dword [ebp - 0x2a7], ecx
mov word [ebp - 0x2a2], cx
mov byte [ebp - 0x2a8], 1
mov byte [ebp - 0x2a3], 1
mov dword [ebp - 0x2a0], ecx
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 3
mov word [eax], cx
mov dword [ebp - 0x294], ecx
push 8
mov byte [ebp - 4], 0xd
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 3
mov word [eax], cx
push 8
mov byte [ebp - 4], 0xe
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 3
mov word [eax], cx
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x26c]
lea edx, [ebp - 0x284]
push eax
call fcn.00422b00
mov byte [ebp - 4], 0xe
mov bl, al
push dword [ebp - 0x228]
call fcn.00449b03
add esp, 0x18
test bl, bl
jne 0x40248e
push 0x10
push 0x452f54
push str.Error_1329485
push 0
call dword [0x4512d8]
mov dword [ebp - 0x314], 1
jmp 0x402a32
cmp byte [ebp - 0x30d], 0
je 0x4024a5
mov eax, dword [ebp - 0x23c]
lea esi, [ebp - 0x23c]
jmp 0x4024b1
mov eax, dword [ebp - 0x284]
lea esi, [ebp - 0x284]
mov esi, dword [esi + 4]
mov dword [ebp - 0x314], eax
cmp esi, dword [ebp - 0x2b4]
jbe 0x4024f9
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x2bc]
mov ebx, eax
call fcn.00449b03
add esp, 8
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b4], esi
jmp 0x4024ff
mov ebx, dword [ebp - 0x2bc]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x2b8], esi
push eax
push dword [ebp - 0x314]
push ebx
call sub.msvcrt.dll_memcpy
mov cl, byte [ebp - 0x30e]
xor eax, eax
add esp, 0xc
mov byte [ebp - 0x292], cl
test cl, cl
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 0x291], 0
setne al
mov dword [ebp - 0x2c4], eax
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x12
call fcn.00403240
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x260]
call fcn.00403190
lea ecx, [ebp - 0x254]
call fcn.00403240
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x254]
call fcn.00403190
push 0x34
lea eax, [ebp - 0x304]
push 0
push eax
call sub.msvcrt.dll_memset
push 8
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
call fcn.00449b46
xor ecx, ecx
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], 0
add esp, 0x10
mov dword [ebp - 0x2f8], 3
mov word [eax], cx
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 0x14
xor ebx, ebx
jmp 0x402650
inc ebx
cmp word [ebx*2 + 0x451314], 0
jne 0x402650
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
lea ecx, [ebx*2 + 2]
mov dword [ebp - 0x320], ebx
push ecx
mov esi, eax
mov dword [ebp - 0x31c], ebx
push 0x451314
push esi
mov dword [ebp - 0x324], esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x15
call fcn.00403240
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00403190
push esi
mov byte [ebp - 4], 0x14
call fcn.00449b03
add esp, 4
mov dword [ebp - 0x220], 0x1010100
lea eax, [ebp - 0x22c]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x304]
call fcn.004232d0
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x40271a
mov eax, dword [ebp - 0x22c]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x402716
push dword [ebx]
call fcn.00449b03
push 0xc
push ebx
call fcn.00449b38
add esp, 0xc
test esi, esi
jne 0x4026f6
push dword [ebp - 0x22c]
call fcn.00449b03
mov byte [ebp - 0x30d], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
cmp byte [ebp - 0x30e], 0
lea eax, [ebp - 0x30d]
mov ecx, dword [ebp - 0x318]
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 0x17
push dword [ebp - 0x328]
push eax
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.0041ca00
mov esi, dword [ebp - 0x224]
add esp, 0x24
mov ebx, eax
test esi, esi
je 0x4027e8
lea ebx, [ebx]
mov ecx, dword [ebp - 0x228]
dec esi
push 0x20
push dword [ecx + esi*4]
call fcn.00449b38
add esp, 8
test esi, esi
jne 0x4027d0
push dword [ebp - 0x228]
call fcn.00449b03
mov byte [ebp - 4], 0x13
push dword [ebp - 0x324]
call fcn.00449b03
add esp, 8
test ebx, ebx
jne 0x402843
mov eax, dword [ebp - 0x328]
cmp dword [eax + 0x48], ebx
jne 0x40282e
cmp byte [eax + 0x4c], bl
jne 0x40282e
mov al, 1
movzx eax, al
xor eax, 1
add eax, eax
mov dword [ebp - 0x314], eax
jmp 0x4028de
xor al, al
movzx eax, al
xor eax, 1
add eax, eax
mov dword [ebp - 0x314], eax
jmp 0x4028de
cmp ebx, 0x80004004
jne 0x40285a
mov dword [ebp - 0x314], 0xff
jmp 0x4028de
cmp byte [ebp - 0x30d], 0
jne 0x4028c2
cmp ebx, 1
jne 0x40287e
push 0x10
push 0x452f54
push str.Error_in_archive
push 0
call dword [0x4512d8]
jmp 0x4028d4
lea ecx, [ebp - 0x324]
cmp ebx, 0x8007000e
jne 0x402898
mov edx, 0xbb8
call fcn.00416920
jmp 0x40289f
mov edx, ebx
call fcn.0041e390
push 0x10
push 0x452f54
push dword [ebp - 0x324]
push 0
call dword [0x4512d8]
push dword [ebp - 0x324]
call fcn.00449b03
add esp, 4
mov dword [ebp - 0x314], 8
cmp ebx, 0x8007000e
je 0x4028de
mov dword [ebp - 0x314], 2
mov esi, dword [ebp - 0x2d8]
test esi, esi
je 0x402914
jmp 0x4028f0
mov eax, dword [ebp - 0x2dc]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x402910
mov ecx, ebx
call fcn.004018e0
push 0x10
push ebx
call fcn.00449b38
add esp, 8
test esi, esi
jne 0x4028f0
push dword [ebp - 0x2dc]
call fcn.00449b03
mov esi, dword [ebp - 0x2e4]
add esp, 4
test esi, esi
je 0x402954
lea esp, [esp]
mov eax, dword [ebp - 0x2e8]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x402950
mov ecx, ebx
call fcn.004018e0
push 0x10
push ebx
call fcn.00449b38
add esp, 8
test esi, esi
jne 0x402930
push dword [ebp - 0x2e8]
call fcn.00449b03
mov esi, dword [ebp - 0x2f0]
add esp, 4
test esi, esi
je 0x402994
lea esp, [esp]
mov eax, dword [ebp - 0x2f4]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x402990
mov ecx, ebx
call fcn.00402b40
push 0x34
push ebx
call fcn.00449b38
add esp, 8
test esi, esi
jne 0x402970
push dword [ebp - 0x2f4]
call fcn.00449b03
push dword [ebp - 0x300]
call fcn.00449b03
mov esi, dword [ebp - 0x250]
add esp, 8
test esi, esi
je 0x4029e4
jmp 0x4029c0
mov eax, dword [ebp - 0x254]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x4029e0
push dword [ebx]
call fcn.00449b03
push 0xc
push ebx
call fcn.00449b38
add esp, 0xc
test esi, esi
jne 0x4029c0
push dword [ebp - 0x254]
call fcn.00449b03
mov esi, dword [ebp - 0x25c]
add esp, 4
test esi, esi
je 0x402a24
lea esp, [esp]
mov eax, dword [ebp - 0x260]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x402a20
push dword [ebx]
call fcn.00449b03
push 0xc
push ebx
call fcn.00449b38
add esp, 0xc
test esi, esi
jne 0x402a00
push dword [ebp - 0x260]
call fcn.00449b03
add esp, 4
push dword [ebp - 0x284]
call fcn.00449b03
push dword [ebp - 0x2a0]
call fcn.00449b03
push dword [ebp - 0x2bc]
call fcn.00449b03
add esp, 0xc
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x328]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov ebx, dword [ebp - 0x318]
mov byte [ebp - 4], 0x1d
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4502ac]
call esi
mov esi, dword [ebp - 0x26c]
push dword [ebp - 0x290]
call fcn.00449b03
push esi
call fcn.00449b03
mov ebx, dword [ebp - 0x23c]
add esp, 8
test edi, edi
je 0x402ad9
mov eax, dword [ebp - 0x248]
mov esi, dword [eax + edi*4 - 4]
dec edi
test esi, esi
je 0x402ad5
push dword [esi]
call fcn.00449b03
push 0xc
push esi
call fcn.00449b38
mov eax, dword [ebp - 0x248]
add esp, 0xc
test edi, edi
jne 0x402ab4
push dword [ebp - 0x248]
call fcn.00449b03
push ebx
call fcn.00449b03
push dword [ebp - 0x278]
call fcn.00449b03
mov eax, dword [ebp - 0x314]
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.00449a40
mov esp, ebp
pop ebp
ret