Function at 0x459660
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b966
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x47d044]
xor eax, ebp
mov dword [ebp - 0x10], eax
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_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4596e7
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4596e0
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
push ecx
mov dword [ebp - 0x24], 0x14
call eax
test eax, eax
js 0x4596e0
movzx esi, word [ebp - 0x20]
movzx eax, word [ebp - 0x1c]
shl esi, 0x10
or esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x40047
mov dword [0x480c5c], esi
lea ecx, [ebp - 0x9c]
setae byte [0x47d03d]
call fcn.0040e9b0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x26], 0
call fcn.0040e9b0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040eb50
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040c090
push dword [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0045a446
add esp, 4
cmp dword [ebp - 0x38], 0
jbe 0x4597a3
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ecx]
test esi, esi
je 0x459788
push dword [esi]
call fcn.0045a446
push 0xc
push esi
call fcn.0045a42f
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ebp - 0x38]
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.0045d180
add esp, 0xc
dec dword [ebp - 0x38]
xor esi, esi
cmp dword [ebp - 0x38], esi
jbe 0x45984c
nop
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + esi*4]
mov edi, dword [ecx + 4]
cmp edi, 1
jbe 0x459842
mov ecx, dword [ecx]
cmp word [ecx], 0x2d
jne 0x459842
movzx edx, word [ecx + 2]
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x4597df
lea eax, [edx + 0x20]
movzx eax, ax
jmp 0x4597e1
mov eax, edx
cmp ax, 0x79
jne 0x459808
mov byte [ebp - 0x25], 1
cmp edi, 2
je 0x459842
push str.Bad_command
push 0
call fcn.004383b0
mov dword [ebp - 0x2c], 1
jmp 0x459c93
cmp ax, 0x6f
jne 0x45982d
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040ec60
lea eax, [ebp - 0x78]
push eax
call fcn.00416ea0
cmp dword [ebp - 0x74], 0
setne byte [ebp - 0x26]
jmp 0x459842
cmp ax, 0x70
jne 0x459842
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040ec60
inc esi
cmp esi, dword [ebp - 0x38]
jb 0x4597b0
lea ecx, [ebp - 0x90]
call fcn.0040e9b0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
call fcn.00413970
lea ecx, [ebp - 0x84]
call fcn.0040e9b0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x90]
call fcn.00414690
test al, al
jne 0x4598a4
push str.Error_1329484
push 0
call fcn.004383b0
mov dword [ebp - 0x2c], 1
jmp 0x459c7a
push 0x18
call fcn.0045a3fc
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4598e1
mov dword [esi + 4], 0
mov dword [esi], vtable.CCodecs.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
jmp 0x4598e3
xor esi, esi
mov dword [ebp - 0xe0], esi
test esi, esi
je 0x4598f3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00434c90
test eax, eax
je 0x459930
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043fc80
push dword [eax]
mov byte [ebp - 4], 7
push 0
call fcn.004383b0
push dword [ebp - 0x48]
call fcn.0045a446
add esp, 4
mov dword [ebp - 0x2c], 1
jmp 0x459c6c
push 0xa4
call fcn.0045a3fc
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x459956
mov ecx, eax
call fcn.00441890
mov edi, eax
mov dword [ebp - 0x30], eax
jmp 0x45995b
xor edi, edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 6
mov dword [ebp - 0xe4], edi
test edi, edi
je 0x45996f
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0043b750
cmp dword [ebp - 0x98], 0
lea ecx, [edi + 0x58]
setne al
mov byte [edi + 0x54], al
lea eax, [ebp - 0x9c]
push eax
call fcn.0040ece0
lea ecx, [ebp - 0x124]
call fcn.00441990
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.0040e9b0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x90]
call fcn.00414700
test al, al
jne 0x4599ec
push str.Error_1329485
push 0
call fcn.004383b0
mov dword [ebp - 0x2c], 1
jmp 0x459c3e
cmp byte [ebp - 0x26], 0
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x78]
cmove eax, ecx
lea ecx, [ebp - 0x110]
push eax
call fcn.0040ece0
mov cl, byte [ebp - 0x25]
xor eax, eax
test cl, cl
mov byte [ebp - 0xe6], cl
mov dword [ebp - 0x11c], 0
setne al
mov byte [ebp - 0xe5], 0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040c680
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040c680
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xdc], 0
call fcn.0040e9b0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x11
call fcn.00441c00
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
cmp byte [ebp - 0x25], 0
lea eax, [ebp - 0x27]
push 0
push edi
push eax
sete al
mov byte [ebp - 4], 0x13
movzx eax, al
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.00440d50
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x459b85
nop dword [eax + eax]
mov ecx, dword [ebp - 0x54]
dec edi
push 0x20
push dword [ecx + edi*4]
call fcn.0045a42f
add esp, 8
test edi, edi
jne 0x459b70
push dword [ebp - 0x54]
call fcn.0045a446
push dword [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.0045a446
mov edi, dword [ebp - 0x2c]
add esp, 8
test edi, edi
jne 0x459bb6
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x48], edi
jne 0x459bf5
cmp byte [eax + 0x4c], 0
jne 0x459bf5
mov dword [ebp - 0x2c], edi
jmp 0x459bfc
cmp edi, 0x80004004
jne 0x459bc7
mov dword [ebp - 0x2c], 0xff
jmp 0x459bfc
cmp byte [ebp - 0x27], 0
jne 0x459be6
cmp edi, 1
jne 0x459be0
push str.Error_in_archive
push 0
call fcn.004383b0
jmp 0x459bf5
push edi
call fcn.00445b50
mov dword [ebp - 0x2c], 8
cmp edi, 0x8007000e
je 0x459bfc
mov dword [ebp - 0x2c], 2
lea ecx, [ebp - 0xb4]
call fcn.00411460
lea ecx, [ebp - 0xc0]
call fcn.00411460
lea ecx, [ebp - 0xcc]
call fcn.004114e0
push dword [ebp - 0xd8]
call fcn.0045a446
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.00412760
lea ecx, [ebp - 0x6c]
call fcn.00412760
mov edi, dword [ebp - 0x30]
push dword [ebp - 0xa8]
call fcn.0045a446
push dword [ebp - 0xf4]
call fcn.0045a446
push dword [ebp - 0x110]
call fcn.0045a446
add esp, 0xc
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1c
call dword [eax + 8]
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x459c7a
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x84]
call fcn.0045a446
push dword [ebp - 0x90]
call fcn.0045a446
add esp, 8
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x459cc1
nop word [eax + eax]
mov eax, dword [ebp - 0x3c]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x459cbd
push dword [edi]
call fcn.0045a446
push 0xc
push edi
call fcn.0045a42f
add esp, 0xc
test esi, esi
jne 0x459ca0
push dword [ebp - 0x3c]
call fcn.0045a446
push dword [ebp - 0x78]
call fcn.0045a446
push dword [ebp - 0x9c]
call fcn.0045a446
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a230
mov esp, ebp
pop ebp
ret